A platform to write down all the geeky tips and tricks i ever formulated in the cyber world... Please don't leave this page without leaving at least a simple comment...
Monday, November 19, 2007
Firefox : Reopen the last closed tab and other short cut keys
I discovered the Firefox keyboard shortcut that re-opens the most recently closed tab: Ctrl-Shift-T. (Cmd-Shift-T for Mac users.)
This one ranks up with Ctrl-T (new tab) and Ctrl+L (go to address bar).
CTRL+T = New Tab
CTRL+TAB = Go to the next tab (right)
CTRL+SHIFT+TAB = Go to the previous tab (left)
CTRL+K - goto google search bar
CTRL-1 to go to your first tab
CTRL-(number between 2-8) to go to the (second to eighth) tab
CTRL-9 to go to the last tab
sk
Monday, November 5, 2007
Linux commands to check for Disk Usage and Free Space on disk
About du
Tells you how much space a file occupies.
Syntaxdu [-a] [-k] [-s] [-d] [-L] [-o] [-r] [-x] directories
Example :
[root@HACK1 Directory]# du 4 ./certs4 ./keys4 ./trust-certs100128 .
------------------------------------------------------------------------------------------------
About df
Tells you how much free disk space is available for each mount you have.
Syntax - Man on the details for more info
df [ -F FSType ] [-a [-b] [-e] [-g] [-k] [-l] [-n] [-t] [-V ] [ -o FSTypespecific_options ] [block_device directory file resource ... ] [-P]
Examples
df
In the below example when performing just the df command with no additional switches or specification of the file or directory you would get a listing of all file systems and their used and available space. Below is an example of what this command may display.
[root@HACK1 Directory]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p1 12357692 11324400 907748 93% /
/dev/cciss/c0d0p6 43009872 16444384 24380652 41% /common
/dev/cciss/c0d0p3 256665 8413 234999 4% /grub
/dev/cciss/c0d0p2 12357724 32828 11697160 1% /partB
none 512700 16752 495948 4% /dev/shm
Thanks to Kavitha for the details
Linux - count number of files in a sub directory
[a typo corrected..Thanks 2 itmozart 4 pointing it out]
To get the number of files in a directory including sub directories on Linux
Run ls -1R [shift + \] wc –l
e.g:
[root@HACK1 root]# ls -1R [shift + \] wc -l
29
[root@HACK1 root]#
Thanks to my friend shiva for providing this.
Enable remote services on the 2003 Server
To enable remote services on the 2003 Server:
1. Check if mstsc.exe is available on the Server in some system path.
2. Ensure Terminal Services Service is set to Automatic and started
2. My Computer ->properties -> Remote tab -> Check on "Enable remote desktop on this server"
Regards,
Arun
Scientific Calculations in JAVA using 'pi' and 'e'
Many scientific/trigonometric/mathematical applications need the values of ‘pi’ and ‘e’ (the basis of natural logarithms) for calculations. The math class in the java.lang package has two static double constants that represent values that are closer than any other to these. They can be used in calculations.Since they are static, they can be used as Math.PI and math.E .
Regards,
Arun
Google calculator
Calculator.
To use Google's built-in calculator function, simply enter the calculation you'd like done into the search box and hit the Enter key or click on the Google Search button.
The calculator can solve math problems involving basic arithmetic, more complicated math, units of measure and conversions, and physical constants.
5+2*2
2^20
sqrt(-4)
example:
((48 934 * 950) / 463) + 234 = 100 638.536
Unit conversion - very useful to us.
example:
27 919.211 kilobytes = 27.2648545 megabytes
half a cup in teaspoons
160 pounds * 4000 feet in Calories
Currency Conversion.
3.5 USD in GBP
currency of Brazil in Malaysian money
5 British pounds in South Korean money
2.2 USD per gallon in INR per litre
example:
5 U.S. dollars = 196.602705 Indian rupees
Definitions.
To see a definition for a word or phrase, simply type the word "define," then a space, and then the word(s) you want defined. If Google has seen a definition for the word or phrase on the Web, it will retrieve that information and display it at the top of your search results.
example:
You can also get a list of definitions by including the special operator "define:" with no space between it and the term you want defined.
Ever wanted to see the next webpage without clicking?
Once I started using this in my firefox, only then I realized its potential. Some of the benefits I think are very good-
1) This preview will go away once you remove your mouse from the preview.
2) If you simply go to the next link while watching one preview, it will show the next preview in the same window. This feature is extremely useful when I need to browse many DDTS listed in hotlist.
3) This is really fast enough to say that it saves my browsing time.
4) You can customize this preview window, this is really amazing stuff.
5) This is available for Internet Explorer also.
You can install this small plugin from http://www.cooliris.com/site/firefox/
Welcome to the fast and efficient browsing.
Cooliris Previews is a free browser add-on that lets you preview links and rich media without clicking or leaving your current page, so you can browse the web faster than ever. Simply mouseover a small Cooliris icon next to the link, and a preview window instantly appears with your content. No more clicking back and forth!
Once I started using this in my firefox, only then I realized its potential. Some of the benefits I think are very good-
1) This preview will go away once you remove your mouse from the preview.
2) If you simply go to the next link while watching one preview, it will show the next preview in the same window. This feature is extremely useful when I need to browse many DDTS listed in hotlist.
3) This is really fast enough to say that it saves my browsing time.
4) You can customize this preview window, this is really amazing stuff.
5) This is available for Internet Explorer also.
You can install this small plugin from http://www.cooliris.com/site/firefox/
Welcome to the fast and efficient browsing.
thanks to my friend Robins for this cool tool...
Wednesday, September 26, 2007
Register Dll files in Explorer for Windows
Have you ever wanted to register dll files from Explorer? DLL files that export the DllRegisterServer and DllUnregisterServer (as COMdll files do) can easily be controlled from the Explorer while selected. You can register/unregister it as seen in the image above. To enable this feature add subkeys to the registy under HKEY_CLASSES_ROOT\dllfile\shell as in the following:
Registry Editor
RegSvr32
Wednesday, September 19, 2007
Prevent Password Attacks windows 2000/2003
The purpose of this hack is to prevent machines saving the weak NTLM hash in their registry which could then be attacked.
You may ask 'How will logon work if you disable this feature?'
The answer is that XP, .NET and Windows 2000 use a separate kerberos security system, this NTLM hash is only there for backwards compatibility with SAM databases in NT.
Its purpose would be to enable users on Windows 2000 to logon to NT domains.
For Windows 2000, locate and click the following key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
From the Edit menu, click Add Key, and then add the following registry key: NoLMHash. Set NoLMHash = 1
In XP Value name: NoLMHash, Data type: REG_DWORD Radix: Decimal Value data: 1
Arun
Preventing Denial of Service (DoS) Attacks -Windows 2000/2003
Denial of Service attacks are difficult to defend against. One approach is to harden the TCP/IP stack on a Windows 2000 server or workstation to help prevent DoS attacks .
By default, the TCP/IP stack is configured to handle normal traffic and to be robust under normal working conditions. If a Windows 2000 server or workstation is going to be exposed to the Internet, the TCP/IP stack should be reconfigured to handle the various TCP/IP protocol attacks.
All of the TCP/IP parameters are located under the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
SynAttackProtect
Key: Tcpip\Parameters
Value Type: REG_DWORD—Boolean
Valid Range: 0, 1, 2
Default: 0
When enabled, this parameter causes TCP to adjust the retransmission of SYN-ACKS to cause connection responses to time out more quickly if it appears that there is a SYN-ATTACK in progress. This determination is based on the TcpMaxPortsExhausted parameter.
Parameters:
0: Default Value – Normal protection against SYN Attacks.
1: Better Protection - This parameter causes TCP to adjust the retransmission of SYN-ACKS to cause connection responses to time out more quickly if it appears that there is a SYN-ATTACK in progress. This determination is based on the TcpMaxPortsExhausted, TCPMaxHalfOpen, and TCPMaxHalfOpenRetried.
2: Best Protection – Adds in additional delays to connection indications to quickly timeout TCP connection requests when a SYN=Attack is in progress. This is the recommended setting. Note: When using this setting, the following socket options will no longer work: Scalable windows (RFC 1323) and per adapter configured TCP parameters (Initial RTT, window size).
Arun
iPods That Didn't Quite Make It to OUR HANDS... unreleased ipods
After extensive research based upon classified information from deep within Apple (and at the expense of several human lives, regrettably), Low End Mac published a never before seen list of iPods that never quite made out of the R&D labs and into production.
Some of the less fortunate models:
iPod wristwatch: This iPod comes with a built-in wrist band and has one more menu item: Wristwatch Display.
iPhone iPod: This variant of the iPhone has a docking station in it for the iPod nano.
StereoPods: Two iPods, miniaturized to the size of hearing aids, synchronized via Bluetooth to play one channel (each) for about seventeen seconds.
iPodPlasma: A 110-inch plasma screen TV with a built-in, non-removable iPod.
StevePod: Steve Jobs' iPod with 2 TB storage capacity with a small video projector for a screen; available 3Q 2017.
SegPod: A Segway with a built-in iPod.
Podway: An iPod with a built-in Segway.
PeaPod: An iPod delivered in a cute floral arrangement.
aPlod: An iPod for actors.
Operation Enduring iPod: a sandproof, bulletproof, satellite enabled iPod. Cost: $23 million.
embeddiPod: Subcutaneous iPod. You heard it here first.
Thomas the Tank Pod: Thomas needs to deliver a musical interlude to Sir Topham Hatt! Can he figure out the menus in time?
Walt Disney's Brother Pod: Sold in pairs, one classic and one nano, targeted at bears that happen to be different sizes but brothers.
The digital music landscape might be completely different had these units gotten the thumbs up from CEO Jobs.
Thursday, September 13, 2007
Windows Vista hack
Windows Vista may be Microsoft's most secure operating system to date, but researchers are still finding some glaring loopholes forhackers to exploit. Here is the latest: all you need is a Vista Install DVD to get admin level access to a hard drive.
The loophole arises because the Command Prompt tool in Vista's System Recovery Options fails to request user name or passwords beforehanding over access to PCs running the operating system. The hack, discovered by security researcher Kimmo Rousku, only works locally.Physical access to a target PC is a must. Even so, the potential for mischief (such as deleting directories or copying files on targetedPCs) is enormous. Hackers don't even necessarily need to run a DVD. "It’s easy to create a bootable USB flash memory that works in asimilar way," Rousku notes.
He discovered the problem during a training workshop on Vista back in February and reported it to Microsoft at the time. Since then, Microsofti has sat on the problem, according to Rousku, so he has gone public. The hack also works on machines running other versions of Vista, providing the PCs are not protected by full disc encryption.
A write-up by Rousku explains the issue in detail and suggests workarounds.
Anti-virus firm F-Secure notes that getting into PCs running Windows XP Home is also straightforward, at least in default set-ups, usinga different trick. "The Administrator account password for XP Home is blank by default and is hidden in Normal Mode. But if you selectF8 during boot for Safe Mode, you can access the Administrator account and have complete access to the computer," F-Secure notes.
Arun
Monday, September 10, 2007
Take Cisco CCNA certification exam before November 6th.
After November, it will be much more difficult to earn your Cisco CCNA because of a major update.
This update will indeed make it more difficult to attain a CCNA and for good reason!. Many people are just getting their CCNAcertification and stopping (not moving on to the CCNP, CCSP, or whatever).So Cisco decided, if that's all your going to do, thenwe'll make it so you really have an idea of what you're doing!
The CCNA certification has been split into two exams: ICND1 and ICND2. Because they have added so much information, Cisco hasreleased a lower-level cert to the CCNA: the Cisco Certified Entry Level Tech CCENT. If you pass the ICND1 exam, you get this newcertification. Passing ICND1 and ICND2 gives you the CCNA certification.
ICND1 really focuses on the smaller network environment. You'll need to know the basics of routing, switching, and wirelesstechnology. Also new to the scene is the Cisco Security Device Manager SDM graphic interface for managing your routers. Most of whatthe CCENT-certified person is able to do is done in the GUI. Command-line is typically used for verification.
ICND2 is where the rubber meets the road. Much of what used to be only in the CCNP track has moved into this exam - it is primarilyfocused around things like Access-lists, VLANs, Rapid STP, and NAT. Not to mention some advanced routing protocol config (OSPF /EIGRP).
Ref:Jeremy Cioara
Arun
Saturday, September 8, 2007
cheat with AdSense - fraud
Apparently a man in California has allegedly been trying to defraud Google first by writing a program which created fraudulent AdSense clicks. Then he tried to sell his program to web publishers. Did he use AdWords to promote it I wonder?:-
Headline: Cheat the AdSense system
Body1: How to cheat AdSense & steal money
Body2: from Google & advertisers.
Info here
URL: http://www.adsensefraud.com/
Not finding many buyers - did his ad go to the wrong landing page? - he eventually hit on the bright idea of blackmailing Google instead to the tune of $150,000.
Oddly enough he didn’t get away with it.
IMHO if you’re going to blackmail Google you at least ought to be talking real money rather than stuff under the $million mark.
He doesn’t sound too smart to me but this must be the nightmare scenario for Google and its AdSense program: as soon as stories get out about people successfully cheating the AdSense system, advertisers will take fright and Google, alongside the hundreds of thousands of publishers who rely to a degree on AdSense income, will find a revenue stream under threat.
Arun
Wednesday, September 5, 2007
Open the Command Prompt from the Right-Click Menu...
Often, when using Windows Explorer, I want to open the command prompt at the folder that's my current location. That takes too many steps:
opening a command prompt and then navigating to my current folder.
However, there's a quicker way:
you can add an option to the right-click context menu that will open a command prompt at your current folder.
For example, if you were to right-click the C:\My Stuff folder, you could then choose to open a command prompt at C:\My Stuff.
To add the option, run the Registry Editor, then go to HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell.
Create a new key called Command Prompt.
For the default value, enter whatever text you want to appear when you right-click a folderfor example, Open Command Prompt. Create a new key beneath the Command Prompt key called Command. Set the default value to Cmd.exe /k pushd %L.
That value will launch Cmd.exe, which is the XP command prompt. The /k switch puts the prompt into interactive mode.
That is, it lets you issue commands from the command prompt; the command prompt isn't being used to issue only a single command and then exit. The pushd command stores the name of the current directory, and %L uses that name to start the command prompt at it.
Exit the Registry. The new menu option will show up immediately. Note that it won't appear when you right-click a file; it shows up only when you right-click a folder.While many of us like fussing around with the Registry rather than doing things the easy way, there's also a way to add this option to your right-click context menu without editing the Registry.
Arun
18 Common Mistakes that Violate Google Adsense TOS...
On my visit through sites and forums, I daily notice several instances of misuse of Adsense ads. So here a few helpful Google Adsense tips, probably many you already know, and few you might gain by knowing now. These adsense faq are all picked from the Program Policies, Terms and Conditions and FAQ itself and presented in a simplified manner.
1. Never click your own adsense ads or get them clicked for whatever reason. You know this one very well. This is a surefire way to close you Adsense account. Never tell your office associates or friends to click on them. Keep a check if your family or children are busy increasing your income by clicking your ads and indirectly trying to stop your income. Dont even think of offering incentives for clicks, using automated clicking tools, or other deceptive software. Adsense is very smart to detect fraudulent clicks. Check the ads which appear on your pages by the Google Preview tool if required.
2. Never change the Adsense code. There are enough means of adsense optimization & customizations available to change the colour, background or border to suit your needs. Do whatever you want to do outside the code, never fiddle within the ad or the search code. They know it when you do. The search code has more limitations to colour and placement, but you should adhere to the rules. The code may stop working and violates the TOS.
3. Do not place more than 3 ad units and 3 ad links or 2 adsense search boxes on any web page. Anyway, ads will not appear in those units even if you place more ad units. But this is the limit they set, so it is better to stick to it.
4. Do not run competitive contextual text ad or search services on the same site which offer Google Adsense competition in their field. Never try to create link structures resembling the adsense ads. Never use other competitive search tools on the same pages which have Adsense powered Google search. They do allow affiliate or limited-text links. Update: Google has allowed you to run contextual advertising like Yahoo ads, Chitika etc provided the ads do not resemble Adsense ads.
5. Do not disclose confidential information about your account like the CTR, CPM and income derived via individual ad units or any other confidential information they may reveal to you. However, you may reveal the total money you make as per recent updates to the TOS.
6. Label headings as “sponsored links” or “advertisements” only. Other labels are not allowed. I have seen many sites label ads with other titles. Dont make your site a target in a few seconds gaze.
7. Never launch a New Page for clicked ads by default. Adsense ads should open on the same page. You may be using a base target tag to open all links in a new window or frame by default. Correct it now as they do not want new pages opening from clicked ads.
8. One Account suffices for Multiple websites. You do not need to create 5 accounts for 5 different websites. One account will do. If you live in the fear that if one account is closed down for violation of TOS, believe me they will close all accounts when they find out. You can keep track of clicks by using channels with real time statistics. They will automatically detect the new site and display relevant ads.
9. Place ads only on Content Pages. Advertisers pay only for content based ads. Content drives relevant ads. Although you might manage some clicks from error, login, registration, “thank you” or welcome pages, parking pages or pop ups, it will get you out of the program.
10. Do not mask ad elements. Alteration of colours and border is a facility to blend or contrast ads as per your site requirements. I have seen many sites where the url part is of the same colour as the background. While blending the ad with your site is a good idea, hiding relevant components of the ads is not allowed. Also do not block the visibility of ads by overlapping images, pop ups, tables etc.
11. Do not send your ads by email. Html formatted emails look good and allow placement of these javascript ads. But it is not allowed as per TOS. You do not want impressions registering on their logs from any email even once. They are watching!
12. Keep track of your content. So Adsense is not allowed on several non content pages. But it is also not allowed on several content pages too. Do not add it on web pages with MP3, Video, News Groups, and Image Results. Also exclude any pornographic, hate-related, violent, or illegal content.
13. Do not alter the results after ad clicks or searches - Ensure you are not in any way altering the site which the user reaches to after clicking the ads. Do not frame, minimize, remove, redirect or otherwise inhibit the full and complete display of any Advertiser Page or Search Results Page after the user clicks on any Ad or Search results.
14. Avoid excessive advertising and keyword stuffing - Although the definition of ‘excessive’ is a gray area and is subject to discretion, yet Google adsense with correct placement, focused content and high traffic will get you much more income than other programs, so excessive advertising is not required. Keyword stuffing does target better focused ads, but overdoing it is not required.
15. Ensure you Language is Supported - Adsense supports “Chinese (simplified), Japanese, Danish, Korean, Dutch, Norwegian, English, Polish, Finnish, Portuguese, French, Russian, German, Spanish, Hungarian, Swedish, Italian and Turkish. In addition, AdSense for search is available in Czech, Slovak, and Traditional Chinese. If your web pages language is not supported, do not use the code on such pages.
16. Maximum 2 referral button per product per page - With the launch of the google adsense referral program, you are allowed to put only 2 referral buttons for adsense referral, adwords referral, Google pack and Firefox with google toolbar referral.
17. Do not specify Google ads as your alternate ads. - Several services like Chitika eminimalls allow you to place alternate urls, when a targeted paying ad cannot be displayed. This involved creating an simple html page and putting the ad to be displayed instead. Even Adsense allows an alternate url feature instead of displaying public service ads. But never use Adsense ads as alternate urls.
18. Do not confuse with adjacent images - It was a common policy to increase CTR by placing same number of images as the number of text ads, which falsely gave the impression that the text ads represented an explanation to these images. Inserting a small space or a line between the images and ads is not allowed. Make sure that the ads and images are not arranged in a way that could easily mislead or confuse your visitors.
Whenever in doubt, it is better to ask for adsense help from the learned staff of Google Adsense. They are very helpful!
Arun
Monday, September 3, 2007
Beware of the Fake "Nokla N95" Phone
The good news is that it's a clone, but not a very good one. There's some telltale signs that you need to watch out for when it comes to the N95.
Here's a side-by-side comparison of the two phones, frontal view.
Note:
The stylus-driven menu buttons (red box). The fake N95 has a "touch-screen" with a stylus, and the easiest way to spot the counterfeit is by checking this area. If you see a row of little icons (compare to the real N95, bottom), then it's a knock-off.
Wrong buttons and no dual-slide. (yellow and green boxes) In place of the real N95's Menu/Multimedia Key buttons, the fakey N95 has a Play button (yellow box) and a Stop button (green box). This is mainly because it doesn't have a dual-slide mechanism, so whoever designed the knock-off dropped the playback buttons anywhere. And since there's no Symbian OS, there's no need for the menu buttons either.
Back view of the real and fake N95s:
The Color.
The real Nokia N95 comes in two colors: Silver/Plum and Silver/Sand (sort of a silvery-yellowish color). The plum and sand colors refer to the back cover of the phone (which includes the sides too). However, the counterfeit has a back cover that's black.
Lens Cover Thumb-Switch (orange box). Doesn't exist on the fake N95, but very prominent on the real thing.
Nokia Logo (teal box).
When the two phones are looked at from this angle, note the difference in the logo placement, size, and direction (it's flipped on the fake).
Some random camera oddity on the fake (purple box). Not sure what this piece is supposed to be, but there's some random design on the Nokla N95 (the knock-off) that's in the shape of a 3. Don't be fooled!
Also note that the buttons on the fake look cheaper and are raised slightly higher than they're supposed to be.
Some more pictures as a reference (the fake N95):
Arun
Why is Windows Error Reporting nicknamed "Dr. Watson"?
As you have probably guessed, The name Dr. Watson was inspired by the character of Dr. Watson, the assistant to Sherlock Holmes in the stories by Arthur Conan Doyle.
It is my understanding that the doctor was originally developed as part of Windows 3.0 beta testing. His job was to record data about application crashes to a file, so that the file could be uploaded and included with bug reports. The icon was (and continues to be) a friendly doctor using his stethoscope to investigate a problem.
The Doctor has remained true to the "capture information about an error" aspect of his job. In the meantime, the word "Watson" has expanded its meaning to encompass anonymous end-user feedback mechanisms in general, such as "Content Watson". (But if you hear "Watson" by itself, the speaker is almost certainly talking about error reporting.)
Arun
Saturday, September 1, 2007
How google track invalid clicks in adsense
We always hear that Google has a sophisticated system to detect the invalid clicks, and result in termination of the cheaters' account. But, how can Google do that? In this post, I summarize those ways that Google depends on to detect whether the clicks on your site are invalid or not. Google will not first ban your account immediately. Rather, they will first flag your account and Google will keep a closer eye to your account. In some occasion, they may send you a warning letter to notify your situation; but sometimes not.
1. IP Address
It is the easist and must be recognized by everyone. If those clicks on your ads are originated from the same IP Address as the one used for accessing your AdSense account, your account is flagged.
2. Click Through Rate (CTR)
Normally, Click thru Rate should not excees 10%. Otherwise, Google will flag your account. For your information, normal CTR should ranges from 0.5% - 10%.
3. Physical Location
Google has good tracing software and technology.They can trace traffics origin down to the small town. So, using different computers with different IP address does not secure anything. So, don't try to click your ads in various internet cafes. That will kill you.
4. Cookies
Most home users do not use static IP Address for Internet connection. In most cases just disconnect and reconnect will give you a new IP Address. But don't forget, Google has set cookies on your computer. They can trace these cookies and see whether they originate from the same computer.
5. Click Pattern 1
It is also suspicious when people click on their clicks and then run away immediately (hit-and-run). But normally, people will surf for a while inside your pages and then click on the ads they want.
6. Click Pattern 2
why this computer / IP address / person is so trigger-click-happy on this particular website but never click on the ads on other sites?
7. Click Pattern 3
And why is it that people accessing these sites direct (type-in URL or from bookmark) tend to be very active ad-clickers compared with those referred from search engine or other sites?
8.Other Google Services
Apart from Google Adsense, Google also provide a series of services to us. Don't just think that it is safe if you do not log in your adsense account and click on your ads. What other Google services do they provide to us? Here are some: Gmail (most poeple are using it), Google Earth, Google Calendar, Google Search, Google Toolbar, Google Talk, Google Sitemap, Google Desktop, Blogger, or even Youtube (coz Google has just recently acquired it).
9. Search Engine RankingYour website is not indexed on any search engine, not linked by any prominent website, but get consistently high traffic? How come people can access your website and click your ads? That will make Google to smell a rat.
10. Webpage designHow about the "Please click a link below" or "donate us by clicking the ads"? These kinds of encouragement is not in line with Google's TOS. Google can use their winning search engine, or even human eyes to check your sites from time to time.
11. Advertisers conversion rate
Ad click is one thing. But does it bring value to the advertisers? If none of the clicks on your site translate to conversion to the advertiser, you are in trouble. First the Smart-Pricing hits, then your AdSense account disabled.
Arun
Thursday, August 30, 2007
Automatically Kill Programs At Shutdown...
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
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
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
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
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
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.
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
http://www.google.com/transliterate/indic
Arun
Tuesday, August 28, 2007
Create a folder named CON in windows-solved.
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
Independence day of a software engineer.
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...
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
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 operates four streams: a media stream, a public stream, an educational stream, and a private "NASA-Only" feed.
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...
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
Monday, August 6, 2007
The Manager I never met...
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 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
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..
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.
import smtplib
from email.MIMEText import MIMEText
def sendTextMail(to,sujet,text,server="
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]")
Monday, July 30, 2007
Display legal notice on startup
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”
Thursday, July 26, 2007
Use NotePad as dairy
1. Open a blank Notepad file.
2. Type .LOG as the first line of the file, followed by an Enter. Save the file and close it.
3. Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and places the cursor on the following line.
4. Type your notes and then save and close the file.
5. Each time you open the file, Notepad repeats the process, appending the time and date to the end of the file and placing the cursor below it.
Monday, July 23, 2007
Return Of The Angel...
But why?? I know what I did and when i did...So i will put blogs as i like...F*** Off who ever doesn't like it...
So here goes the forgotten blog of the past yesterday----------
"""She is sorry for everything she did ... So i decided to forgive... Again... But that is not the problem... Well, lets see...
So who could have stolen two cables from my lab machines....anyway Tejas was kind enough to give two new ones...Made in china... :) Machine Lakshmi screwed up is also working now...So lab is back in action...But i still doubt that some one did some serious mess up in my lab...
Started hearing that lagaan song...hmmm..not much inspiration coming out of it...I still feel sleepy after lunch... What the hell..who had lunch today? I had one big puffed bread with some shit...OK OK ..infy vocabulary..its called Channa batoora...That filled me ??? No way... Even the aloo paratha i had with shiva didn't fill me...But one thing is for sure...Mango juice in 'plantain leaf' sure rocks.
By the way...took tickets for shivaji..she took it with my credit card...so will be going by 5.15 bus...6:30 show..PVR....I know it is a damn bad masala flick...But shankar ,shreya and songs make it worthy...Man you should see shreya in those pics..she is awesome...
God..Praddy got a spot award...Hmmm...a bag came with it...that is cool...Corporate idea of motivating highly skilled overworked employees. ;-) It is not that i don't want one. But what is the point??? In nortel each and every1 is getting one spot award. So what is so special?? May be i will stop saying this when i get one...
Must hurry up..just 45 mins for the 5:15 bus...must remind kavitha a bit...ok...review for the code change approved....
I hope this check in works out... 'cc_update –m LATEST' did not work... Let me ask kavitha for the old command...
Ok the result is in...use cleartool ci
"
OK what ever happened after that is a big surprise..Will detail it after i check out the next 5.0(4) version.
Cheers,
Arun
Friday, July 20, 2007
Screwed...
By the way i am not the only one... My lab machine is also screwed..But this time it was Lakshmi... Who the hell thought a restore after this much coding will cause such a disaster? Any way disaster is the name of the project...So no worries... ;)
Again screwed..Today was the last date for submitting tax returns...and i slept happily thinking that it was on 30th..Screw you Amrutham... But i had all the documents to submit.But still she didnt submit.Waiting for her... Will have to find some tax consultant...
Anyway all problems with new check out is solved.. Let me jus wait for Jenni to give her machine details and i am good to go.That was a week long screwing...I hope it is over...Thank God...Hope check in will go without any such incidents.
These days eating samosas have increased to astronomical levels... found 1 new theory...size of the tea cup is inversely proportional to the rate of increase in the craving for the next cup of tea... :)
The funny thing is that they are planning to get me married to a girl who is just out of college. Hmmm....I dont want to tell this to her..Not this girl ...My girl.... how come only my parents want to get their son married so soon ?? Hmmmm...Anyway will discuss when they come here next month...
oops...time for last bus..Jenni is stilll not online..whatever ....gotta run....
Cheers,
Arun
Thursday, July 19, 2007
Visit of the Titans...
Anyway still I haven't submitted my tax returns. Even she is waiting for me to file her returns also.Who cares... I got date till this 30th. Anyway i have applied for the leave. So will be going home for onam. A cool 9 day vacation. But 5 earned leaves of my remaining 6 gone...Hmm...cant afford any more stay-homes. I hope i don't be late for booking bus ticket for home. Damn...I cant afford going by plane again. First of all the low price ticket availability for august is gone... So bus will be the only option.
By the way...If ramesh don't approve my leave i am screwed...But he will 4 sure...Anyway kavitha has approved.More over it is to also to attend a team mate's marriage ..right?...so it is going to be fine...Still what the hell is the MICR code for icici Mysore? If i don't get that , i can never fill that tax return data sheet...I should have transferred my account to Bangalore long back...
Oh...I hope that client visit is over...The whole set up and preparation for that was gross... Still cant understand why we need to show this much discipline to them when even they think it's cool to hear songs during hard work and to have a carefully careless work station set up...American colonialism...No way..They are cool...We are just imagining being under some damn control...Whatever...
Wow...My code has downloaded completely from the build server. So now back to work. Will do more thinking later...By the way that mail showing that gal getting her flesh carved instead of tattooing still haunts me..Why does Appu send all these damn gross mails?? But still ...that flesh carving would be cool...Should find out where it is being done in Bangalore.... ;-)
Cheers,
Arun