summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-11-07 21:16:36 -0500
committerbnewbold <bnewbold@robocracy.org>2010-11-07 21:16:36 -0500
commit585e002f29fb34bad0fe98c3591f500108014486 (patch)
tree0e3bfd8781ccfd2db68359cde34fd322bc1618ff
parent535e8d3b2bb56f75c1ca14cf07ae887a4787f44f (diff)
downloadknowledge-585e002f29fb34bad0fe98c3591f500108014486.tar.gz
knowledge-585e002f29fb34bad0fe98c3591f500108014486.zip
tricks and flicks
-rw-r--r--film/to-watch.page3
-rw-r--r--software/unix-tricks.page13
2 files changed, 12 insertions, 4 deletions
diff --git a/film/to-watch.page b/film/to-watch.page
index 7fdebf8..f37e2ba 100644
--- a/film/to-watch.page
+++ b/film/to-watch.page
@@ -4,12 +4,10 @@ Films To Watch
* Children of Paradise
* Brain Candy
* One, Two, Three
- * The White Ribbon (by Haneke)
* Project Grizzly
* Koyaanisqatsi
* Baraka
* Hell House
- * Thomas Crown Affair (original)
* Black Orpheus
* Infernal Affairs
* Gummo
@@ -18,4 +16,5 @@ Films To Watch
* The Man in the White Suit
* Seconds
* Serpico
+ * The Lion in Winter
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
index ad5c3ee..fea6aef 100644
--- a/software/unix-tricks.page
+++ b/software/unix-tricks.page
@@ -27,13 +27,22 @@ mapping under the console, edit ``/usr/share/syscons/keymaps/us.iso.kbd`` and
change 'ralt' to 'meta'.
Figlet
-=====================
+---------------------
figlet is the horizontal banner.
thttpd
-===============
+---------------
thttpd is a super small/light http web server with almost no features. To
server up the working directory as cgi to local host, use::
$ thttpd -p 8080 -h localhost -D
+
+Simple "undelete"
+--------------------
+This oneliner is useful for recovering recently deleted files from unix
+filesystems, assuming you know a reasonably unique string in that file. Change
+the -A and -B options (lines of context before and after the unique string) as
+appropriate, and go through the output file to clean up the text.
+
+ $ sudo grep "bookmark_bar" --binary-files=text -B 10 -A 1000 /dev/sda5 | tee undeleted_content.txt