Posts

Showing posts with the label tips

Turn off data service on Airtel/Vodafone/Idea/BSNL/Reliance

Internet Access without a Data Pack is treated as a service. If you turn off this service the service providers cannot charge you any money from your main balance. It can only use the data if you have a data pack. SMS "STOP" to 1925 to disable that service and SMS "START" to 1925 to enable. When the service is disabled you will not be able to access Internet services till the time you have a valid Data Pack.

Conditional compilation in IE

I normally know about conditional compilation of JS in IE using <!--[if gt IE 6] --> but here is something new I figured out today. var IE; //@cc_on IE = parseFloat(navigator.appVersion); The best part here is that the JS code stays in your JS files and does not uglify the HTML if you ever have to use conditional compilation. Here is some more information about it from MSDN article Conditional Compilation (Windows Scripting - JScript) .

Speed up your JavaScript

Image
This post is just for my own reference. Here are the slides and the video of the presentation by Nicholas Zakas. Goes into great detail in ways to improve the speed of your javascript code. Speed Up Your JavaScript View more presentations from Nicholas Zakas The article summarizes most of the points in the slides and video http://james.padolsey.com/javascript/zakas-javascript-performance-tips/

Getting song information from a shoutcast server

This is a very simple way to get the currently playing song information from the server. Append /7.html to the music stream. This will give out a HTML file with the following details. There is CSV information inside the body. Based on the position you can find the following information. 1. Current Listeners: 2. Status: 3. Peak Listeners: 4. Max Listeners: 5. Reported Listeners: 6. Bitrate: 7. Song Title: To see whats currently playing on Radio TeenTaal you can try http://91.121.155.39/7.html .

The all new Facebook XSS scammers

