These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
#!/bin/bash | |
## vim:ts=4:sw=4:tw=100:ai:nowrap:formatoptions=croqln: | |
#*******************************************************# | |
# tumblr.sh # | |
# written by Rahul Kumar # | |
# 2010/01/01 # | |
# Post, edit, delete, read tumblr.com # | |
#*******************************************************# | |
# References: http://www.tumblr.com/api#api_write | |
# DONE : add read |
#!/bin/bash | |
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
# | |
# Lockable script boilerplate | |
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
[Solarized Dark] | |
text(bold)=839496 | |
magenta(bold)=6c71c4 | |
text=839496 | |
white(bold)=fdf6e3 | |
green=859900 | |
red(bold)=cb4b16 | |
green(bold)=586e75 | |
black(bold)=073642 | |
red=dc322f |
##How Homakov hacked GitHub and the line of code that could have prevented it
Please note: THIS ARTICLE IS NOT WRITTEN BY THE GITHUB TEAM or in any way associated with them. It's simply hosted as a Gist because the markdown formatting is excellent and far clearer than anything I could manage on my personal Tumblr at peternixey.com.
If you'd like to follow me on twitter my handle is @peternixey
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
#!/bin/sh | |
NGINX_VERSION=1.3.4 | |
TMP_PATH=/tmp | |
# Fetch and extract nginx source | |
cd $TMP_PATH | |
wget http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz | |
tar xvfz nginx-$NGINX_VERSION.tar.gz | |
cd nginx-$NGINX_VERSION |
class Player | |
def initialize | |
@max_health = 20 | |
@last_health = @max_health | |
@taking_damage = false | |
@directions = [:backward, :forward] | |
@current_direction = :forward | |
@reached_wall = false | |
end | |