- Press V to toggle the subs on and off
- Press J to cycle languages
- Press # to cycle the audio
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
config.vm.provision "shell" do |s| | |
s.inline = "VAR1 is $1 and VAR2 is $2" | |
s.args = "#{ENV['VAR1']}, #{ENV['VAR2']}" | |
end |
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
Build multithreaded mplayer so HD x264 videos won't crap out | |
==Dependancies== | |
$ sudo apt-get install build-essential checkinstall | |
===x264=== |
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
==Get Utilities== | |
sudo apt-get install mplayer mencoder mpeg4ip-utils mpeg4ip-server subtitleripper ogmtools mkvtoolnix | |
==Prepare== | |
===Detect Cropping=== | |
mplayer dvd://1 -frames 4 -vf cropdetect -sb 50000000 -nosound -vo null 2>/dev/null | grep CROP | |
[CROP] Crop area: X: 8..719 Y: 0..479 (-vf crop=704:480:12:0). | |
[CROP] Crop area: X: 7..719 Y: 0..479 (-vf crop=704:480:12:0). | |
*Skip first ~50mb, this is the title screen and is often a different size |
- kstars
- gcx
- saods9
- nightview http://www.physics.muni.cz/mb/nightview/install.html
- libccfits-dev libsbigudrv2-dev libsbigudrv2 ???
- audela http://www.audela.org/dokuwiki/doku.php/en/release/start
- regim http://www.andreasroerig.de/regim/regim_e.htm
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
package main | |
import ( | |
"log" | |
"strconv" | |
"time" | |
) | |
var _ = log.Print |
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
pushd ~ | |
wget -q -O go1.3.linux-amd64.tar.gz http://golang.org/dl/go1.3.linux-amd64.tar.gz | |
tar -xzf go1.3.linux-amd64.tar.gz | |
export GOROOT=~/go | |
export PATH=$GOROOT/bin:$PATH | |
rm -rf ~/go/src/pkg/appengine | |
rm -rf ~/go/src/pkg/appengine_internal | |
popd |
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
# echo '{"foo": "lorem", "bar": "ipsum"}' | python -m json.tool | |
alias jsonprint="python -m json.tool" |
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 apt-get install imagemagick mplayer gtk-recordmydesktop | |
mplayer -ao null output.ogv -vo jpeg:outdir=output | |
convert output/* output.gif | |
convert output.gif -coalesce -repage 0x0 -crop 1200x630+22+60 +repage output-crop.gif | |
convert output-crop.gif -fuzz 10% -layers Optimize output-crop-opt.gif |
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
# from (http://blog.campoy.cat/2014/03/github-and-go-forking-pull-requests-and.html) | |
# (fork campoy/cooltool on github) | |
go get github.com/campoy/cooltool | |
cd $GOHOME/src/campoy/cooltool | |
git remote add fork https://github.com/benschw/cooltool.git | |
# git commit |
OlderNewer