Live Chat!

units of measurement

1 votos Vota!!

May 1st, 2007 mysurface

To measure a quantitative object, we usually use certain standard of units. To measure width or length of a piece of paper, we may use inches, centimeter or meter. Sometimes, the conversion between one system unit to another might not be straight forward. For examples convert inch to cm approximately, 1 inch is 2.54cm, 1 [...]

Posted in Common, Misc, bc, units | Hits: 18808 | 2 Comments »

linux alarm clock

2 votos Vota!!

April 14th, 2007 mysurface

I have too used to alarm clock, to wake me up every early morning. I set my alarm on my cellphone every night before I going to sleep. But recently, a simple stupid idea of creating an alarm clock in Linux comes to my mind.
I usually turns on my laptop overnight for some downloads, system [...]

Posted in Misc, bc, xmms | Hits: 21588 | 8 Comments »

Command line calculator, bc

1 votos Vota!!

September 4th, 2006 mysurface

How to do calculation if I only have command line? If you have BC you can, and you can do a very complicated calculation. To perform calculation, you can type bc and start to type your question, or passing question through pipeline, such as
echo “56.8 + 77.7″ | bc
Let say you want to convert decimal [...]

Posted in Calculation, bc, pipeline | Hits: 25033 | 13 Comments »