View css_backgrounds.css
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
.logo { | |
background:url('/your_logo.png'); | |
height:50px; | |
width:150px; | |
} | |
@media only all and (-webkit-min-device-pixel-ratio: 2) { | |
/* Media query for double density devices */ | |
.logo { |
View pageone.txt
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
It's just mind-blowingly awesome. I apologize, and I wish I was more articulate, but it's hard to be articulate when your mind's blown—but in a very good way. | |
The Earth is the only world known so far to harbor life. There is nowhere else, at least in the near future, to which our species could migrate. Visit, yes. Settle, not yet. Like it or not, for the moment the Earth is where we make our stand. | |
I am a stranger. I come in peace. Take me to your leader and there will be a massive reward for you in eternity. |
View vacuumtrace.txt
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
vacuum (0.2.2) lib/vacuum/endpoint/base.rb:17:in `key' | |
app/controllers/home_controller.rb:7:in `block in index' | |
vacuum (0.2.2) lib/vacuum/request/base.rb:46:in `configure' | |
app/controllers/home_controller.rb:6:in `index' | |
actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
actionpack (3.2.2) lib/abstract_controller/base.rb:167:in `process_action' | |
actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action' | |
actionpack (3.2.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
activesupport (3.2.2) lib/active_support/callbacks.rb:414:in `_run__848510956938163028__process_action__2492995424481165270__callbacks' | |
activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback' |
View Animation & text mixins
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
/* Mixins to extend what Compass provides */ | |
=animation($values...) | |
-webkit-animation: $values | |
-moz-animation: $values | |
-o-animation: $values | |
-ms-animation: $values | |
animation: $values | |
=keyframes($name) |
View twitter-entities.js
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
/* | |
* twitter-entities.js | |
* This function converts a tweet with "entity" metadata | |
* from plain text to linkified HTML. | |
* | |
* See the documentation here: http://dev.twitter.com/pages/tweet_entities | |
* Basically, add ?include_entities=true to your timeline call | |
* | |
* Copyright 2010, Wade Simmons | |
* Licensed under the MIT license |
View gist:5814722
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
# Highlighting on prompt | |
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
COLOR_NONE="\[\e[0m\]" | |
parse_git_branch() { | |
git_status="$(git status 2> /dev/null)" | |
branch_pattern="^# On branch ([^${IFS}]*)" |
View 0_reuse_code.js
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 |
View Gulpfile for Mocha & Node.js
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
// Include gulp | |
var gulp = require('gulp'); | |
// Include Our Plugins | |
var jshint = require('gulp-jshint'); | |
var sass = require('gulp-sass'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var rename = require('gulp-rename'); | |
var mocha = require('gulp-mocha'); |
View remove_merged.txt
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 branch | xargs git branch -d |
View Jekyll Dev Mode
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
jekyll serve --watch --limit_posts 1 --future true |
OlderNewer