Skip to content

Instantly share code, notes, and snippets.

Avatar
✍️
Writing

Matthias Günther wikimatze

✍️
Writing
View GitHub Profile
View my_template.rb
project :test => :rspec, :orm => :activerecord
generate 'model', 'account username:string password:string'
generate 'model', 'post title:string body:text'
generate 'controller', 'posts get:index get:new post:new'
generate 'controller', 'users get:index'
generate 'migration', 'AddEmailToAccount email:string'
require_dependencies 'nokogiri'
git :init
git :add, "."
View SassMeister-input.scss
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
// Create a global map of users
$users: ();
// Add a new user to the global map
@mixin user($name, $availability, $infos) {
View SassMeister-input.scss
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
// Create a global map of users
$users: ();
// Add a new user to the global map
@mixin user($name, $availability, $infos) {