elblogg

blah, blah, blag, blog

Posts Tagged ‘meme’

Blog meme: Phrase From Nearest Book

Friday, November 14th, 2008

I spotted this meme on Steve Holden’s blog.

  • Grab the nearest book.
  • Open it to page 56.
  • Find the fifth sentence.
  • Post the text of the sentence in your journal along with these instructions.
  • Don’t dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.

So. In my case, the closest book to me when writing this post was Python phrasebook by Brad Dayley.

The fifth sentence on page 56 is as follows:

Defining a list in Python is a simple matter of assigning a number of Python objects to a variable name using the = operator.

So now you know.

meme - top commands

Wednesday, April 30th, 2008

Okay… I give up.. now that pretty much every tech blogger in my google reader have done this, I’ve decided to do it too…

My new laptop:

$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
85 cd
67 ssh
56 ls
50 sudo
32 scp
23 mplayer
18 gpg
14 python
13 find
11 vim

My server in Texas

~$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
76 sudo
72 screen
51 vim
48 cd
26 ls
25 mysql
18 convert
18 cat
14 apg
12 wget

# history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
92 cd
82 vim
78 tail
76 ls
19 /etc/init.d/apache2
16 ln
15 bash
14 rm
14 cp
13 less

And my home-theatre PC, home server etc…

~$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
142 ls
100 cd
58 rm
29 unrar
28 df
20 du
14 sudo
14 mv
12 find
11 vim