Skip to content

Tips

Handy tips always at your fingertips

A collection of 123 tips that come in real handy when you need them. Originally posted as tweets on my Twitter account, and now gathered here so you can browse them easily.

Companies That Provide Visa Sponsorship

💡 Are you looking for a job at a company that provides visa sponsorship? ✈️

👉🏼 This repo by @ScribblingOn is a collection of companies hiring from abroad.

If a company you know is not on the list, open a PR and contribute. 🤗

https://github.com/shubheksha/companies-sponsoring-visas

Read tip

Github Actions: Workflows vs Actions

💡 When starting out with Github Actions, some terms can be confusing. 🤔

*Workflows* are the starting point of everything. This is where you configure when and which jobs should run.

*Actions* are individual tasks you combine to create a job.

Read tip

How Big Tech Companies Test Code

💡 Do you want to get past tutorials and learn how testing is done in the real world?

📚 This curated collection by @AbhijeetVaikar of how major tech companies test their software is a great starting point!

https://github.com/abhivaikar/howtheytest

Read tip

Cron Jobs With Github Actions

💡 Did you know you can use @Github Actions to run cron jobs?

Cron jobs ⏰ are useful for all sorts of things. For example, you can have a workflow that backs up your database every day at midnight.

Example cronjob in Github Actions to backup a database once a day. Read tip

Manage Your Projects on Localhost

💡 Do you often have to juggle between different several/frontend apps on your machine?

👉🏼 Hotel by @typicode simplifies your development workflow by giving you a UI to start/stop your apps with the push of a button.

https://github.com/typicode/hotel

Read tip

Rename Default Branch on Github

💡 Git 2.28 introduced a global setting to rename the default branch from master to something less offensive.

You can also change this setting in your @Github account: "Settings" > "Repositories"

A good step towards a more inclusive tech. 🌈 💛

Rename default git branch with: git config --global init.defaultBranch <name>. Read tip

Debug SSH Connection Failures

💡 Connecting to a remote server or cloning a repository can sometimes fail with a cryptic message.

In such cases, it's useful to debug your SSH connection by using the "-v" flag:
➡️ ssh -v user@server

Read tip