Permalink
Browse files

Removed some old junk I don't use.

  • Loading branch information...
1 parent c53d031 commit 19fa32b18b26e0e07d771a2e3316defd5b32ffbf @anthonyshort anthonyshort committed Oct 12, 2012
Showing with 45 additions and 43 deletions.
  1. +1 −2 README.md
  2. +4 −0 git
  3. +11 −0 install
  4. +9 −0 keys
  5. +0 −39 mac
  6. +9 −0 node
  7. +6 −0 php
  8. +5 −2 ruby
View
3 README.md
@@ -19,8 +19,7 @@ Install
Run the script:
- curl -s https://raw.github.com/anthonyshort/laptop/master/mac | sh
-
+ curl -s https://raw.github.com/anthonyshort/laptop/master/install | sh
What it sets up
---------------
View
4 git
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo "Installing Git Version Control..."
+ brew install git
View
11 install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+echo "Installing Homebrew, a good OS X package manager ..."
+ /usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
+ brew update
+
+curl -s https://raw.github.com/anthonyshort/laptop/master/git | sh
+curl -s https://raw.github.com/anthonyshort/laptop/master/ruby | sh
+curl -s https://raw.github.com/anthonyshort/laptop/master/node | sh
+curl -s https://raw.github.com/anthonyshort/laptop/master/php | sh
+curl -s https://raw.github.com/anthonyshort/laptop/master/keys | sh
View
9 keys
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo "Checking for SSH key, generating one if it doesn't exist ..."
+ [[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
+
+echo "Copying public key to clipboard. Paste it into your Github account ..."
+ [[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
+
+echo "SSH Key copied to clipboard! Open https://github.com/account/ssh to add your key"
View
39 mac
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-echo "Checking for SSH key, generating one if it doesn't exist ..."
- [[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
-
-echo "Copying public key to clipboard. Paste it into your Github account ..."
- [[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
-
-echo "SSH Key copied to clipboard! Open https://github.com/account/ssh to add your key"
-
-echo "Installing Homebrew, a good OS X package manager ..."
- /usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
- brew update
-
-echo "Installing Git Version Control..."
- brew install git
-
-echo "Installing Phantom JS for Javascript testing..."
- brew install phantomjs
-
-echo "Installing Node..."
- brew install node
-
-echo "Install NPM (Node Package Manager)..."
- curl http://npmjs.org/install.sh | sh
-
-echo "Installing RVM (Ruby Version Manager)..."
- curl -L https://get.rvm.io | bash -s stable --ruby
-
-echo "Updating Rubygems..."
- gem update --system
-
-echo "Installing PHP..."
- brew tap josegonzalez/homebrew-php
- brew install php53 --with-mysql --with-intl
-
-curl -s https://raw.github.com/anthonyshort/laptop/master/ruby | sh
-curl -s https://raw.github.com/anthonyshort/laptop/master/node | sh
-curl -s https://raw.github.com/anthonyshort/laptop/master/php | sh
View
9 node
@@ -1,4 +1,13 @@
#!/bin/sh
+
+echo "Installing Phantom JS for Javascript testing..."
+ brew install phantomjs
+
+echo "Installing Node..."
+ brew install node
+
+echo "Install NPM (Node Package Manager)..."
+ curl http://npmjs.org/install.sh | sh
echo "Installing Coffeescript..."
npm install -g coffee-script
View
6 php
@@ -1,3 +1,9 @@
+#!/bin/sh
+
+echo "Installing PHP..."
+ brew tap josegonzalez/homebrew-php
+ brew install php53 --with-mysql --with-intl
+
echo "Installing XDebug..."
brew install josegonzalez/php/php53-xdebug
View
7 ruby
@@ -1,7 +1,10 @@
#!/bin/sh
-source ~/.bashrc
-source ~/.bash_profile
+echo "Installing RVM (Ruby Version Manager)..."
+ curl -L https://get.rvm.io | bash -s stable --ruby
+
+echo "Updating Rubygems..."
+ gem update --system
echo "Installing Ruby 1.9.3 stable and making it the default Ruby ..."
rvm install 1.9.3

0 comments on commit 19fa32b

Please sign in to comment.