Category: How To - Page 9
-
Curl gzip Website
If you have ever tried to curl a website and it returns a bunch of unreadable characters? It is most likely a gzip /compressed response. Here is an example of a curl request to amazon.com which returns compressed...
-
Add Amazon Affiliate Code to Links
If you’re a blogger and not using Amazon affiliate links, you are missing out on a great extra source of income. Unlike ads, they do not affect your readers and allow them to find the items you are...
-
Register Global Vue Components using Webpack
If you have ever worked on a VueJs application, you probably have noticed there are several ways to register Vue components. You have the ability to manually register each component globally or locally. This will...
-
Repeating Keys in macOs
Have you ever noticed that in macOs you cannot hold down a key for it to repeat? If you ever had to repetitively type the same characters over and over this can be frustrating. Strangely in Windows, this is enabled...
-
Set Git Default Upstream Branch
When creating branches in git, have you noticed that you always have to set the upstream before you can push? Fortunately, a simple git config setting will make your life easier and save you some keystrokes. Just run...
-
Git Rebase by Default
When working on a project with multiple developers it’s a good idea to always rebase when you pull. But if you would like to rebase by default, you can add it to your global .gitconfig file by running this command:...
-
Money in Javascript
When accepting money online, it is important to be accurate. Just one cent off and your customers may lose trust in your application. That is why it is It is important to understand how Javascript handles decimals....
-
How to Enable Autocomplete in Mac Terminal
Usually in a Unix/Linux terminal when you press tab it will autocomplete with several options and then it will list the options below for you to select. This is a great feature if you spend a lot of time in the...
-
How to Manually Update Google Chrome Extensions
Chrome is my browser of choice primarily because of the speed and extensions. Extensions allow you to extend the functionality of your browser. One of my favorites is Weather Extension . I often have users asking how...
-
Vue Skycons
I’m a big fan of the weather icons from Dark sky called Skycons . They are animated and are easy to customize. I wanted to be able to use them in my Weather and WeatherTab extensions which are written using VueJs. I...