Wednesday, May 27, 2009

The Power Of Shell

Shell will always outpower GUI (there are 4 command lines of shell code):

for i in `seq 1 88 1`; do wget http://manga.bleachexile.com/chobits-chapter-$i.html; done

for i in `seq 1 88 1`; do mkdir $i; cd $i; wget http://`cat ../chobits-chapter-$i.html|grep static|cut -d '/' -f 5-|cut -d '"' -f 1`; cd ..; done

for i in `seq 1 88 1`; do pages=`cat chobits-chapter-$i.html|grep Page\ \#|tail -n 1|cut -d \# -f 2|cut -d \< -f 1`; for j in `seq 2 $pages 1`; do wget http://manga.bleachexile.com/chobits-chapter-$i-page-$j.html; done; done

for i in `seq 1 88 1`; do pages=`cat chobits-chapter-$i.html|grep Page\ \#|tail -n 1|cut -d \# -f 2|cut -d \< -f 1`; cd $i; for j in `seq 2 $pages 1`; do wget --continue http:`cat ../chobits-chapter-$i-page-$j.html|grep static|cut -d : -f 8-|cut -d \" -f 1`; done; cd ..; done

NOTE: seq is self-made (there is no one on the OS X)

INSPIRON:~ acidumirae$ cat /usr/local/bin/seq
#!/bin/sh
#
FROM=$1
TO=$2
DELTA=$3
while [ $FROM -le $TO ]
do
echo $FROM
FROM=`expr $FROM + $DELTA`
done

PS: It could be much less shell code, but I did not want to put any effort - just quick'n'dirty & working.
PPS: It worked for less then an hour and downloaded 239M of html files and 249M image files sorting out each chapter images to a separate directory :)

Tuesday, May 26, 2009

Why do I like laptops?

In my company some people do not understand why do I love laptops.
And some of them even traded their laptops back to desktops.
I think that laptops are totally awesome invention and that is why:

PS: However it is a bit inconvenient to lay in bed with a laptop, so I am thinking of buying an internet tablet.

DOG, GET DOWN FROM THERE

Nortel choses Linux for $250 million routing platform

http://blog.internetnews.com/skerner/2009/05/nortel-choses-linux-for-250-mi.html


tux.jpg

From the 'I did not know that' files:

LAS VEGAS. I met up with Nortel Networks enterprise business chief John McHugh at Interop to talk about their big new routing platform the VSP9000. It's a platform capable of up to 27 terabits per second (Tbps) of switching capacity and McHugh told me it represents a $250 million investment in research and development from Nortel -- and its powered by Linux.

Exclusive: Everything There Is To Know About Nokia’s Next Tablet

http://www.mobilecrunch.com/2009/05/24/exclusive-everything-there-is-to-know-about-nokias-next-tablet/ 


Move over, Nokia N97. Your bigger, badder, unannounced brother is on the way - and one of our sources at Nokia has just clued us in on all of the details, from worldwide launch targets to hardware specs.


Nokia’s next tablet device is designed in the same vein as their N810, albeit significantly more polished. Though it doesn’t appear to have an official name as of yet, it’s referred to internally as “N900$B!m(B, “Rover”, or “Maemo Flagship”. We’ll be referring to this device as the N900 for the rest of this post, though it’s quite possible that this name will change.


The N900 is very similar to the Nokia N97 aesthetically, having a 3.5$B!m(B touchscreen above a slide-out QWERTY keyboard and many of the same design features. However, the screen of the N900 is significantly higher resolution (800$B!_(B480 as opposed to 360$B!_(B640) and, unlike that of the N97, does not tilt up. Additionally, the N900 does not appear to feature the navi-keys found on the slide-out layer of the N97. And, of course, it runs Maemo rather than S60.


Wednesday, May 13, 2009

Report: Google Android to grow 900% in 2009

http://blogs.zdnet.com/gadgetreviews/?p=4157




The Google Android mobile OS is expected see a growth rate of 900 percent in 2009, according to a new prediction by Strategy Analytics, besting Apple?s iPhone OS as the fastest-growing smartphone OS.


According to the May 11 report ?Global Smartphone Vendor Market Share by Region: 2008,? the iPhone OS will be the second fastest-growing smartphone OS in the U.S. 2008, by 79 percent, and RIM?s BlackBerry OS will be the second-largest overall smartphone OS.



Wednesday, May 6, 2009

Net Applications: Linux Breaks 1% on the Client

http://marketshare.hitslink.com/operating-system-market-share.aspx?qprid=8&sample=35

Linux usage share on client devices has surpassed 1% for the first time in our tracking. Linux has been successful primarily as a server operating system, but client usage share has not kept pace with server share Linux has reached this important milestone on the client as Linux-based systems have become more functional, easier to use, and pre-installed on computers from vendors like Dell.




Panda Flu

Panda Flu