LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

- s

Posted 06-02-2010 at 11:16 AM by Web31337 (In The Middle Of Nowhere [edK's blog])
Updated 06-20-2012 at 11:57 PM by Web31337

-s s
Member
Posted in Uncategorized
Views 4176 Comments 1 Web31337 is offline
Old

Ants on my table

Posted 06-02-2010 at 10:53 AM by Mr-Bisquit

Code:
 Scream your little anty screams
At the terror of your anty dreams.
My giant finger
Your tiny brain
I hear you scream
in anty pain.
Run and flee
As I spit
and make you drown.
I'll piss
and stomp
on your anty town.
Your anty prayers
will not be heard
I'll crush your hopes
like they were a turd.
Scream your little anty screams
At the terror of your anty dreams.
Enjoy your final
...
Member
Posted in Uncategorized
Views 2454 Comments 1 Mr-Bisquit is offline
Old

Snapping Again

Posted 06-02-2010 at 10:41 AM by brianL

Back in the early '80s, photography was my main hobby,including developing and printing. Black and white mostly, because monochrome prints were said to last longer than colour. After two or three years I lost interest in it. But now I've moved into the 21st century, and got round to buying a digital camera, a Sony DSC H55. A compact with quite a lot of features (must RTFM soon!).
I gave it a bit of a test run, using one of the easy "point & shoot" modes in the local cemetery....
Attached Images
File Type: jpeg ACW_grave.jpeg (79.4 KB, 10 views)
LQ 5k Club
Posted in Uncategorized
Views 642 Comments 2 brianL is offline
Old

Shortest command to calculate the sum of a column of output

Posted 06-02-2010 at 06:27 AM by bittner (Notes on Linux)

I had to calculate the Installed-Size for a .deb control file recently. Here is the solution I came up with:

Code:
dpkg-deb -c mypackage.deb | sed -e 's/.*root\s*//' -e 's/\s*2010-.*$//' | xargs | tr ' ' + | bc
What it does? The code tries to construct a calculation string and feeds it to the command line calculator bc as follows:
  1. use dpkg-deb to get the file size information out of the Debian package
  2. sed away all characters before and after the
...
LQ Newbie
Posted in Uncategorized
Views 4220 Comments 2 bittner is offline
Old

This is a good restore function too.

Posted 06-02-2010 at 03:43 AM by GlennsPref

I've noticed that this can be used to reinstall a list from

typing

Code:
echo "run rpm -qa | sort | less > /home/glenn/build/note-rpm-installed-list-`date +%Y-%m-%d-%H`.txt, maybe upto 15kb text."/n
sudo rpm -qa | sort | less > /home/glenn/build/note-rpm-installed-list-`date +%Y-%m-%d-%H`.txt
this produces a list, but top-down, no spaces or dashes.

It still works with the code here, just has no...
Senior Member
Posted in Uncategorized
Views 769 Comments 0 GlennsPref is offline

  



All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration