The Allow / Block popup in Google Chrome is an all too familiar site 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 you location) without seeing the popup. How to Disable the “Know Your Location” 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.
One of my posts was shared and it did not have an image for the Twitter Card. After I added an image for the Twitter Card, I had to clear the cached version on Twitter so the image would appear in tweets. This is how I cleared the cache and updated the image in the URL for Twitter.
The PDF Toolbar that comes up in Google Chrome when displaying a PDF can be suppressed by modifying the URL.
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.
I do most of my work in Vim (or Neovim) in tmux inside of iTerm on my Mac. I found my color schemes were being properly applied in Neovim but not in Vim (version 8). Adding two lines to my .vimrc corrected the problem for me.