Thursday, January 25, 2007

Delete files by size recursively

Delete files by size recursively

find /var/spool/squid/* -size +10k -type f -exec rm -f '{}' \;

The command meaning..
find
args1 =
args2 =
args3 =
args4 =
args5 = <-f means files.. we could have mentioned -d (directory) -b (block), -c (character), -f (regular file), -l (link), -s (socket), -p (pipes) >
args6 = <-exec means what action to perform if all the matches are true, so -exec is for action..>
args7..10 = <>

Cheers...
( Besides the above is for my own bad memory :-) )

Delete files by size recursively

Delete files by size recursively

find /var/spool/squid/* -size +10k -type f -exec rm -f '{}' \;

The command meaning..
find
args1 =
args2 =
args3 =
args4 =
args5 = <-f means files.. we could have mentioned -d (directory) -b (block), -c (character), -f (regular file), -l (link), -s (socket), -p (pipes) >
args6 = <-exec means what action to perform if all the matches are true, so -exec is for action..>
args7..10 = <>

Cheers...
( Besides the above is for my own bad memory :-) )

Monday, January 22, 2007

Are we being caught up in the web of google's sinister design ?

Some of you like myself swear by google, since we cannot imagine living without google search. However some of the discussions on net has made me thinking over an important issue. Will Google control too much of our lives ?

here are the links which discusses an important point on google's future plans ...
Let me add, google has already hired top brains for its (secret project), headed by Robert Pike. It could be soon, the era of booting into a internet harddisk. Otherwise, why is google investing so much into bandwidth ?

There is enough material, above to make the next sci-fi movie, where google controls everything.

I would be glad to hear your inputs..

Note: Irony, that I have to use the google's service to post this.. he he..

Books will Live

I have been reading books and codes... but I understand better with a book in leisure in the corner of my bed relaxing with a cup of coffee, cigarette. I dont think online reading is optimum.

Yes, Its so much helpful to get the thing done (my belief), however for grasping a new language, or learning something cool really takes, an undivided attention, which comes when you are at ease, with yourself and a book. Net study is good if I could perhaps practice a little bit more of self restraint. There are numerous times, that I get swayed from one topic to another, and never really understanding where I started.

Well.. Books will live..

Saturday, January 20, 2007

JOOST TV synonymn for P2P TV (internet TV viewing will never be the same again)

I hope this is a surprise new technology springing from peer 2 peer architecture. Well so many P2P applications on the block that there is so much to talk about them, some of them are extremely well written code, traversing firewall and NAT wink.gif. Yes!

Joost is another of such P2P technology, which aims at providing multimedia content. Its designed to traverse NAT and use UDP, it aims to become very fast and very good quality. If this is a company, you can bet its share prices will rise, and look out for google or yahoo to grab it soon. This is the next Kaaza that the firewall engineers will dread. Since its so difficult to block the UDP NAT traversal mechanism they deploy.

There is a beta evaluation version available.. and I would suggest you to go and have a look at it.. the site is www.joost.org.

some news 1 and 2.

I am too excited after I saw the performance. it has limitless possibilities in the future. just think if its available on the mobile, and you could podcast it into joost TV. [ rolleyes.gif ] I cant think what happens to all the TV soap opera's.

I have a great internal feeling that this concept is going to rock the world.. remember it was me telling you smile.gif

Its not open source so.. there can be an open source alternative initiated right now :)
yes I am a coder, and I am interested, if you too are you can m a i l m e a t saneax AT p2pconnect DOT astahost DOT com

Friday, January 19, 2007

Why Was Mahatma Gandhi Never Awarded the Nobel Prize

read this

It bleeds when it shows of discrimination. Whatever reasons may be given, I don't think any awards are fair enough to judge even a single person. How callous the way the world moves ?

Its funny. who gives nobel prize to whom ? and history stands there. Funny 1948.
damn funny.

There are words indescribable to show the feeling I have for this prize, and the people and there culture. Good for me, its a another one of those lessons, that you cannot measure God, and you cannot measure even his servant. Mahatma Gandhi as a human being was far above my intellectual understanding, However I am a damn person, who comments about anything (after all who cares about what I say), so I say.

Even an ordinary beggar has a story. even an ordinary person fights for right and wrong. That is history when the person the age goes. What One should keep in mind, given the situation one is given we will fare much worse than the person. We judge a person superficially, what he says, what he wears, where he comes from, which country he is from... so on.. but we forget.. we will be history, he will be history... God is All_the_story.

May Shree Lord Hari Bless Us All.. (hari means one who steals, since God is also referred as a thief, since he steals our miseries. :) yes. what does a thief do, he carefully enters through the back door when you are fast asleep, and takes away stuff from you home. You wake up to find your valuables are gone, you scream, you scorn at the thief etc. etc... but the things are stolen. Similarly Lord Hari, enters our heart and mysteriously, steals away our hidden valuables, which are rubbish litter to the path of Self Realization. Let us pray, that, That Sweat Lord Hari may please, mercifully bless us)

Thursday, January 18, 2007

Psychology :)

One who lends his shoulders, needs the most.

I thought that out..( from a feeling, which I could'nt understand )

Big Brother role playing people, sometimes cry too badly, is it Alcohol, or from loneliness.
its a lonely planet after all...

Tuesday, January 16, 2007

squid + squidguard + dansguard (Total Filtering from Unwanted sites)

Here I wish to put in the knowhow that I acquired from building in a stong firewall, with URL and Content filtering on Suse 10.1, with the help of Squid, SquidGuard and Dansguard.

Sunday, January 7, 2007

Another really funny dream

I just watched a hilarious dream in fact 2 of them.. one day before yesterday and one yesterday night.
Let me start with the one I saw first, and I just cant believe it was such an interesting and funny one.

I am in this weird house, I have a gun and I am hiding from someone. I load the gun, and I am making sure, that my fingers are on the trigger, and wishing the gun works... I am hiding on a staircase in one corner, with no roof. Suddenly, I get a feeling that someone is looking down from the roof edge.. I see no one, but a fear grips me, that someone may find out where I am hiding if he just peeks down from the roof. I dash out of my hiding to find a better one, and lo, I am in front of three policemen, and in my excitement I pull the trigger, it goes straight and hits a police in his heart.

Looking at there guns pointed at me, ready to shoot, I shiver, and happily shout out, "I surrender, please dont shoot". The bring out the handcuffs and put it around my wrist. I notice, without there attention, (since, in background some confusion was there, I guess they were under fire, someone else was shooting, its faintly vivid) that the handcuffs dont fit my hand, my hands are much smaller in dimension, and it can easily squeez out (anyway I have the thinnest wrists you can imagine).

In the milee of gun shots and the policemen being bewildered, I release myself from the handcuff and start running as hard I can. between, I may have forgotten, the police wear white uniform, which is the west bengal state police uniform, and the policement looked bengali too. Anyway, I am running, and the policeman start to run after me, but hed for shelter, since someone is shooting. No Harm, I run and I see, I am running in a station platform no.12. Its some wierd station, but I know where I can get out easily avoiding the ticket checkers and also the policemen. So I run heard and reach that place, its an opening on the wall..

I jump out, head across the street, there are buses, rickshaw, and a tramline in between.. I approach a cab, and tell him to drive fast. He asks " where ", I say straight out of Calcutta. he drives and its a long journey, I check my pocket and I have some money. I remember that I can use the ATM, I have some 4000 Rs there.

I reach a desolate place, I ask the driver to stop. he stops, I pay him the money.

Wednesday, January 3, 2007

Work ahead

Another lovely winter day in Kolkata. Winters are just wonderfull. I have heard of stories that the winter here is like summer in london. Whatever.. I guess london has a better climate.. nothing like in Kolkata now.

So a lot of work ahead.. extremely busy day ahead..

Tuesday, January 2, 2007

Stepped into a new year 2007

Welcome 2007

After frenzied drinking, competitions and totaly insane parties, back to square one.. working and toiling hard to get to somewhere. 2007 has come. Similarly 2006 had come and its gone. cannot catch up with time, it makes you wait before it comes and makes you remember when its gone. somehow.. it's too fascinating.

List directories via 'ls -d' - surprised me

List directories via 'ls -d' - surprised me This was one of those feelings where I was left surprised with the humble linux comm...