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
. | |
./.DS_Store | |
./.sync | |
./.sync/Archive | |
./.sync/ID | |
./.sync/IgnoreList | |
./.sync/StreamsList | |
./building_the_toolbelt_t2_2015 | |
./building_the_toolbelt_t2_2015/.git | |
./building_the_toolbelt_t2_2015/.git/COMMIT_EDITMSG |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
$(document).ready(function(){ | |
function resizeDiv() { | |
var vph = ( $(window).height() - 150 ); // adjust this as needed | |
var screen_width = $(window).width(); | |
if (screen_width > 1199) { | |
$('.element-to-resize').css({'height': vph + 'px'}); | |
} else { | |
$('.element-to-resize').css({'height': '585px'}); // adjust this as needed | |
} | |
} |
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
touch ~/.irbrc | |
open ~/.irbrc | |
paste this in: | |
require 'rubygems' | |
require 'ap' | |
require 'irb/completion' | |
IRB.conf[:AUTO_INDENT]=true | |
require "awesome_print" |