This file contains hidden or 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 gfortran | |
mkvirtualenv --no-site-packages stl-mlearning | |
pip install pyyaml | |
pip install numpy | |
pip install scipy | |
wget http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip | |
unzip http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip | |
cd nltk | |
python setup.py install |
This file contains hidden or 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
for f in `ls *.zip | cut -f1 -d '.'`; do unzip -o $f.zip -d $f/; done |
This file contains hidden or 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
diff -rq folder_camera_1 folder_camera_2 | grep -v -e '.git*' |
This file contains hidden or 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
http://pyvideo.org/video/715/building-a-python-based-search-engine | |
http://pyvideo.org/video/719/diversity-in-practice-how-the-boston-python-user | |
http://pyvideo.org/video/713/improving-documentation-with-beginners-mind-o | |
http://pyvideo.org/video/708/parsing-horrible-things-with-python | |
http://pyvideo.org/video/716/parsing-sentences-with-the-other-natural-language | |
http://pyvideo.org/video/672/making-maps-with-python | |
http://pyvideo.org/video/676/python-for-data-lovers-explore-it-analyze-it-m | |
http://pyvideo.org/video/699/testing-and-django | |
http://pyvideo.org/video/677/using-fabric-to-standardize-the-development-proce | |
http://pyvideo.org/video/638/advanced-security-topics |
This file contains hidden or 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 | |
### BEGIN INIT INFO | |
# Provides: supervisord | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
This file contains hidden or 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 | |
find . -name "*.mkv" | while read FILE | |
do | |
# What would the output file be? | |
DST=/Volumes/USBRAID/Converted/$(dirname "$FILE") | |
MKV=$(basename "$FILE") | |
MP4=${MKV%%.mkv}.mp4 | |
# If it already exists, don't overwrite it | |
if [ -e "$DST/$MP4" ] |
This file contains hidden or 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
''' | |
Based on: | |
- Read this for EC2 setup info and the approach - http://www.dikant.de/2010/10/08/setting-up-a-vpn-server-on-amazon-ec2/ | |
- https://gist.github.com/1130401 | |
- EC2 fabric bits via - https://github.com/slacy/fabric-ec2 | |
''' | |
import boto |
This file contains hidden or 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
''' | |
Warning! Your mileage may vary | |
Based on: | |
- Read this for EC2 setup info and the approach - http://www.dikant.de/2010/10/08/setting-up-a-vpn-server-on-amazon-ec2/ | |
- https://gist.github.com/1130401 | |
- EC2 fabric bits via - https://github.com/slacy/fabric-ec2 | |
''' |
This file contains hidden or 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 | |
# file this under things I should no but have to look up every f!@#$ time... | |
# via: http://stackoverflow.com/questions/7787029/how-do-i-rename-all-files-to-lowercase | |
for f in *; do mv "$f" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done |
This file contains hidden or 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
{ | |
"auto_complete": false, | |
"auto_complete_commit_on_tab": false, | |
"auto_complete_delay": 50, | |
"auto_complete_selector": "source - comment", | |
"auto_complete_size_limit": 4194304, | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": "<", |