- 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})
# 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 |
source 'https://rubygems.org' | |
gem 'serve', '1.5.2' | |
# TryStatic | |
gem 'rack-contrib' | |
# Use Compass and Sass | |
gem 'compass' | |
gem 'guard-livereload' |
<?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 |
<% 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> |
#!/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 |
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// _configuration.scss | |
$base-path: '../bundles/assets/'; | |
$image-path: $base-path + 'images/'; | |
$font-path: $base-path + 'fonts/'; |
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$base-path: "assets/" !default; | |
/** | |
* Asset handler | |
* |
/** | |
* The goal here is to simplify implementing alpha channels when requiring support of | |
* old versions of IE that do not support rgba values. For modern browsers, it'll only output | |
* the rgba value of a color, but for <IE9, it'll first output the solid version of the color | |
* with no opacity. | |
*/ | |
/** |
var App = App || {}; | |
App.Section = App.Section || {}; | |
App.Section.Script = function () { | |
// Initialize global functions | |
function initalizeDomElements() { | |
} |