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
∴ ~/Sites export PATH=/opt/jekyll/bin:$PATH | |
∴ ~/Sites which jekyll | |
/opt/jekyll/bin/jekyll | |
∴ ~/Sites cd jesse.sh | |
∴ ~/Sites/jesse.sh git:(master) jekyll serve --watch | |
/opt/jekyll/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find jekyll (>= 0) amongst [RedCloth-4.2.9, actionmailer-4.1.5, actionmailer-4.1.1, actionmailer-4.0.0.rc1, actionmailer-3.2.11, actionpack-4.1.5, actionpack-4.1.1, actionpack-4.0.0.rc1, actionpack-3.2.11, actionview-4.1.5, actionview-4.1.1, activemodel-4.1.5, activemodel-4.1.1, activemodel-4.0.0.rc1, activemodel-3.2.11, activerecord-4.1.5, activerecord-4.1.1, activerecord-4.0.0.rc1, activerecord-3.2.11, activerecord-deprecated_finders-1.0.3, activeresource-3.2.11, activesupport-4.1.5, activesupport-4.1.1, activesupport-4.0.0.rc1, activesupport-3.2.18, activesupport-3.2.11, acts-as-taggable-on-3.4.1, addressable-2.3.6, arel-5.0.1.20140414130214, arel-4.0.2, arel-3.0.3, autoprefixer-rails-1.1.20140605, aws-sdk-1.48.1, backports-3.6.0, bcrypt-3.1.7, |
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
@mixin box-sizing( $value ){ | |
-webkit-box-sizing:$value; | |
-moz-box-sizing:$value; | |
box-sizing:$value; | |
} | |
.shape{ | |
@include box-sizing('border-box'); | |
border:1px solid red; | |
height:100px; |
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
#!/bin/sh | |
# | |
# An example hook script to prepare a packed repository for use over | |
# dumb transports. | |
# | |
# To enable this hook, rename this file to "post-update". | |
APP_ROOT=/var/www/superheros | |
UNICORN_PID=$APP_ROOT/pids/unicorn.pid |
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
upstream app { | |
# Path to Unicorn SOCK file, as defined previously | |
server unix:/tmp/unicorn.superheros.sock fail_timeout=0; | |
} | |
server{ | |
listen 80; | |
server_name qed.im; | |
root /var/www/superheros; | |
try_files $uri/index.html $uri @app; |
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.
Solve this problem without using any loops.
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 |
$ xcode-select --install
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
Start | |
===== | |
1. Install Git | |
http://git-scm.com/download/mac | |
(But consider using Homebrew) | |
2. Make a GitHub account | |
https://github.com/ | |
3. Open Terminal |
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
Start | |
===== | |
1. Install Git | |
http://git-scm.com/download/mac | |
(But consider using Homebrew) | |
2. Make a GitHub account | |
https://github.com/ | |
3. Open Terminal |