Monday, June 18, 2012

tar strip first directory

Thanks to http://www.marksanborn.net/linux/extract-without-first-directory) I have learned a new option to the venerable tar command.

I needed to extract the latest 1.x branch of the cakephp source code(1.3.15), but omit the initial  cakephp-cakephp-5e063d7. The --strip-components=1 option came in handy for this.

tar --strip-components=1 cakephp-1.3.15.tar.gz

:)

Wednesday, September 08, 2010

Ramblings - theworkzine.com

so i get to hear of www.theworkzine.com from a colleague, and after reading up on a few artciles, I decide to dig a little deeper (you know, the usual, who are these guys (or in Ug, who the father is) questions you ask).

  1. Bug my colleague for the name of the owner of the site
  2. Google the chap
  3. Stare stumped while Google provides nothing ( I mean _what_ does Google not know see http://googlestatistics.com/ ;)
  4. Facebook the chap
  5. Stare stumped while Facebook provides nothing ( I mean _who_ is not on facebook? see http://www.facebook.com/press/info.php?statistics)
  6. Hmmm
  7. Go back to bugging the colleague for other names (Chaps in Ug usually have more than 2 :)
  8. repeat Step 2
  9. AH HA! Google Wins!!
  10. Wonder about the movie
  11. Wonder about oliver twist
  12. Wonder about soup
  13. Wonder about the name of the soup at dominos


Typical basic surveillance 101
Typical day dreaming!

Sunday, November 22, 2009

Good music is like ...

an elegant mathematics proof.

Mariah Carey - I Want To Know What Love Is

Wednesday, June 07, 2006

-bash: vi: command not found



I never thought I'd ever see this! Are there linux machines without the venerable vi?!

Tuesday, October 25, 2005

sad but true

You Passed 8th Grade Math

Congratulations, you got 9/10 correct!

Friday, October 21, 2005

New Sound card


$lsmod|grep snd
snd_cs4281 23392 0
gameport 16904 2 snd_cs4281
snd_rawmidi 26976 1 snd_cs4281
snd_ac97_codec 83640 1 snd_cs4281
snd_pcm 97668 2 snd_cs4281,snd_ac97_codec
snd_page_alloc 10372 1 snd_pcm
snd_opl3_lib 11776 1 snd_cs4281
snd_seq_device 9292 2 snd_rawmidi,snd_opl3_lib
snd_timer 26628 2 snd_pcm,snd_opl3_lib
snd_hwdep 9824 1 snd_opl3_lib
snd 59492 8 snd_cs4281,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_seq_device,snd_timer,snd_hwdep
soundcore 10592 1 snd


I guess I dont need the remote sound thing anymore :) . It was great while it worked.

Thursday, September 08, 2005

Using arts with a remote esd

Using arts with a remote esd

I needed to send the sound from my office workstation to a remote computer that has a sound card and speakers attached to it.

This is because my workstation doesn't have a sound card in it. So how to get my KDE to send the sound over? After about 1 hr playing around in KDE's control center here is how I did it:


$ sudo apt-get install esound
$ echo "esddsp --server=remote artsd -N -n -p 16001 -u" > ~/.kde/Autostart/artsd.sh
$ chmod +x ~/.kde/Autostart/artsd.sh


Thanks to this site for the correct direction.

Saturday, August 27, 2005

First Post

This is my first post. Just doing a quick trial run on this blog thingy.

Let's see how it goes.