Skip to content

Instantly share code, notes, and snippets.

Dawson Botsford dawsbot

Block or report user

Report or block dawsbot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dawsbot /
Created Aug 20, 2016
They're difficult to remember

( ^ ) The caret symbol is the control key.
( ⇧ ) The single arrow up is the shift key.
( ⇪ ) The arrow up with the line under it is the caps lock key.
( ⌘ ) Most people don’t miss the command key since the symbol is on the keyboard.

( ⌥ ) The upper right to lower left slash with the line above it is the alt/option key. One hint to remembering this key is the symbol has two parts and the print on the keyboard has two words.

dawsbot /
Created Aug 15, 2016
Because they're easy to forget
  • clover
  • cobertura
  • html
  • json
  • json-summary
  • lcov
  • lcovonly
  • teamcity
  • text
  • text-lcov
dawsbot / safpmInstall.json
Last active May 2, 2016
Use this to add to your shell rc in seconds.
View safpmInstall.json
"files": [
"scripts": [
"mv zadd /usr/local/bin",
"chmod +x /usr/local/bin/zadd"
View safpm.txt
Thanks for trying safpm!
Hopefully this was the fastest experience you've ever had setting up a package manager.
If it was, let me know at dawsonbotsford AT Gmail DOT com.
dawsbot /
Created Feb 23, 2016
shell script to count the amount of license files in your
# in an empty project
npm install --save gulp
cd node_modules
ls **/LICENSE **/ **/ **/LICENSE | wc -l
# Your init script
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
# An example hack to log to the console when each text editor is saved.
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
dawsbot / thanks.js
Created Jan 29, 2016
You read my blog, and that makes you great
View thanks.js
console.log(‘Thank you for reading, keep in touch below!’);
dawsbot /
Created Jan 29, 2016
Always have your code in two git servers by backing up with Bitbucket
#Enter this as one line
git remote set-url — add — push origin
#Re-add the original URL as well. Again do this with one line
git remote set-url — add — push origin
#Verify everything worked
git remote -v
dawsbot / bootstrapStarter.html
Last active Feb 13, 2016
Barebones html file for starting a new bootstrapped html file
View bootstrapStarter.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<!-- jQuery -->
<script src=""></script>
View thing.js
var express = require('express');
var http = require('https');
var app = express();
function getUSD(callback) {
http.get('', function(res) {
var body = '';
res.on('data', function(data) {
You can’t perform that action at this time.