Thursday, August 30, 2007

Automatically Kill Programs At Shutdown...

Automatically Kill Programs At Shutdown... avoid "program is still running" ;)

don't you hate it when, while trying to shut down, you get message boxes telling you that a program is still running?

Making it so that Windows automatically kills applications running is a snap.

Simply navigate to the HKEY_CURRENT_USERControl PanelDesktop directory in the Registry, then alter the key AutoEndTasks to the value 1.

Speeding Up tweak for Shared folder Viewing

This is a great tweak.
Before I found it, I was always smashing my head against the table waiting to view shares on other computers. Basically, when you connect to another computer with Windows XP, it checks for any Scheduled tasks on that computer - a fairly useless task, but one that can add up to 30 seconds of waiting on the other end - not good!
Fortunately, it's fairly easy to disable this process.
First, navigate to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Explorer/RemoteComputer/NameSpace in the Registry.
Below that, there should be a key called {D6277990-4C6A-11CF-8D87-00AA0060F5BF}.

Just delete this, and after a restart, Windows will no longer check for scheduled tasks - mucho performance improvement!

IF you like this twek give comments ..and click my google ads :)

Arun

Funny Hacks : Windows Registry

Registry Hacking... just for fun... windows only...:)

Display legal notice on startup:
Wanna tell your friends about the do's and dont's in your computer when they login in your absence. Well you can do it pretty easily by displaying a legal notice at system start up.
REGEDIT[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
"legalnoticecaption"="enter your notice caption"
"legalnoticetext"="enter your legal notice text"

Automatic Administrator Login:
Well here's the trick which you can use to prove that Windows XP is not at all secure as multi-user operating system. Hacking the system registry from any account having access to system registry puts you in to the administrator account.
REGEDIT
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"

No Shutdown:
Wanna play with your friends by removing the shutdown option from start menu in their computer.Just hack it down !!!RegeditHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
"NoClose"="DWORD:1"

Arun...
PS: I like windows but i love Linux...

Hack Windows XP Admin Passwords

How to Hack Windows XP Admin Passwords.

This hack will only work if the person who installed the machine had miss to change the default password (which most peoplr always does).

This is how it works:
When we install Windows XP for the first time your asked to put in your username and up to five others. Now, unknownst to a lot of other people this is the only place in Windows XP that you can password the default Administrator Diagnostic Account.

This means that to by pass most administrators accounts on Windows XP all you have to do is boot to safe mode by pressing F8 during boot up and choosing it. Log into the Administrator Account and create your own or change the password on the current Account.

This only works if the user on setup specified a password for the Administrator Account. This has worked for me on both Windows XP Home and Pro.

Wednesday, August 29, 2007

Knuth-Morris-Pratt algorithm implemented in python

Knuth-Morris-Pratt algorithm implemented in python .

neat stuff that's too small or self-explanatory to deserve its own web page.

This is a direct translation of the KMP algorithm in the book "Introduction to Algorithms" by Cormen, Lieserson, and Rivest.
See that book for an explanation of why this algorithm works.
It's pretty cool. The only things changed were some offsets, to cope with the fact that Python arrays are 0-offset.

http://woozle.org/~neale/src/python/kmp.py

Arun

How to Cheat Google AdSense

How to Cheat Google AdSense


courtesy -- Fernando Hal

1. Basic clicker cheat

This is a noob. This guy knows almost nothing about web technology or network architecture. He clicks on his ads every time he has chance. It can be a few clicks to hundreds of clicks daily. Most likely he doesn’t even read the AdSense Program Policies and Terms and Conditions.

2.Proxy clicker cheat

She knows a thing or two about cookies and IP address. Or she doesn’t know, but somehow guessed that if she use the things called anonymizer, Google will not be able to trace her, because her identity is hidden. She may use anonymizer / proxy websites or specialized anonymous software like tor (The Onion Router).

3.Multiple computer clicker cheat

He knows that somehow Google will detect if the clicks are originated from his own computer. So he will try to even out origin of the clicks. He will recruit his friends, family members, relatives, neighbors, his cats, and his dogs on single mission: to click on the ads. He will also click on the AdSense ads when he is using the library computers, or his office workstation.

4.Software clicker cheat

Graduate to the next step is buyers of clickbots / click-bots. These are specialized robot software to click on AdSense ads. It will browse around your websites, clicking on the ads every few minutes. The more advanced ones will cloak the IP address too, so the website seems to be very popular worldwide. To cover the track, this clickbots will browse around the advertisers sites too while continuing its “click quest”.

5.Paid-clickers cheat

If you don’t like automated things, there is always other option for you. Just pay $50 dollars a month to the professional AdSense clickers. These are groups of highly specialized Internet surfers with office in the dark rooms in street corners of India, Pakistan, and China, helping AdSense account owner to earn good amounts of money � before the AdSense account is disabled, that is. They will browse around your websites, clicking on the ads every few minutes. Because they use human eyes, they know which ads worth more. And to be more convincing they can click a link or two, or sign up free offers / newsletters on the advertiser sites.

6.Click-rings cheat

Network is power. So says many business gurus. Instead of taking things to their own hand, this people realize that they can join hands with those with similar goals and distribute AdSense clicks among themselves, the so called AdSense click-rings. Joining this click-ring network means that your website address will be made known to members, who will regularly browse the website and click on your AdSense ads. In exchange, you will also browse other members’ sites and click on their AdSense ads. The medium used varies. Some click-ring groups use mail-list for communications. Some are using bulletin boards/forum, Yahoo groups, or Usenet. IRC is another popular way. Slightly more complicated is specialized AdSense exchange software for collecting members website address and displaying others’ websites for clicking.

7.Other medium cheat

I have tens of thousands email address on my newsletter subscriber list. If I include AdSense ads on my newsletters, with 5% CTR, I can get a thousand clicks per one email. Not bad. Or I can pay someone to write some useful/nice/funny/cute toolbars or firefox extensions or screensavers that people can download and use for free, and display my AdSense ads there.

8.Visitor cheat

Simply putting “Visit out sponsors” or “Check out the ads above” on your website is cheating. This might not be very clear-cut cheat to some. But Google AdSense program policies has stated clearly, the only text allowed are “Advertisements” or “Sponsored List”

9.Spam cheat

This is the highest level all click-frauds, the Maestro of Fraudsters. She spams millions of emails regularly, offering to “satisfy your inner needs if you can help me check on the links on my website”. Of course, email is not the only way. What IRC and instant messaging (IM) are for, after all. She will look for unsuspecting victims, offering something too-good-to-be-true “if only they will visit the website and click on the links”.

10.Click-through-rate cheat

Whichever method(s) above used, there is one limiting condition: the CTR(click-though-rate). Any CTR that exceeds certain percentage (probably around 10%) will raise red flag in Google AdSense back room. To lower the CTR, the professional cheaters will create some pages on the same domain that attracts very high traffic. Some interesting freebies will sure do the tricks. AdSense code is pasted there, thus creating a very high page impressions. Whether or not the the ads are clicked does not matter anyway, because they are targeting low paying keyword that does not have much competition. The fake clicks are, of course, on where the big money is, the low traffic pages stuffed with high-paying keywords.


Disclaimer: I don’t say and don’t think that these methods will work. If you even need to read this article, there’s 99.999% chance you will get caught before you can even get your first paycheck. Your AdSense account will be disabled, and you get banned from ever applying for AdSense account again.

Arun

transliterate the English character to closest hindi one.

Another offering from google. Google never stops astonishing me.

http://www.google.com/transliterate/indic

As an example you try typing following words (ONE-BY-ONE) and see what you get. Make sure you press space bar after writing each WORD. Than only it transliterate the English character to closest hindi one. Raam Sharma Ek Achcha ladka hai

http://www.google.com/transliterate/indic

Arun

Tuesday, August 28, 2007

Create a folder named CON in windows-solved.

"Create a folder named CON in windows." - This is really no more a riddle.

I had read about this and always kept thinking that this is one of that windows reserved key works non accessibility bull shit. But some 1 year ago a friend of mine brought forward this topic in some rubbish chat and i hung on to it. I had some idea about how to achieve it, but he never agreed so i just left it there.

But now i again came across the same topic in some dumb email chain and thought about really implementing it...
By the way...This is the mail i got...

"An Indian discovered that nobody can create a FOLDER anywhere on the computer which can be named as "CON". This is something pretty cool...and unbelievable... At Microsoft the whole Team, couldn't answer why this happened! TRY IT NOW ,IT WILL NOT CREATE " CON " FOLDER "

outright dumb idea....:) not the 'unable to create the folder' part...but the part where it is mentioned that an Indian found it...:)

