Use VI mode in bash but keep ESC-.
"Police Every Breath You Take"
You need a complete dump of IFO and VOBs.
First, find out what your subtitles hex id is.
especially when the DVD is the result of DVDShrink).
A MAMA.sub and a MAMA.idx have been made.
they are all different (initially two of them point to 0!).
Finally, click "Disc Image" in IfoEdit. Done.
tovid -ntsc -dvd -noask -ffmpeg -in "$<" -out "$(basename $@)"
If we also want to resize down to HD-ready, we should pass -vf scale=1280:720 to the two mplayer invocations.
The generated output showcases the supremacy of x264 - at 0.06 bits per pixel, I have difficulty separating the transcoded result from the original, when looking at both of them on my TV!
I prefer to use Perl regexps instead of grep's. Here is a supergrep that uses Perl. It supports the '-i', '-n' and '-v' options that grep has (Update: or you can use pcregrep).
Oh, and make sure 'less' is your PAGER (or MANPAGER).
You can find our more examples (e.g. stripe(RAID0) and linear) in the NTFS documentation that comes with the Linux kernel (Documentation/filesystems/ntfs.txt) - look at the Device Mapper section of the file.
...and then, modify the /etc/passwd and /etc/group IDs of the user to mirror those of the chrooted environment.
This command will find all .dds files and execute ImageMagick's "convert" on them... but it will do so by always keeping 4 instances of "convert", and thus keeping 4 cores busy.
print "Usage:", sys.argv, "file1 <file2> ..."
Starting from a 'stats.txt' file, containing frames per second measurements, this script will create 'bins' of size 5 (ie. it will accumulate all sample values from 0-5 into bin 1, 5-10 into bin 2, etc) and then plot the bin heights in a histogram.
# This script will generate "stats.png" via gnuplot.
set xlabel "Frames per second"
set ylabel "Percentage with this speed"
...and then plot as usual.
More SSH tips are here.
and squeezing out (-s) multiple newlines.
- Transliterate upper case to lower case.
- Sort to bring identical words together.
representative and include a count (-c).
- Sort in reverse (-r) numeric (-n) order.
There; A new "drive" to pass to QEMU.
This is better than spawning autoLogin.py from within cron, for various reasons: You can attach to the screen (screen -r ...) and see what's happening - and also, some scripts (e.g. using Python pexpect) may not run properly under cron, even after setting the env to the same as the normal one (most likely, missing tty-stuff).
Install NERDtree and EasyMotion, by downloading from http://vim.org and unzip-ing inside your .vim/ folder. For CLang autocompletion it's the same process, with the added caveat that under Arch, I had to use the "libclang" based mode of operation (spawning didn't work for some reason).
echo What is the wikidb wikiuser passwd?
to fill-in the loginname/password info.
from work, I find out that its bad at some offset.
system("dd if=/cdrom/BadSector of=sector bs=2K skip=$i".
in the DVD, writing blank 'sectors' to mark the jumps.
To avoid break-ins if someone steals your private key, use a passphrase when creating the key pair, and use ssh-agent to only type the passphrase once per boot.
undeletion process WILL mess up all existing files!
Hit F8 to bring up the menu to Stop.
You can change how much back the clock will be set by changing OFFSET_IN_SECONDS in the code.
You can then have the nice tab-completion and colored syntax output of IPython during your debugging.
Excellent article by Simon Tatham.
print "Broadcast frequencies of 1, 2, 3 and 8Hz"
# ctags -R --exclude=boost/\* .