- Install Dropbox & sync
- Install 1Password from Mac App Store
- Google Chrome
- Alfred
- Remap to Command-Space
- Install the Developer Workflows
- Add Pinboard custom query (https://pinboard.in/search/u:msomers?query={query})
<?php | |
/** | |
* This script is for easily deploying updates to Github repos to your local server. It will automatically git clone or | |
* git pull in your repo directory every time an update is pushed to your $BRANCH (configured below). | |
* | |
* Read more about how to use this script at http://behindcompanies.com/2014/01/a-simple-script-for-deploying-code-with-githubs-webhooks/ | |
* | |
* INSTRUCTIONS: | |
* 1. Edit the variables below | |
* 2. Upload this script to your server somewhere it can be publicly accessed |
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document) | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn) | |
} | |
NodeList.prototype.__proto__ = Array.prototype |
<div class="flex m0 p0 md-m2 md-p2"> | |
The breakpoints are grouped | |
</div> |
var fs = require('fs') | |
var filepath = require('filepath') | |
fs.readdir('./logos', function(err, files) { | |
var path = filepath.newPath() | |
files.forEach(function(file) { | |
// remove the extension | |
var splitFile = file.split('.') |
#!/bin/sh | |
# Stolen from stackoverflow.com/questions/1589114/opening-a-new-terminal-tab-in-osxsnow-leopard-with-the-opening-terminal-window | |
# Add as a file named `tup` somewhere on your $PATH (e.g., ~/bin | |
pwd=`pwd` | |
osascript -e "tell application \"Terminal\"" \ | |
-e "tell application \"System Events\" to keystroke \"t\" using {command down}" \ | |
-e "do script \"cd $pwd; clear\" in front window" \ | |
-e "end tell" | |
> /dev/null |
<% json = File.read("data/data.json") | |
data = JSON.parse(json) %> | |
<ul> | |
<% data.each do |d| %> | |
<li><a href="<%= d["email"] %>"><%= d["name"] %></a></li> | |
<% end %> | |
</ul> |
source 'https://rubygems.org' | |
gem 'serve', '1.5.2' | |
# TryStatic | |
gem 'rack-contrib' | |
# Use Compass and Sass | |
gem 'compass' | |
gem 'guard-livereload' |
# A Guardfile for Serve (http://get-serve.org/) | |
guard 'livereload' do | |
watch(%r{views/.+\.(erb|haml|slim)$}) | |
watch(%r{public/.+\.(css|js|html)}) | |
watch(%r{stylesheets/.+\.(scss|sass)}) | |
end |
<h1 class="foo">Lorem ipsum dolor sit amet.</h1> | |
<p class="error">Lorem ipsum dolor sit amet.</p> |