Am surprised that I have not heard about it on any of the tech blogs. Every other day I get a mail from facebook from one of my friends to see this amazing picture or solve a riddle. Since the mail is coming directly from your friends its difficult to ignore it as spam. It is the perfect example of social engineering to get information from users and spread it further. The scam starts with an email from your friend with the link to a facebook page ( Do not open it before you've read the whole post and understand the consequences ). When you open the page you see the wizard with the following steps. Step #1: Press and HOLD CTRL AND press the letter C The step is nice and animated so that you know what you are doing. When you have clicked it takes you to step 2. Which shows that you have "Successfully Copied Code To Your Clipboard!". It does not tell you what code but just that some code has been copied. Step #2: Press and HOLD ALT AND press the letter D Even in this step ...

Force shoutcast server to send audio stream

This is something I had read about some 7 years back but had completely forgotten about it. Basically I was trying to get the audio stream from the shoutcast server in the browser. If you open the shoutcast url in the browser you will get a html page and not the audio stream. To force the audio stream use http://example.com:8032/;stream.mp3 the ;stream.mp3 in the end forces the server to send the audio stream. You don't even have to write ;stream.mp3 you just need to add a ; (semicolon) in the end. Hopefully next time around I am looking for it. I can read it here. I was looking for this info an year back but wasted quite a bit of time but could not figure it out.

Deleting a file with a . (period) in the end

This one had me baffled for a complete day. I was downloading this file and the filename was myfile.mp4. . Since the file was not completely downloaded I tried deleting it but I got the error. Cannot delete file: Cannot read from the source file or disk. I tried renaming it and I got an even weirder error. The system cannot find the specified file I figured it would be easier to remove it from the command line so I tried del "myfile.mp4." but to my surprise even that did not work out. After almost giving up I tried Google and it came up with these solutions on support.microsoft.com . Even that did not help out. After spending a few more minutes searching online I realized that the problem was in the way windows treats filenames. Since each file has two names one the 8.3 format and the other name which we normally use. To see a list of files in 8.3 use the command on the command line. dir/x Try this in the directory and see the 8.3 name for that file. Now try and delete it ...

Making Portable Ubuntu feel at home on Windows

Image
If you like Linux applications but don't want to install Linux, Portable Ubuntu is the perfect application for you. Once you start using it you might feel that all the Linux applications feel out of place with the Theme and fonts. That is where this quick tutorial comes into play. Download the XPLuna theme if you are on XP or one of the Aero themes for GTK 2. You can look at all the available options and keep the one that looks identical to your windows theme. The controls might look familiar but till you change the fonts it is almost like a waste. Copy the fonts from your windows installation. Open the terminal window in PUbuntu and then follow these steps. cd /mnt/C/WINDOWS/Fonts Here I am taking for granted that your Windows folder is in C: . Then make a new directory mkdir ~/.fonts . Copy Segoe fonts incase you are on Vista. cp Segoe*.* ~/.fonts . If you have Windows XP copy Tahoma fonts. cp Tahoma*.* ~/.fonts . Open System / Preference / Appearance . Select the font tab ...

Google Clean search without searchwiki results

Image
If you want anonymous results from Google you can use this simple DNS hack to get the results from Google. Since you will never be logged in you will always get clean results and also no searchwiki results. Never realized how much cleaner the results are if you are not logged in. To get the cleaner results add the engine to Opera, Firefox, IE and Google Chrome. Its just a DNS hack so you still get all the results from Google. But its all anonymous since you never log in. All the traffic is sent to Google but the cookies are not set as you can never log in so more or less you can be anonymous. Its still a hack so it can be turned off by Google anytime. But its good while it lasts. This is what you see once you use Google Clean . You are never logged in so the results are anonymous and you will never get any SearchWiki results. You can always go back with a single click incase you want the SearchWiki results. Here is how you add it to Firefox. The search box should be a little blu...

Activate GPRS of PrePaid Airtel Punjab

I hate calling up the Airtel customer care and I try to find a solution online if I can. I've found two solutions to my problem but none of them seem to be working so I will have to call and spend the next half hour to get this information from a customer care executive. Anyhow these are the solutions I've found online. 1) Rs. 20 per day send GPRS to 56789 2) Rs. 75 per week send GPRS7 to 56789 3) Rs. 15 per day send GPRSACT to 511 to deactivate this service send GPRSDEACT to 511 4) Write MO and send to 52696 to activate n DMO @ same no. for de-activation I've tried all the solutions but without results. Let me know if you have a better way. Anyhow I better start calling, its going to take a while to get through. UPDATE : Anyhow I called them up and this is what I got. 1) SMS NOP to 52696 to activate the service. 2) SMS NOP to 52567 to get the settings 3) SMS DNOP to 52696 to deactivate the service. 4) Call 121443 and you will directly talk to the customer care ex...

Whats up with Google Update?

Just checking with AutoRuns for Windows and Google Update almost feels like a spyware in every possible place. It acts as a service so when you turn on your computer it will make sure that its always on. If you somehow remove it as a service, it also acts like a BHO . The next time you start IE it will start. If for some weird reason these two failed its also in the scheduled tasks. Just waiting till it installs itself as a driver as well.

Using Shozu on Samsung i780

I was using Shozu to upload pictures and videos to flickr and youtube using my Nokia E61i. It is a really cool application and I had talked about it earlier when I had installed it on my earlier phone. When I finally bought the new phone I was missing this application as currently the Samsung i780 is unsupported and I was unable to find a version that I could run on it. After trying out a few versions I stumbled upon the HTC Touch version and it works quite well on this phone. So if you have a Samsung i780 download the shozu application for HTC Touch and use it. Atleast till they provide support for this phone.

Link to switch to the new Yahoo! Mail interface

I still use the classic version of the Yahoo! Mail interface. Today I wanted to try out the new interface and I could not find the link that would allow me to switch. So just as a reminder in case I plan to switch again. Try it now!

Setup gmail IMAP account on E61i

