This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a simple/configurable rake task that generates some random fake data for the app (using faker) at various sizes | |
# NOTE: requires the faker or ffaker gem | |
require 'faker' | |
class Fakeout | |
# START Customizing | |
# 1. first these are the model names we're going to fake out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# random records | |
scope :random, limit(5).order("RANDOM()") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var App = { | |
initialize: function() { | |
new App.Controller(); | |
Backbone.history.start(); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { background:url(http://images.apple.com/global/elements/quicktime/loading.gif) no-repeat 50% 150px; } | |
body.loaded { background:transparent; } | |
#showcase .content, | |
#promobar, | |
#itunes, | |
#globalfooter { opacity:0; -webkit-transition:opacity .5s; -moz-transition:opacity .5s; } | |
.loaded #showcase .content, | |
.loaded #promobar, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 509d6f93d51efaee274d267c030ac2855aa799d7 Mon Sep 17 00:00:00 2001 | |
From: meleyal <william.meleyal@gmail.com> | |
Date: Fri, 1 Apr 2011 00:25:34 +0200 | |
Subject: [PATCH] add test for File API support | |
--- | |
modernizr.js | 6 ++++++ | |
1 files changed, 6 insertions(+), 0 deletions(-) | |
diff --git a/modernizr.js b/modernizr.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
undefined local variable or method `admin_user' for Admin::StudentsController:Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# Instructions | |
# - Install optipng + libjpeg (http://mxcl.github.com/homebrew/) | |
# - Put this file in a directory of images | |
# - Open in TextMate + run it (cmd+r) | |
# Config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Let's start with the basics | |
$base-color: #333; | |
$active-color: #ff8100; | |
$base-gradient: 'flat'; | |
// Buttons | |
$button-gradient: 'bevel'; | |
// Lists | |
$list-bg-color: #eee; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! ----------------------------------------------- | |
* simplegrid.scss | |
* https://gist.github.com/gists/1409900/ | |
* Custom version of 960.gs (http://960.gs/) | |
* Naming inspired by SimpleBits (http://simplebits.com/) | |
* Licensed under GPL and MIT | |
* | |
* Custom: | |
* - columns > 12 | |
* - underscores > dashes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# INSTRUCTIONS | |
# - Puth this file into a directory containing mp3s | |
# - Open in TextMate + run it (cmd+r) | |
# - get_audio_length method via: http://bit.ly/sIKObq | |
dir = File.dirname(__FILE__) | |
mp3s = File.join(dir, "**", "*.mp3") |