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
| Execute in Terminal. This Downloads every Movie in HD | |
| curl -s https://developer.apple.com/videos/wwdc/2015/ | grep "?id=" | sed "s/.*id\=/curl\ \-s https:\/\/developer\.apple\.com\/videos\/wwdc\/2015\/\\\?id\=/"\ | sed "s/\".*/\| grep HD \| sed \"s\/.*\<a href\\\\=\\\\\"\/\/\"\| sed \"s\/\\\\\".\*\/\/\" /" | sh | sed "s/http/curl \-C \- \-O \"http/" | sed "s/\?dl\=1/\"/" | grep http | sh | |
| Not working any more | |
| @alexsporn made the script better | |
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
| rm -rf /usr/local/Cellar /usr/local/.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
| #!/bin/sh | |
| # Just copy and paste the lines below (all at once, it won't work line by line!) | |
| # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e |
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 doctor | |
| Your system is ready to brew. | |
| $ HOMEBREW_MAKE_JOBS=1 brew install -v sdl_image 2>&1 | |
| ==> Downloading http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz | |
| Already downloaded: /Library/Caches/Homebrew/sdl_image-1.2.12.tar.gz | |
| ==> Verifying sdl_image-1.2.12.tar.gz checksum | |
| tar xf /Library/Caches/Homebrew/sdl_image-1.2.12.tar.gz |
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
| ZSH=$HOME/Documents/Programming/oh-my-zsh | |
| ZSH_THEME="aussiegeek" | |
| autoload -U compinit promptinit | |
| # compinit | |
| #promptinit | |
| #prompt adam1 | |
| # . ~/.myprompt | |
| # bindkey -v |