scp
:
vim scp://keith@linux.cs.wmu.edu//home/keith/my.file
You may have to re-enter your password each time you save the file. From http://tipotheday.com/2008/06/08/editing-remote-files-with-vim-and-scp
A repository of notes; by noto, for noto. Made public so noto can read it from anywhere. It won't make any sense to you.
scp
:
vim scp://keith@linux.cs.wmu.edu//home/keith/my.file
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf source1.pdf source2.pdf source3.pdf
Prereq:
Install dvdbackup
from http://dvdbackup.sourceforge.net
. Note that this requires libraries (i) libdvdread
and (possibly, ii) libdvdcss
. Download and install the libraries, then dvdbackup
(all are ./configure,make,sudo make install). Additional note: I installed libdvdread via mac ports, but dvdbackup
failed to configure because it required a different version. I then downloaded and installed version 0.9.7 separately, then ./configure worked (I also downloaded and installed libdvdcss--not sure if that matters.)
To backup a DVD:
dvdbackup -v -i /dev/disk1 -n NAME -Mwhere /dev/disk1 should be replaced with the device currently associated with the inserted disc, and NAME is whatever name you want to assign to the project. It turns out, the -n option is necessary. Without more options,
dvdbackup
creates a similarly-named directory and writes the files there (the -v
option is just for verbosity--use dvdbackup --help
) hdiutil makehybrid -udf -o NAME.iso path-to-FOLDERwhere NAME is again up to you, but path-to-FOLDER must contain the VIDEO_TS directory created by dvdbackup (it must not be the VIDEO_TS directory itself). Typically, this will be the directory created by
dvdbackup
. hdiutil burn NAME.isoThis, apparently, finds your DVD device, writes and ejects it.
gg=G
=
, the indent command can take motions. So, gg
to get the start of the file, =
to indent, G
to the end of the file, gg=G
.