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/ruby | |
while (true) | |
f = IO.popen('netstat -anp udp') | |
found = false | |
while (line = f.gets) | |
linesplit = line.split | |
if (/udp/ =~ linesplit[0]) | |
local = linesplit[3] | |
foreign = linesplit[4] |
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
Install Xcode from App Store | |
- install command line tools from Xcode preferences | |
Get homebrew: ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) | |
- brew doctor | |
brew install hg | |
brew install git | |
brew install nodejs | |
brew install rbenv | |
brew install ruby-build |
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
brew install openssl | |
brew install ruby-build | |
brew install rbenv | |
export CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`" | |
rbenv install 2.0.0-p0 | |
rbenv rehash | |
rbenv global 2.0.0-p0 | |
gem install bundler | |
gem install rails -v 4.0.0.beta1 --no-ri --no-rdoc | |
rbenv rehash |
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
locale-gen en_US en_US.UTF-8 sv_SE.UTF-8 | |
dpkg-reconfigure locales | |
apt-get update | |
apt-get upgrade | |
apt-get install curl git-core python-software-properties | |
#nginx | |
add-apt-repository ppa:nginx/stable |
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
# Enter your directory of choice | |
cd ~/src/ | |
# clone hgflow | |
hg clone ssh://[email protected]/strang/hgflow | |
# edit your ~/.hgrc by adding | |
[extensions] | |
hgflow=~/src/hgflow/src/hgflow.py | |
# To make sure SourceTree uses the same hgflow |
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
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer | |
sudo apt-get install oracle-java7-set-default | |
http://www.scala-lang.org/files/archive/scala-2.10.2.tgz | |
tar zxf scala-2.10.2.tgz | |
sudo mv scala-2.10.2 /usr/share/scala | |
sudo ln -s /usr/share/scala/bin/scala /usr/bin/scala | |
sudo ln -s /usr/share/scala/bin/scalac /usr/bin/scalac |
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
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
cd | |
sudo apt-get update | |
sudo apt-get upgrade |
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
pip-2.7 install numpy | |
brew install gdal | |
R | |
install.packages("plotKML") | |
q() | |
R < gpx.r |
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/bash | |
# node.js using PPA (for statsd) | |
sudo apt-get install python-software-properties | |
sudo apt-add-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs npm | |
# Install git to get statsd | |
sudo apt-get install git |
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
XKuG6jnMNK7O0xGCv6d8uQ== | |
Decrypt using Blowfish, https://www.tools4noobs.com/online_tools/decrypt/ | |
Key is the destination |
OlderNewer