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
| /******************************* | |
| * This is a snippet of code using JQuery to keep | |
| * a 120 x 600 ad vidible when scrolling the window. | |
| *******************************/ | |
| var ads = { | |
| gutterad : function(){ | |
| $(window).scroll(function(){ | |
| var ht = $(window).height(); | |
| var tp = $(window).scrollTop(); |
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
| To get compass working with asset pipeline Rails 3.1.1, there were a few things that you need to do | |
| that may are not well documented. | |
| 1. Point compass to the github source in your Gemfile to get version 0.12.alpha instead of 0.11.5. | |
| Gemfile example | |
| group :assets do | |
| gem 'sass-rails', '~> 3.1.4' | |
| gem 'coffee-rails', '~> 3.1.1' |
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
| PS1='\[\033[00;34m\]\u\[\033[00;00m\][\[\033[00;32m\]\W\[\033[00;00m\]]\$' |