So any way here is the implementation....

CREATE your own CON...

you need to use the DOS prompt
we can use the basic dos make directory command

mkdir file://.c:/con

You can find the folder named 'con' in the C drive.

if u want to delete the folder

rmdir file://.c:/con

I had once thought about a trick to create this using power point instead of dos. But that was 3 years ago. Now i need to again think about the logic.

Anyway....u guys enjoy....

Arun

Thursday, August 16, 2007

The DREAM Project

I can always feel this... Wanted to share with you all...

Happy Chatting...


Independence day of a software engineer.

Yesterday i celebrated 60 years of my country's independence. Don't ask me how i celebrated it. I did that in my own way. Anyway i am proud that i can still feel the rush of blood when i hear my national anthem unlike many others. The celebrations in Bangalore was great as always . But for a software engineer it will be always forwards and sms that make the occasion fall into a jump start.

SMS were bit less this time. may be because working hard made me fall into a communication gap with my friends. I still remember my college days when i used to send sms 2 all my Friend (or even every one in my address book) and i got hundreds of sms also. Now those days are gone. Money is plenty now but spending it pains unlike the days i was spending on my pocket money, which was lavish (thanks dad!). Most of the phone calls these days are to the mobile of my girl friend and my parents (and official calls.).

By the way i did my first on-site call day before yesterday. May be an irony. on the day before the independence day i was feeling proud that i was in a conference call with foreigners. :)
still it is not that bad. They need the help of an Indian (me) to prosper. By serving them for money i am serving my country also to prosper (i like to think it that way ) :)

