Skip to main content

Posts

Showing posts with the label tech tricks

Digg Source Code has a "Secret Message"

Recently I came to know about this, the homepage of Digg contains a "Secret Message" . This secret message is in the source code of the Home Page of the website in the form of a comment at the very bottom .After analyzing the code it seems that some physics-lover has worked on the code of the website.The message is ::: This line is a comment and thus not visible on the website but can easily be seen in the source code of the homepage.These are not just random numbers but are a result of very smart physics work done at the Digg labs. What is the significance of these numbers ? Take a guess (Hint :: Relate these numbers to physics)... OK,here is the answer..... 2.01355321270u :: This is the atomic mass of the hydrogen isotope known as D euterium. 137.03599911 :: This is a complicated one and really a geek in physics can figure this out.This is I nverse of the Sommerfield fine-structure constant. 6.6742x10-11m3kg-1s-2 ::The last two numbers are the same.This one is v...

Custmizing Firefox : Tips and Tricks

Here are some tips and tricks for Firefox users to customize their favorite browser.Check them out:: 1.Keyboard shortcuts:: These shortcuts will give you a better browsing experience Spacebar ->page down Shift + Spacebar ->page up Ctrl + F ->find Alt + N ->find next Ctrl + D ->bookmark page Ctrl + T ->new tab Ctrl + K ->go to search box..... Ctrl + L ->go to address bar Ctrl + = / Ctrl + + ->increase text size Ctrl + - decrease text size Ctrl + 0 ->default text size Ctrl + W ->close tab F5 ->reload Alt + Home ->go to home page 2.Auto Complete:: This is yet another feature of Firefox that is widely used. Go to address bar and write only the name of the site you want to open say for example Google and then press Control-Enter ->(for "www.google.com") Shift-Enter ->(for "www.google.net") Control-Shift-Enter ->(for "www.google.org") 3. Tab navigation:: Ctrl+Tab (rotate forward among tabs) Ct...

Clickjacking "Browser Exploit"

Clickjacking is a term used by two security experts Robert “RSnake” Hansen and Jeremiah Grossman to define a new major web attack that could potentially affect millions of web users.This threat exploits the bug that is present in "One of the Adobe products" but Jeremiah and Robert believe that the clickjacking flaw ultimately lies in the way that Internet browsers are designed.According to Grossman "If I control what you click on, how much bad can I do? It turns out you can do a number of really, really bad things." What makes the attack noteworthy is that this attack is compatible with all browsers and their all versions be it Firefox,IE,Opera,Safari or any other browser.Jeremiah and Robert were going to demonstrate this attack on Open Web Application Security Project (OWASP) in New York City this week but on Adobe's request they postponed their demonstration so that the Adobe can contact all web browser vendors and can release a patch for this exploit....

The Great Zero Challenge

In order to permanently delete data the only way is to destroy the hard drive ?Can we save the Hard Drive for future use destroying permanently the data?Can we recover data from a hard drive that has been overwritten with zeros once? This is what The Great Zero Challenge is all about.It starts with the line:: It is noble and just to dispel myths, falsehoods and untruths The challenge is organized by a firm in US named 16 systems and any established, professional data recovery company within USA can participate.Data recovery companies were contacted and the response of one of them was According to our Unix team, there is less than a zero percent chance of data recovery after that dd command. The drive itself has been overwritten in a very fundamental manner. However, if for legal reasons you need to demonstrate that an effort is being made to recover some or all of the data, go ahead and send it in and we'll certainly make an effort, but again, from what you've told us, our eng...

Crazy Typewriters

Imagination have no boundaries and people ready to experiment can take their creativity to another level.Recently while surfing the net I came across this post on some site,what drew my attention was the work of Mr.Jeremy Mayer who collects antique typewriters, not to display them but to break them into small components and then combine them into some amazing sci-fi-inspired bugs, skeletons and human figures. Mayer, who describes his work as a cross between Leonardo da Vinci's mechanical drawings and the gritty futures imagined by sci-fi maestros William Gibson and Philip K. Dick , assembles his artwork without welding, soldering or gluing. Amazing Isn't it!! Photos courtesy Jeremy Mayer

