These commands are good as of 2012-05-05.
https://developer.apple.com/downloads The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
These commands are good as of 2012-05-05.
https://developer.apple.com/downloads The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
#amazon ec2 image | |
#ubuntu 10.10, 64bit : ami-cef405a7 | |
#to add additional ebs storage to your instance | |
#goto volumes and create a volume in the same zone as the instance | |
#after it is created, attach the volume to the instance | |
Attachment Information:i-dbb12eb7:/dev/sdp (attached) | |
#ssh to ec2 | |
ssh -i <key-file>.pem ubuntu@<ip-address-to-ec2> |
var SITE = SITE || {}; | |
SITE.fileInputs = function() { | |
var $this = $(this), | |
$val = $this.val(), | |
valArray = $val.split('\\'), | |
newVal = valArray[valArray.length-1], | |
$button = $this.siblings('.button'), | |
$fakeFile = $this.siblings('.file-holder'); | |
if(newVal !== '') { |
Unless otherwise necessary (such as mobile development), the GitHub javascript codebase is based off jQuery. You can safely assume it will be included on every page.
jquery.facebox
jquery.github.repo_list.js
page.billing.js
# IN AMAZON EC2 SERVER # | |
######################## | |
sudo su | |
apt-get -y update && apt-get -y upgrade | |
apt-get install vim git-core curl openssh-server openssh-client python-software-properties build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libcurl4-openssl-dev aptitude | |
/usr/sbin/groupadd wheel | |
/usr/sbin/visudo | |
(paste bottom) | |
%wheel ALL=(ALL) ALL |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
Files list below. |
# NOTICE: to get Nginx+Unicorn best-practices configuration see the gist https://gist.github.com/3052776 | |
$ cd /usr/src | |
$ wget http://nginx.org/download/nginx-1.2.1.tar.gz | |
$ tar xzvf ./nginx-1.2.1.tar.gz && rm -f ./nginx-1.2.1.tar.gz | |
$ wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.gz | |
$ tar xzvf pcre-8.30.tar.gz && rm -f ./pcre-8.30.tar.gz | |
$ wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz |
server { | |
listen 443 ssl spdy default_server; | |
server_name example.com; | |
ssl_certificate /etc/ssl/certs/my.ssl.crt; | |
ssl_certificate_key /etc/ssl/private/my.ssl.key; | |
root /mysite/current/public; | |
passenger_enabled on; |
# create new rails app | |
# rails new dynamic_select_boxes -m https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-haml-html5-template.rb | |
# create models: | |
# rails g model genre name:string | |
# rails g model artist name:string genre_id:integer | |
# rails g model song title:string artist_id:integer | |
# rake db:migrate |