She was very sick yesterday also. But still didn't forget to give her my treat for getting my first spot award. :) Her fever was still raging when i left her today noon. Poor girl. A half day was all i could do. Anyway she wll be in her flight to home in air Deccan in about 2 hours. Wow...economy airways ki jai!!!!!!!!

Anyway me again going back to work.Has to fill the e-docket as i will be celebrating my 1st anniversary of joining infosys on 21st...

Cheers,
Arun

Monday, August 13, 2007

ORKUT Addiction...

This is really awesome. We used to do all sorts of hacking and scripting to add at least rich text(leave alone images and videos) in orkut. At last i was the first one to script the rich text embed before orkut fixed that. Then one genius found a loop hole to include images ...Long live "martin"...

Hacks came and went... May be orkut is fed up with people cracking in for more and more features... so Google team has included all those features in orkut now...all those cool ideas we implemented with much sweat is now easily done with few clicks....

Content from orkut help:


Now, you can paste in photos, videos, audio, and flash widgets in scraps to your friends. Here's how:
Add images :Copy and paste URLs ending in .jpg, .gif, .png or .bmp and the image will appear in the scrap.for example, http://example.com/example.jpg


Add videos from YouTube and Google Video :Copy and paste the URL and the video will appear in the scrap.for example, http://youtube.com/watch?v=videoid


Add podcast/audio :Copy and paste the URL of an audio file and an audio player will appear in the scrap.for example, http://example.com/example.mp3


Add html-embeddable objects Create or upload your content at sites such as photobucket.com, imageshack.com, rockyou.com or slide.com.

Copy and paste the html embed code to share it with your friends.

Arun

PS: now what new script should i implement? come on python...give me ideas....

Thursday, August 9, 2007

Shuttle Endeavour

Shuttle Endeavour blasted beyond the Earth's atmosphere Wednesday evening, finally fulfilling a challenge laid out by US President Reagan in 1984 to put a teacher in space.

Endeavour roared from the launch pad at Kennedy Space Center at 6:36 p.m. – exactly on schedule -- in front of a cheering crowd of thousands, including many of the teachers who originally competed with Barbara Morgan and her predecessor, Christa McAuliffe, to be the first teacher in space.