CSI Stick

Cellular Seizure Investigation (CSI) Stick, a product from the Paraben Forensic Training developed primarily for law enforcement, surveillance, and intelligence operations but available to the public, acquires data from cellphones.This portable solution is easy to use with a simple one button command to gather data from the device. Whether it is logical or physical information, the CSI Stick can gather the data. The most striking feature of this device is its size(that of a thumb or a small Pen Drive) and its single button interface which let intruders copy the data in a fraction of seconds.Moreover it does not require a "special" port for connecting to the cellphone.It connects to the data/charging port and will seamlessly grab e-mails, instant messages, dialed numbers, phone books and anything else that is stored in memory. It will even retrieve deleted files that have not been overwritten. And there is no trace whatsoever that the information has been compromised, nor an...

Downloading all the images in a gallery.......

->You should have download accelerator and Mozilla Firefox to perform this trick. The Trick: Most of the sites save the images of a particular gallery with a common name followed by a number for example “image1″,”image2″,”image3″ and so on, first we are going to get the image url and then use a “C” program to produce a html page ( dload.htm) which contains links to all the images in the gallery. Open the gallery which you want to download in mozilla . Now open 3 to 4 images of the gallery , right click on the image and select view image now you will get the url of the image in the address bar compare the urls 3-4 images to find a pattern in them.Now copy the url and replace the url in the code given below with it.Now replace the numbers in the image name which are varying with %d in our case replace “image1″ with “image%d”. You can get the upper limit of “i” by checking the url of the last image compile and run the code given below after replacing the url and open the dload.htm ...

The Levenshtein distance!!!

Must have seen Google responding intelligently to your query like: Did you mean Google? How does it does that? Simple, PHP has function called Levenshtein that will do it for you provided you have a collection of words to match against for. The Levenshtein distance is defined as the minimal number of characters you have to replace, insert or delete to transform str1 into str2 . The complexity of the algorithm is O(m*n), where n and m are the length of str1 and str2 (rather good when compared to similar_text(), which is O(max(n,m)**3), but still expensive). Try this: -guess.php Enter: // input misspelled word if(!isset($_GET['q'])) exit(); $input = $_GET['q']; // array of words to check against $words = array('apple','pineapple','banana','orange', 'radish','carrot','pea','bean','potato'); // no shortest distance found, yet $shortest = -1; // loop through words to find the closest foreach ($words as $...

Hacking Winamp

->Open up winamp -> select preferences[Ctrl-P] -> select DSP/Effect under Plugins on the left pane -> select Nullsoft Signal Processing Studio DSP on the visible right side pane[you will see it if u are using a winamp 5.xx] you should see a window with some text fields, actually a lot. just select "Enable Processing" on the left side, and then in the right lowest pane, "Per sample(or sample-pair):", well that is another place to hack away. if you do have a pair of headphones[would be better] or speakers placed like a audiophile would, paste this in that textbox: l = 0.5*spl0; r = 0.5*spl1; spl0 = 2*l - r; spl1 = 2*r - l; what the above does is cut out a bit of the common channel. DSP enthusiasts will know. so experience wise, the sound "spreads" and the common center image lessens in intensity. beware that this lessens a lot of the common channel, so bass and other common frequencies will be chopped out, but rock tracks are really helped by thi...

Find Out if your Computer is Secretly Connecting to Web

If you are trying to track down why your computer is running so slowly, try using this simple DOS command from Digital Inspiration to uncover a possible problem: • Type cmd in your Windows Run box. • Type "netstat -b 5 > activity.txt" and press enter. • After say 2 minutes, press Ctrl+C. • Type "activity.txt" on the command line to open the log file in notepad (or your default text editor) This .txt file will have a record of everything that has made an Internet connection in the last couple of minutes; you can then check your task manager to find out where it is and take care of it. The file activity.txt will have a log of all process that made a connection to the Internet in the last two minutes. It will also show which process connected to which website in this time. And not just the web browsers (like iexplore.exe or opera.exe), the log will also show your IM clients, download managers, email programs or any software that requires a net connection. Scroll th...