Skip to content

Instantly share code, notes, and snippets.

@MichaelMartinez
MichaelMartinez / dabblet.css
Created May 23, 2012 06:55 — forked from mightymess/dabblet.css
cool animation dabblet
body{
background:#DDD;
font-family:PacificoRegular;
color:#ea4c89;
font-smooth:always;
cursor:pointer;
}
.reveal{
background:#DDD;
position:absolute;
@MichaelMartinez
MichaelMartinez / gist:2705067
Created May 15, 2012 20:54
Markdown cheat sheet

Header 1

Header 2

Header 3 ### (Hashes on right are optional)

Header 4

Header 5

Markdown plus h2 with a custom ID ## {#id-goes-here}

Link back to H2

This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one

@MichaelMartinez
MichaelMartinez / bootstrap.jade
Created April 6, 2012 03:56 — forked from BenHall/bootstrap.jade
Twitter Bootstrap in Jade
script(src='/javascripts/jquery-1.7.min.js')
link(rel='stylesheet', href='/stylesheets/bootstrap.min.css')
link(rel='stylesheet', href='/stylesheets/bootstrap-overrides.css')
@MichaelMartinez
MichaelMartinez / api.js
Created April 2, 2012 19:16 — forked from fwielstra/api.js
An example NodeJS / Mongoose / Express application based on their respective tutorials
/* 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');

Sublime Text 2 - Useful Shortcuts

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
@MichaelMartinez
MichaelMartinez / Makefile
Created February 21, 2012 19:09 — forked from pamelafox/Makefile
Phonegap/App Engine Makefile
# 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