"Morgan racing toward space on the wings of a legacy," NASA mission commentator Rob Navias said as Endeavour rose into a hazy blue sky. It was built in 1991 to replace Challenger, which exploded 73 seconds after liftoff in 1986, killing McAuliffe and six other astronauts. Ten minutes later, the shuttle slid into orbit 140 miles up. Said Navias, "For Barbara Morgan and her crewmates, class is in session."

NEWS DESK

NASA TV


NASA TV (originally NASA Select) is the television network of the US space agency, NASA.


NASA TV is broadcast by satellite, and also simulcast over the Internet. Many local cable television systems across the US and Canada carry the channel, as do some amateur television repeaters. The station provides a large amount of educational programming, and also covers NASA space launches and missions (such as the space shuttle) live. Analog NASA TV transmissions ceased in late 2005 after the launch of STS-114, ending a period of dual analog/digital transmission, although it may still be available on analog cable TV systems. The satellite link uses the DVB system for data transmission.


NASA TV operates four streams: a media stream, a public stream, an educational stream, and a private "NASA-Only" feed.


Digital NASA Television via Satellite


In the continental United States, NASA Television's Public, Education and Media channels are carried by MPEG-2 digital C-band signal on AMC-6, at 72 degrees west longitude, Transponder 17C, 4040 MHz, vertical polarization. They're available in Alaska and Hawaii on an MPEG-2 digital C-band signal accessed via satellite AMC-7, transponder 18C, 137 degrees west longitude, 4060 MHz, vertical polarization. A Digital Video Broadcast compliant Integrated Receiver Decoder is required for reception. Analog NASA TV is no longer available.


Wednesday, August 8, 2007

Techie goes on train...

I really didn't want to miss the chance to share this story with you guys.

A young S/W Engineer and his Project Manager board a train headed through the mountains on its way to Wichita. They can find no place to sit except for two seats right across the aisle from a young woman and her grandmother.

After a while, it is obvious that the young woman and the young programmer are interested in each other, because they are giving each other looks. Soon the train passes into a tunnel and it is pitch black. There is a sound of a kiss followed by the sound of a slap. When the train emerges from the tunnel, the four sit there without saying a word.

The grandmother is thinking to herself, "It was very brash for that young man to kiss my granddaughter, but I'm glad she slapped him."

The Project manager is sitting there thinking, "I didn't know the young tech was brave enough to kiss the girl, but I sure wish she hadn't missed him when she slapped me!"

The young woman was sitting and thinking, "I'm glad the guy kissed me, but I wish my grandmother had not slapped him!"

The young programmer sat there with a satisfied smile on his face. He thought to himself, "Life is good. How often does a guy have the chance to kiss a beautiful girl and slap his Project manager all at the same time!"

BE Smart!!

This story may be funny...but it makes it's point... Be smart ...always...

Arun

Tuesday, August 7, 2007

Amazing CPU casing.

Feng shui Look The Sun Model

The Venom Look


Nerdy Style



Do I need to say?



Junk ;)




Racer







Devil's abode







Girly Stuff :)









Aztec Royal



I would really like to thank my friend Deepak who is doing B tech in Mohandas college in Kerala for sharing with me these cool eye candies...Dude You rock...
Arun






Monday, August 6, 2007

The Manager I never met...

The day started on a sad note. My US manager is resigning (client side). He is going in search of richer pastures. Best wishes to him first of all. But I WON THE BEST BLOG OF THE DAY AWARD...THAT ROCKS... :)

I always wanted to see Scott. But he will be flying much farther now. Good for him. Will miss him as he was a supportive kind...not like the usual managers we hear about...even he visit to India was expected with excitement. Now this resignation comes crashing on us. Any way on a mixed note i am starting my day.

Yesterday my password got locked.So couldn't fill my official activity report ...so let me start working on it before Kavitha catch me for not filling the WAR( weekly activity report).By the way i am still on that java hack. A software engineer will never rest until a solution is provided. ;)

Hey by the way...check this out...online file conversion without the use of any installed software...Isn't it cool???

http://www.zamzar.com/

Arun

Sunday, August 5, 2007

Java Hack --- external private variable access

I always thought that in java private methods can be called only from within the defining class. but a session on python changed my perceptions. I love python ...but that is not the case...I found a secret about java vaguely in that python session...A java hack...REFLECTION.

