This file contains hidden or 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
| <html> | |
| <head> | |
| <title>Hello World!</title> | |
| <link rel="stylesheet" href="styles.sass" type="text/css" media="screen" /> | |
| </head> | |
| <body> | |
| <h1>Hello World!</h1> | |
| </body> | |
| </html> |
This file contains hidden or 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
| http_path = "/" | |
| http_stylesheets_path = "/stylesheets" | |
| http_images_path = "/images" | |
| http_javascripts_path = "/javascripts" | |
| sass_dir = "sass" | |
| css_dir = "public/stylesheets" | |
| images_dir = "public/images" | |
| javascripts_dir = "public/javascripts" |
This file contains hidden or 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
| #\ -p 4000 | |
| gem 'activesupport', '2.3.5' | |
| gem 'serve', '0.11.2' | |
| require 'serve' | |
| require 'serve/rack' | |
| root = File.dirname(__FILE__) |
This file contains hidden or 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
| require "rubygems" | |
| require "rack" | |
| require "rack/lobster" | |
| app = Rack::Builder.new do | |
| use Rack::ShowExceptions | |
| run Rack::Lobster.new | |
| end | |
| webrick = Rack::Handler.get('webrick') |
This file contains hidden or 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
| /* | |
| Inline-block for IE6, Firefox 2, and up | |
| via http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block | |
| */ | |
| @module inline-block { | |
| display: -moz-inline-stack; | |
| display: inline-block; | |
| zoom: 1; | |
| *display: inline; |
This file contains hidden or 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
| $ script/console | |
| Loading development environment (Rails 2.3.2) | |
| >> Sass::Plugin.options | |
| => {:css_location=>"/Users/jlong/Workspaces/groupstory/application/public/stylesheets", :template_location=>"/Users/jlong/Workspaces/groupstory/application/public/stylesheets/sass", :always_update=>true, :always_check=>true, :style=>:expanded, :cache_location=>"/Users/jlong/Workspaces/groupstory/application/tmp/sass-cache", :line_numbers=>true, :full_exception=>true} |
This file contains hidden or 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
| require 'sass' | |
| if /production|staging/.match(RAILS_ENV) | |
| # Compress CSS (a small file is preferable in production) | |
| Sass::Plugin.options[:style] = :compressed | |
| else | |
| # Expand CSS | |
| Sass::Plugin.options[:style] = :expanded | |
| # Generate CSS from SASS every time a controller is accessed |
This file contains hidden or 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
| /* Minimal G-mail CSS for Mailplane */ | |
| /* Hide the links to other apps */ | |
| #gbar { | |
| display: none | |
| } | |
| /* Put the settings links on the same level as the search box */ | |
| div.nH + div.nH div.nH.qp { | |
| border: none; |
This file contains hidden or 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
| # Console | |
| alias profile="vi ~/.bash_profile" | |
| alias ls="ls -p -G -h" | |
| # Desktop Programs | |
| alias fireworks="open -a '/Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app'" | |
| alias photoshop="open -a '/Applications/Adobe Photoshop CS4/Adobe Photoshop.app'" | |
| alias illustrator="open -a '/Applications/Adobe Illustrator CS4/Adobe Illustrator.app'" | |
| alias preview="open -a '/Applications/Preview.app'" | |
| alias xcode="open -a '/Developer/Applications/Xcode.app'" |
This file contains hidden or 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
| .DS_Store | |
| coverage | |
| db/*.sqlite3 | |
| doc/api | |
| doc/app | |
| log/*.log | |
| tmp/**/* |