Wednesday, July 23, 2008

Patch for "NoDelay" - GreaseMonkey script


The script can be downloaded from :: http://userscripts.org/scripts/show/6499

Changing the "Megashare" function with the following will make the script stop at the password prompt, if the file is protected by password. Otherwise it goes in an intfinite loop ...
function megashare(tld){
 if (tld!='com') return;
 try { unsafeWindow.c=0; } catch(e){};
  unsafeWindow.setTimeout(
   function() {
       try { 
    //var urlLink = getFirstXPathResult("//input[@name='auth_nm']");
    var urlLink = getFirstXPathResult("//*[contains(text(), 'Enter Password')]");
    if(!urlLink){
     findClick("//input[@value='Click Here to Download']"); 
    }

   } catch(e){}
   
   }, 1000);
 try { findClick("//input[@name='FreeDz']"); } catch(e){};
 try { findClick("//input[@name='yes']"); } catch(e){};
}

Extracting files from bin/cue images on Linux


method-1:


apt-get install bchunk

bchunk file.cue file.bin file.iso
mount -t ISO9660 -o loop file.iso /mnt/

method-2:

cdemu. packages can be downloaded and installed from - http://cdemu.sourceforge.net

method-3:

works the best for me. use acetoneiso, official website - http://www.acetoneiso.netsons.org


Change DNS cache timeout on FireFox


Type about:config in the address bar
Filter for DNS


  • network.dnsCacheEntries user set integer 512
  • network.dnsCacheExpiration user set integer 3600

The first entry shows the amount of addresses firefox will keep in cache and not try to resolve everytime.
The second entry is how long each entry will be cached for.

Happy Browsing !!


Sunday, July 20, 2008

The Ice Is Getting Thinner


We're not the same, dear
As we used to be
The seasons have changed
And so have we
And there was little we could say
And even less that we could do
To stop the ice from getting thinner
Under me and you

We buried our love
In a wintery grave
A lump in the snow
Was all that remained
Though we stayed by its side
As the days turned to weeks
And the ice kept getting thinner
With ever word that we'd speak

And when the spring arrived
We were taken by surprise
When the flows under our feet
Bled into the sea
And nothing was left
For you and me

We're not the same, dear
And it seems to me
There's nowhere we can go
With nothing underneath
And it saddens me to say
What we both knew was true
That the ice was getting thinner
Under me and you

The ice was getting thinner
Under me and you


Monday, July 14, 2008

Playing/Saving RAM files with mplayer

mplayer -dumpstream -dumpfile last_stop.rm -playlist http://boss.streamosXX.com/real/dreamworksXX/eelsXX/electroshockbluesXX/videoXX/laststop_hi.ram

The trick to play .ram file is to add -playlist, as .ram files are just textfiles containing the real url.
saving is done by -dumpstream & -dumpfile filename


Friday, July 11, 2008

Duplicating tab on Firefox-3


press ctrl + drag-n-drop the tab on tab-bar ... kool, huh ?


Khudha ...

'''
kobitar snigdhota ar chai na
kobita, aj dilam tomae chuti

khudhar jalay prithibi goddo-moy
purnimar chad jeno jholshano ruti
'''

lol true, so true. It probably comes to worse if you are not a good cook yourself. But this one I guess is even better (also helps me from feeling so miserable) - “For now are the moments that you'll definitely cherish for life!”

Tuesday, July 8, 2008

Wondering what happened to epstopdf on Ubuntu/Debian ?



apt-get install texlive-extra-utils
On latest Ubuntu Quantal (12.10) apparently the package for epstopdf is changed to texlive-font-utils. So now you have to do the following: 
apt-get install texlive-font-utils

Check hotmail/yahoo with Kmail




To install on Debian/Ubuntu:

apt-get install freepops
sudo freepops-updater-dialog

To download sent mail folder set the username as username@webmail.com?folder=Sent.
If not specified "Inbox" is assumed.

With kmail, one can create seperate directories (ex. yahoo [inbox], yahoo [sent]) and associate accounts with these folders. This way messages remain more organized and they can simply be dragged and dropped to the gmail's "all mail" directory later on, to save all the mails on google's massive servers with ever increasing inbox space forever, for a greater webmail experience and excellent searching capability.

Good Luck, Happy webmailing !!