I did a research on it. Many experts have written widely about it. I am still researching more into it. I will post a detailed full fledged study soon.
Here i will just give a simple example of accessing a prvate variable of a class from outside.

Ref: Java ranch

-----------------sample-------------------

class A {
private static String ProtectData() {
return "Secure Password";
}
}

public class Hack {
public static void main(String[] args) throws Exception {
Class cl = Class.forName("A");
java.lang.reflect.Method[] m = cl.getDeclaredMethods();
m[0].setAccessible(true);
String pass = (String) m[0].invoke(null, null);
System.out.println("secure data:" + pass);
}
}

-----------------------------------------------------
Output:
secure data: Secure Password
-----------------------------------------------------

thanks Val for the guidance...
Arun

SHAKE IT OFF AND STEP UP

This parable about a farmer who owned an old mule impressed me very much. It came with one of Sattaluri's non stop forwards. Most will be usually ridiculously philosophical or incredibly girly type. I mostly delete all after one look. But this one really made the point. Sharing it with you guys...

The mule fell into the farmer’s well. The farmer heard the mule ‘braying’- or- whatever mules do when they fall into wells. After carefully assessing the situation, the farmer sympathized with the mule, but decided that neither the mule nor the well was worth the trouble of saving. Instead, he called his neighbors together and told them what had happened…and enlisted them to help haul dirt to bury the old mule in the well and put him out of his misery.

Initially, the old mule was hysterical! But as the farmer and his neighbors continued shoveling and the dirt hit his back…a thought struck him. It suddenly dawned on him that every time a shovel load of dirt landed on his back…HE SHOULD SHAKE IT OFF AND STEP UP! This he did, blow after blow.

Shake it off and step up…shake it off and step up…shake it off and step up! he repeated to encourage himself. No matter how painful the blows, or distressing the situation seemed the old mule fought panic and just kept right on SHAKING IT OFF AND STEPPING UP!
You’re right! It wasn’t long before the old mule, battered and exhausted, STEPPED TRIUMPHANTLY OVER THE WALL OF THAT WELL! What seemed like would bury him, actually blessed him… all because of the manner in which he handled his adversity.

That’s Life! If we face our problems and respond to them positively, and refuse to give in to panic, bitterness, or self-pity…THE ADVERSITIES THAT COME ALONG TO BURY US USUALLY HAVE WITHIN THEM THE POTENTIAL TO BENEFIT AND BLESS US!

Arun

Friday, August 3, 2007

Bringing in friends..

I hope that python script for anonymous mails i wrote wont cause any problems. I still doubt if the idea of publishing it was a good one. Anyway ... my creativity ..my property...

So i have made Lakshmi also join the blog bandwagon. Let us see if she can maintain the momentum. Anyway ,that also gave me a new inspiration to write more on my blogs. Even Robins is planning to revive his blog after nearly two months...

The problem with software engineers is that when they get a break during work, they cook up many idea. Does that mean that breaks are the cook pot for creativity? :) That was a cool idea...Even that came up during my lunch break...So it really works...

oh I forgot. i was saying about the problem ..right?? the birth of idea is not the problem... The urge to give a form to the idea is also not the problem. the problem is that they lose interest in the activity very soon or at least they wont get much time for that for a very long time... may be it is one of Murphy's law..what the hell..its my law.. ;)

So now i got some 1 hour after lunch..once the OSI work starts in full swing i will have lot of time..but only for coding....forget blog...when will i enjoy? I really hope some one see this and appreciate my commitment.. ;)

I was thinking of some incidents to show as examples for this...but see...i got some work...But still i think that if you have a strong will, then you can chase any dream...I repeat..chase..not attain...attainment of dream is the culmination of God's grace and commitment...

Arun

PYTHON SCRIPT to send anonymous mails.







http://www.uploadyourimages.com/view/241318py_format.jpg


import smtplib
from email.MIMEText import MIMEText
def sendTextMail(to,sujet,text,server=""): #servername.company.com fro = "fake id" # you can give anything here.
mail = MIMEText(text)
mail['From'] = fro
mail['Subject'] =sujet
mail['To'] = to
smtp = smtplib.SMTP(server)
smtp.sendmail(fro, [to], mail.as_string())
smtp.close()
sendTextMail("[recepient id]","[subject]","[message content]")

Music...