Skip to content

Instantly share code, notes, and snippets.

View Lvt's full-sized avatar
😀

Leon von Tippelskirch Lvt

😀
View GitHub Profile
@Lvt
Lvt / WWDC 2015 Movie Downloader
Last active August 29, 2015 14:22
WWDC 2015 Movie Downloader
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
rm -rf /usr/local/Cellar /usr/local/.git
#!/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
@Lvt
Lvt / gist:777dd88237970d1b91a4
Created May 22, 2014 11:52
sdl_image failed to build on 10.9
$ 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
@Lvt
Lvt / ZSHRZ
Created March 19, 2012 09:54
This is my zshrc
ZSH=$HOME/Documents/Programming/oh-my-zsh
ZSH_THEME="aussiegeek"
autoload -U compinit promptinit
# compinit
#promptinit
#prompt adam1
# . ~/.myprompt
# bindkey -v