Chrome Extension Inline Installation

You’ve probably come across extensions that allow you to install them from their website without ever going to the Chrome extension store. This is what Chrome calls inline installation and it’s a great way to make it easier for users to install an extension.

Overview

Inline installation requires 3 parts. A link tag in the head of your website, a call to the JavaScript function chrome.webstore.install() and lastly the extension must be assigned to the domain you want to use for inline installation. Read More

Animated Badge Icon

Weather Extension was recently updated to have a spinning indicator in the badge icon to let the user know the extension is loading when it is clicked. I wanted to give the user immediate feedback. The challenge was that the badge toolbar icon is limited to static images. I was able to get around this by using canvas and generating multiple images that update the icon. I’ve haven’t come across anything like this so I thought I would share. Read More

Global Git Ignore

Recently I was trying to add some folders to my global .gitignore file on windows. Unfortunately I ran into some issues. After some searching, I couldn’t come across a solution that worked for me. Here are the steps that worked for me.

Add to Global Git ignore Windows

  1. git config –global core.excludesfile ~/.gitignore_global (Add .gitignore_global as the global gitignore file in your global git config)
  2. notepad %USERPROFILE%\.gitignore_global (Create and edit .gitignore_global in your home directory using cmd)

Add to Global Git ignore Mac

  1. git config –global core.excludesfile ~/.gitignore_global (Add .gitignore_global as the global gitignore file in your global git config)
  2. sudo nano ~/.gitignore_global (can edit your .gitignore_global file and add any files or folder you would like to ignore. Use ctrl + y to save and exit)

Leave a comment if these steps helped in any way!

Stress Test with Loader.io

Ever wonder how many requests your $5 a month Digital Ocean server can handle? Using Loader.io’s free load testing tool can help you do just that! It’s a good idea to know what your server can handle so you can be prepared to handle large spikes in traffic. This could mean increasing the specs on your current server, adding a load balancer or using round robin dns to distribute the request to multiple servers. Read More