Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
# Javascript/CSS Compressor Makefile - By Benjamin "balupton" Lupton (MIT Licenced) | |
MAKEFLAGS = --no-print-directory --always-make | |
MAKE = make $(MAKEFLAGS) | |
BUILDDIR = ./.build | |
# Tools and such | |
CLOSUREURL = http://closure-compiler.googlecode.com/files/compiler-latest.zip | |
CLOSUREDIR = $(BUILDDIR)/closure |
/* The API controller | |
Exports 3 methods: | |
* post - Creates a new thread | |
* list - Returns a list of threads | |
* show - Displays a thread and its posts | |
*/ | |
var Thread = require('../models/thread.js'); | |
var Post = require('../models/post.js'); |
script(src='/javascripts/jquery-1.7.min.js') | |
link(rel='stylesheet', href='/stylesheets/bootstrap.min.css') | |
link(rel='stylesheet', href='/stylesheets/bootstrap-overrides.css') |
This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one
body{ | |
background:#DDD; | |
font-family:PacificoRegular; | |
color:#ea4c89; | |
font-smooth:always; | |
cursor:pointer; | |
} | |
.reveal{ | |
background:#DDD; | |
position:absolute; |
```css | |
/** | |
* Blue CSS3 Button | |
* dribbble: http://dribbble.com/shots/397908-Blue-CSS3-Button | |
*/ | |
* {text-decoration:none} | |
html { | |
box-sizing: border-box; |
# | |
# This function takes messy Word HTML pasted into a WYSIWYG and cleans it up | |
# It leaves the tags and attributes specified in the params | |
# Copyright (c) 2009, Radio New Zealand | |
# Released under the MIT license | |
require 'rubygems' | |
require 'sanitize' | |
def clean_up_word_html(html, elements = ['p', 'b', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'], attributes={}) |
for i in $HOME/local/*; do | |
[ -d $i/bin ] && PATH="${i}/bin:${PATH}" | |
[ -d $i/sbin ] && PATH="${i}/sbin:${PATH}" | |
[ -d $i/include ] && CPATH="${i}/include:${CPATH}" | |
[ -d $i/lib ] && LD_LIBRARY_PATH="${i}/lib:${LD_LIBRARY_PATH}" | |
[ -d $i/lib ] && LD_RUN_PATH="${i}/lib:${LD_RUN_PATH}" | |
# uncomment the following if you use macintosh | |
# [ -d $i/lib ] && DYLD_LIBRARY_PATH="${i}/lib:${DYLD_LIBRARY_PATH}" | |
[ -d $i/lib/pkgconfig ] && PKG_CONFIG_PATH="${i}/lib/pkgconfig:${PKG_CONFIG_PATH}" | |
[ -d $i/share/man ] && MANPATH="${i}/share/man:${MANPATH}" |