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
0 */12 * * * /bin/bash -l -c 'source "$HOME/.rvm/scripts/rvm" && rvm use 1.9.2 && rvm gemset use records_app && cd /path/to/the/records_app/ && rake check_expired_records' |
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
$(window).load(function(){ | |
$('#slider').ramblingSlider({ | |
imageTransitions: { | |
/* Add a 'fadeInSlices' transition */ | |
fadeInSlices: function() { | |
/* ... */ | |
}, | |
/* Override the 'sliceUpRight' transition */ | |
sliceUpRight: function() { | |
/* ... */ |
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
clone.find('object').prepend('<param name="wmode" value="opaque" />') unless clone.find('param[name=wmode]').length | |
clone.find('embed').attr wmode: 'opaque' |
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
source 'http://rubygems.org' | |
gem 'git-deploy' | |
gemfile = File.open(File.join(File.dirname(__FILE__), 'deploy', 'Gemfile')) | |
eval gemfile.read |
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
if [ -d "$HOME/git/bin-wrappers" ]; then | |
PATH="$PATH:$HOME/git/bin-wrappers" | |
fi |
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
ssh-keygen -t rsa -C [email protected] |
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
slice.animate { height: "#{slider.height()}px", opacity: '1.0' }, settings.speed |
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
//Stop and start are really setters | |
$('#slider').ramblingSlider('stop'); // => [div#slider] for method chaining | |
$('#slider').ramblingSlider('start'); // => [div#slider] for method chaining | |
$('#slider').ramblingSlider('effect'); // => 'random' | |
$('#slider').ramblingSlider('option'); // => Object with all options | |
$('#slider').ramblingSlider('option', 'speed'); // => 400 | |
$('#slider').ramblingSlider('effect', 'boxRain'); // => [div#slider] for method chaining | |
$('#slider').ramblingSlider('option', 'speed', 600); // => [div#slider] for method chaining | |
$('#slider').ramblingSlider('option', 'startSlide'); // => 0 | |
$('#slider').ramblingSlider('option', 'startSlide', 2); // => throws error "Slider already running. Option 'startSlide' cannot be changed." |
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
class BuildUtils | |
combine_source_files: (callback) -> | |
self = @ | |
fs.readdir './src', (err, files) -> | |
self.error_handler err | |
content = new Array() | |
files = files.sort() | |
for file, index in files when file.indexOf('.') isnt 0 then do (file, index) -> | |
fs.readFile "./src/#{file}", 'utf8', (err, fileContent) -> |
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
. .\profile.example.ps1 |