Skip to content

Instantly share code, notes, and snippets.

# Mac preference changes:
# * minimize and hide dock
# * undo natural scrolling
# * max out keyboard repeat
# * increase desktop resolution
# * show date in menubar
# * do not play feedback when volume is changed
# * do not play user interface sounds
# * maximize mouse tracking speed
@gavinengel
gavinengel / magic-globals.js
Last active April 3, 2023 10:56
"Magic Globals" for node.js
// sets globals:
// __stack,
// __line,
// __file,
// __function,
// __ext,
// __base
// we already have these:
// __filename which gives as an example: /Users/mjr/example.js
@krevels
krevels / compass-watch
Created November 21, 2013 19:15
Gruntfiles
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
compass: {
dist: {
options: {
ack
aircrack-ng
apple-gcc42
autoconf
automake
bash-completion
cairo
check
chromaprint
cmake
@svnlto
svnlto / install.md
Created December 12, 2011 22:59
Setup OS X 10.7 w/ homebrew, oh-my-zsh, rvm, nvm

Setup new Mac with OSX Lion from scratch

These commands are good as of 2011-07-27.

Install Xcode 4

The download/install takes a while so start it first. When it finishes downloading you will still need to run it to complete installation.

Really the nicest choice for a terminal on OSX right now, especially with Lion style full screen support.

@jonalter
jonalter / app.js
Created March 15, 2011 17:21
TiBountyHunter creating reusable factories
Titanium.UI.setBackgroundColor('#000');
var BHunter = {};
Ti.include('ui.js');
BHunter.tabGroup = BHunter.ui.createAppTabGroup();
BHunter.tabGroup.open();