Whenever I’m talking to someone interested in their first website and I tell them about paying a hosting company where the website will live, they’ll often ask, “Can I host my website on my own computer?” This is a great question and while ultimately the answer is no, it is worth looking at why.
The Esc key is not a convenient key to hit on the keyboard. While many will recommend you map another key to act as your Esc key, by default you can use Ctrl-[ instead.
When working with Git on the command line, I spend a lot of time switching back and forth between two branches. Even with Git tab completion, it is a lot of typing. However Git has a shortcut for the previous branch, a single dash (-).
The Allow / Block popup in Google Chrome is an all too familiar sight when browsing the web, however this can be prevented. We can change the setting to automatically Block all location requests (they will not be able to see your location) without seeing the popup.
Never use git push –force. Seriously, don’t use it. You should always use –force-with-lease instead. We’ll look at the problem with –force and how –force-with-lease addresses the issue.
Both HEAD^ and HEAD~ can be used in Git to refer to previous commits but in different ways.
Recently, I had the opportunity to work with some elementary students on their math fast facts (i.e. single-digit addition, subtraction, multiplication, and division). I noticed that I was able to keep the students much more engaged with one simple change.
By default Vim is the editor used when writing a Git commit message. While I love Vim, it does work very differently than most other editors. A good option for those who are not comfortable with Vim, is to use a different editor. This is how to setup Git to use a different editor.
The interactive rebase feature of Git is one of my favorites. I love being able to squash multiple commits into one commit or re-order my commits for clarity. My one complaint is the Git interactive rebase commit order is wrong (at least for the way my brain works).
When creating slides for my talks I use Reveal.js, which allows me to create slides using HTML. These are my general notes about creating presentations this way.