Sequel Pro – fantastic Mac OS X front-end for MySQL
I bet you’re either using MySQL, or going to use it or at least heard of it – I hardly believe anyone of reading my Twitter or blog are not exposed to this field at all. Hence, if you’ve ever used MySQL you have probably asked yourself a question – “where can I find a [...]
Buffalo Linkstation – USB2SATA adapter #fail
In feeble attempt to revive my Buffalo Linkstation home server, disassembled it to extract the disk and connect to my Mac – just to find out, that the USB2SATA adapter doesn’t fit this disk (i.e. it is compatible from connector’s point of view, but it’s clearly too thick to get into tiny socket designated for [...]
Decided to have a short walk today – before diving in into studying. It was good :)
At the moment of writing all these unbelievable colours are already gone :) Too bad it didn’t last for long.
See and download the full gallery on posterous
R.
The most unusual return form I've ever seen
I can’t really comment on it – so I will just cite the text of the original email. I’ve never, ever, ever seen anything like that before.
This email has been sent to you by Griffin Technology to help facilitate testing and/or replacement of merchandise.
Generally we handle returns for our international customers a [...]Probably, the most horrible UNIX command I've ever written
pv enwiki.xml | grep -C1 ‘<title>’ | tr -d ‘ ‘ | sed ‘s/<title>//’ | sed ‘s/</title>//’ | sed ‘s/<id>//’ | sed ‘s/</id>//’ | sed ‘s/<page>//’ | tr -d ‘ ‘ | grep -v ‘^$’ | tr ‘n’ ‘t’ | tr ‘-’ ‘n’ | grep -v ‘^$’ > title_id.txt
Got my hands on highly acclaimed Palm Pre in O2 Store. So, it’s not yet another iPhone killer (which mostly killed themselves), but – finally, it’s a real competitor to Apple Phone.
The mobile phone looks pretty sturdy, is significantly smaller than iPhone though thicker too (see photographs of the phone in hand). [...]Copying compressed file via SSH to Hadoop HDFS
Had probably re-invented the way of copying gzipped files via SSH to Hadoop’s HDFS:
gzip -c file.txt | ssh hadoop.gateway.host ‘gunzip -cf – | hdfs -put – input/file.txt’ And all the way back: ssh hadoop.gateway.host ‘hdfs -cat output/result.txt/* | gzip -c’ | gunzip -c – > resulttxt-
Categories
-
Meta