To configure IMAP for your Symbian S60 device, just follow these steps: Enable IMAP in your Gmail account settings . Select 'Messaging' > 'Options' > 'Settings' > 'E-mail' > 'Mailboxes.' If you have never set up email on your phone before, select 'Yes' to define a new mailbox. If you already have other mailboxes, select 'Options' and then 'New mailbox.' Select 'Start' to begin the setup wizard. Select 'IMAP4' and then 'Next.' Enter your Gmail username (including '@gmail.com') as the email address and select 'Next.' Enter 'imap.gmail.com' as the incoming mail server and select 'Next.' Enter 'smtp.gmail.com' as the outgoing mail server and select 'Next.' Select the appropriate access point and then 'Next.' Enter a descriptive name for the email account mailbox name. Once your mailbox is set up, select it from the email mailbox setting...

The mystrey "Free Public WiFi" is all over

What exactly is the free public wifi? At first I thought it was some government funded project but its a lot more weirder than that. It seems to be everywhere I go, and to top it all its all over the town/country/world. I am not sure if the IP remains the same but if it does, there is something really awesome that can be done using it. Wait and watch this space for more details. I am just hoping that we can somehow get a DNS system in place and you would be able to connect back to your computer at home without using any ISP. All your traffic would be Peer-To-Peer and way too many things and plans are going on in my head. I can just visualize the whole town connected using WiFi and you can watch streaming media and transfer files amongst your computers without wires and any ISP. Well I need to come out of the dreamworld and need to figure out if its a virus or something even more weird.

Boosting the volume in VLC

Just a quick tip in increasing the volume to 400% in VLC . Press Ctrl + Up Arrow to increase the volume of a movie/song to upto 400%. I was just watching a movie right now but the overall volume was low so went looking out for a way to increase the volume and this is one cool hack for movies, while watching them on a laptop.

Multiple ID's with Yahoo

You can create multiple email ids on yahoo, and all the emails will end up in the same email address. To create more yahoo ids goto http://edit.yahoo.com/config/list_alias?.src=ym Log into your primary email account and you can create more email ids. All the mails will go into your primary account. So if you are stuck with [email protected] you can finally change it to [email protected] All your mails will still land into [email protected] but you can give out a better looking email address. I saw this last year and somehow forgot the URL. This post is more of a bookmark for myself.

Getting flashlite applications and applets

You can download flashlite applications from adobe exchange, thats the easy part but where is that link is the tougher part. To download any flashlite games follow this link .

Trying out this cool new service Jaxtr

I just added a new widget on my blog which lets you call me or SMS me from the widget. It seems like a really neat concept. Not sure how they plan to survive in the long run but hey who's complaining I am getting free long distance calls from anywhere on earth. If you really feel that you need to talk to me you can use it. I really don't see why you want that but hey who am I to judge you. Also you can leave me a SMS incase you don't plan to call or I am not talking the calls. To try it out just click "Call me for free!" and put in your number. You will get a call on your number and the moment you get the call I will also get a call on my number. I really see the potential of this being used for all the wrong reasons :) But till I don't get too many annoying calls I will keep the widget up. And once thats over lets see.

After tabbed browsing we have tabbed Yahoo! Messenger

Image
Guess it was about time now you can open multiple conversations in tabs using yahoo messenger. You don't need to download anything new just make this slight change in the registry and you have yahoo messenger with tabs. Though it does not work perfectly at least the one I have installed has problems refreshing the window. But then again these problems could possibly be solved in the next version. Turn on tabbed yahoo messenger Turn off tabbed yahoo messenger Download and run the first file when you want to turn on tabbed messenger and use the second file when you want to return back to the normal mode. So whats inside the reg files. Actually nothing much just a registry entry needs to be added that tells the IM to use tabs for conversations. [HKEY_CURRENT_USER\Software\Yahoo\pager] "Tabbed IM"=dword:00000001 To go back to the normal mode change the 00000001 to 00000000. The code is there if you know how to tinker with the registry for most other people download and and ...