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
javascript:(function() { | |
var e = document.getElementById('pull_request_body'); | |
if (e) { | |
if (e.value) { | |
e.value += '\n\n'; | |
} | |
e.value += ' | |
#### What does this PR do?\n\n | |
#### Any background context you want to provide?\n\n | |
#### Where should the reviewer start?\n\n |
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
find . -name *.DS_Store -type f -exec rm {} \; |
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
# Update rvm, it moves quickly | |
rvm update | |
rvm reload | |
# List known available ruby versions | |
rvm list known | |
rvm install 1.9.2 | |
# Set default ruby version | |
rvm --default ruby-1.9.2-p136 |
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
.bundle | |
db/*.sqlite3 | |
log/*.log | |
tmp/ | |
.sass-cache/ | |
*.swp | |
*~ | |
.DS_Store |
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
git config --global user.name "Your Name" | |
git config --global user.email youremail@example.com | |
git config --global alias.co checkout | |
git config --global core.editor "mate -w" |
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
find . -name ".svn" -type f -exec rm -rf {} \; |
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 = App || {}; | |
App = { | |
/** | |
* Default configuration settings. | |
* | |
* Examples of how to override defaults | |
* App.defaults.message = 'Foo bar'; | |
* App.init({'message': 'Bas bat'}); | |
* Note that the original "App.defaults" will always remain available. |
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
!!! 5 | |
-# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ | |
/[if lt IE 7] <html lang="en" class="no-js ie6"> | |
/[if IE 7 ] <html lang="en" class="no-js ie7"> | |
/[if IE 8 ] <html lang="en" class="no-js ie8"> | |
/[if IE 9 ] <html lang="en" class="no-js ie9"> | |
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--> |
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
-# Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if needed | |
%script{:src => "//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"} | |
:javascript | |
!window.jQuery && document.write('<script src="/javascripts/jquery.min.js"><\/script>') |
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
-# mathiasbynens.be/notes/async-analytics-snippet | |
:javascript | |
var _gaq=[['_setAccount',"#{ENV['GOOGLE_ANALYTICS_ID']}"],['_trackPageview']]; | |
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1; | |
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; | |
s.parentNode.insertBefore(g,s)}(document,'script')); |
OlderNewer