Skip to content

Instantly share code, notes, and snippets.

View gist:a274e699b88538df4b63fb66c46af663
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
View iron-router-cheatsheet.coffee
# A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis)
# Check our Studio: https://gentlenode.com/
meteor add iron:router
meteor update iron:router
# Iron Router > Configuration
View meteor.cheatsheet.coffee
# METEOR CORE:
Anywhere: Meteor.isClient
Anywhere: Meteor.isServer
Anywhere: Meteor.startup(func)
Anywhere: Meteor.absoluteUrl([path], [options])
Anywhere: Meteor.settings
Anywhere: Meteor.release
@mplatts
mplatts / 0_reuse_code.js
Created May 14, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@mplatts
mplatts / rspec-syntax-cheat-sheet.rb
Created Jan 9, 2012 — forked from dnagir/rspec-syntax-cheat-sheet.rb
RSpec 2 syntax cheat sheet by example
View rspec-syntax-cheat-sheet.rb
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com
# Edited by webtempest.com
# ====================== Rails examples =====================
# ---------------------- Login Support -------------------------
module LoginSupport
# Fake a login for Controller specs
def fake_login_as(user)
@request.session[:user_id] = user ? user.id : nil
You can’t perform that action at this time.