Tuesday, June 18, 2013

crossing over

what if water just passed
without you crossing over

years, echleons passed
day and night followed
cries and laughs drowned
like bubbles our lives vanished

what if water just passed
without you crossing over

sit down and see the sun set
see the flocks of birds returning
see the water flowing in that rivulet
see the long faces frowning

what if water just passed
without you crossing over

what if the aching heart pains
what if skies hold the rains

one day you will have crossed
one day pain would have ceased
the river here would be still flowing
the sun would still be setting
yeah, but, you would have crossed

Monday, June 3, 2013

Why Cricket sucks in India (Part II)

Part I is here.

Now that media and new paper have enough material going around, I feel I have already told you this is good. Good that the bad is coming out.

However, I damn care whether thats good or bad for cricket.

One batsman and 11 fielders standing idle is a game of Maharaja's.

Its a black spot in the the name of sports.

Even the Olympics council does not recognize it as a sports. Its a sports of the lazy, loosers.

If a nation full of lazy loozers are taken for a ride, I have no interest on the whole episode.

RIP, Cricket.
disclaimer.
I do not see cricket, and so most of my inputs are hearsay. 

Wednesday, May 29, 2013

Large log on the disk, what to do?

Probably more so, if the log is impt and needs to be saved. Here are a few solutions I gathered -

single file, tar is not required, multiple files may be we would want to tar it also. We will tar/gzip and throw the output to stdout which will be piped to a pv (to show the progress) which is piped to nc -l (netcat listener)

(on source)
1. single large file
 gzip -c filename | pv | nc -l 4545  
2. multiple large file or directory
tar czf - filename |  pv | nc -l 4545

(on target)

nc source-hostnmae 4545 > filename.gz  or nc source-hostnmae 4545 > filename.tar.gz

Thursday, January 3, 2013

Need to write/speak

A horrendous crime done by insane men and a girl died brutally. We all hide our heads in shame! However, I am at loss of words at seeing

  • facebook updates with pictures of the girl, before and after and explicitly describing what happened.
  • news channels continuously debating and asking the public, 'what do you think about the incident?'
  • news channel going after the village and talking to every person in the village.
  • political parties running a race to give goodies like naming roads, day etc etc..
I am no saint, and probably even worse judge of things happening. But it surely feels like this society raped her again and again for their narrow objectives. TV trp ratings, political mileage, 2 minutes of limelight in front of a crowd. 

RIP, probably this is a bad age. 

Monday, August 13, 2012

RPM querry packages and there build arch

Most of the time rpm shows is the package name - version, but strips the build arch, ie. i386 or x86_64. Hence what we see are 2 similar package names and we wondering what is going on :)


$ rpm -qf /usr/bin/lsb_release
redhat-lsb-4.0-2.1.4.el5
redhat-lsb-4.0-2.1.4.el5

here is a way to see the arch use '--qf "%{n}-%{v}-%{r}-%{arch}\n"'


$ rpm -qf /usr/bin/lsb_release --qf "%{n}-%{v}-%{r}-%{arch}\n"
redhat-lsb-4.0-2.1.4.el5-x86_64
redhat-lsb-4.0-2.1.4.el5-i386






Friday, May 25, 2012

Google.co.in hacked

searched something and it says

--

FOR ALL THOSE WHO MISSED IT HERE WE GO AGAIN :D XD Anonymous REVENGE / WE OWN YOU
 Told you not to mess with free speech and lesser with Anonymous
Government of India, you know what you did wrong. you caused out twitter account to be blocked now we will show you what anonymous is capable of doing.
--

Wow!

sanjayu@brightstill-l7:~$ lynx --dump 'http://www.google.co.in/search?q=beat+diesel&sourceid=opera&ie=utf-8&oe=utf-8&channel=suggest'
   IFRAME:
   [1]http://115.248.224.100:8080/webadmin/deny/index.php?dpid=1&dpruleid=
   56&cat=201,202,203&ttl=-100&groupname=default&policyname=default&userna
   me=-&userip=101.63.181.65&connectionip=1.0.0.127&nsphostname=rel-netsw-
   chennai&protocol=nsef&dplanguage=-&url=http%3a%2f%2fwww%2egoogle%2eco%2
   ein%2fsearch%3fq%3dbeat%2bdiesel%26sourceid%3dopera%26ie%3dutf%2d8%26oe
   %3dutf%2d8%26channel%3dsuggest

References

   1. http://115.248.224.100:8080/webadmin/deny/index.php?dpid=1&dpruleid=56&cat=201,202,203&ttl=-100&groupname=default&policyname=default&username=-&userip=101.63.181.65&connectionip=1.0.0.127&nsphostname=rel-netsw-chennai&protocol=nsef&dplanguage=-&url=http%3a%2f%2fwww%2egoogle%2eco%2ein%2fsearch%3fq%3dbeat%2bdiesel%26sourceid%3dopera%26ie%3dutf%2d8%26oe%3dutf%2d8%26channel%3dsuggest
sanjayu@brightstill-l7:~$ 
sanjayu@brightstill-l7:~$ host 115.248.224.100
Host 100.224.248.115.in-addr.arpa. not found: 3(NXDOMAIN)

sanjayu@brightstill-l7:~$ host google.co.in
google.co.in has address 74.125.236.191
google.co.in has address 74.125.236.183
google.co.in has address 74.125.236.184
google.co.in mail is handled by 10 google.com.s9a2.psmtp.com.
google.co.in mail is handled by 10 google.com.s9b1.psmtp.com.
google.co.in mail is handled by 10 google.com.s9b2.psmtp.com.
google.co.in mail is handled by 10 google.com.s9a1.psmtp.com.
sanjayu@brightstill-l7:~$ host 74.125.236.191
191.236.125.74.in-addr.arpa domain name pointer maa03s16-in-f31.1e100.net.


sanjayu@brightstill-l7:~$ curl -D - http://google.co.in
HTTP/1.1 301 Moved Permanently
Location: http://www.google.co.in/
Content-Type: text/html; charset=UTF-8
Date: Sat, 26 May 2012 04:43:29 GMT
Expires: Mon, 25 Jun 2012 04:43:29 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 221
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN


301 Moved

301 Moved


The document has moved
here.

sanjayu@brightstill-l7:~$

Thursday, March 8, 2012

I thought I have to praise this song

mtv coke link

as sometimes you are touched with a song more than you can say, I am feeling the same right now. God knows the depth of the lyrics and the feeling with which Wadali Brothers can transform it. God bless them.

Reading the wikipedia, I felt like going to Guru ki Wadali, right now and pay my obeisances and sit and hear whatever they have to say for a long time.

VIM issues with powerline

What to do if you get this annoying issue - vi requirements.txt ...