Skip navigation

Category Archives: Hacks

Update: 30.12.2009 Twitterfox is now know as Echofon. It happened long ago though ;).

I found This nice howto via @meaningful. Looks like the howto is for older version of Twitterfox. Here goes how to do it on Twitterfox 1.8.1 (The version I use right now)

And I recommend you to update to Twitterfox 1.8.1 coz it’s really improved.

First go here:

<path to your Firefox profile directory>/extensions/twitternotifier@naan.net/chrome

[you’ll learn howto find your Firefox profile directory (AKA folder) here. There are too many operating systems. I can’t cover them all :P  ]

There is a file called TwitterFox.jar Echofon.jar

Open it & go in to directory called content. There you’ll find the file called twitterfox.js, you better open it with a text editor.

In the top region of the file you’ll find TINYURL_CREATE_API variable. it is set to use tinyurl api by default. I edited it to use my favorite URL shortnet tr.im by editing it to look like this.

 var TINYURL_CREATE_API = "http://tr.im/api/trim_simple?url=";

Update: I’m not sure if tr.im is still up. I switched to u.nu (http://u.nu/unu-api-simple?url=)

You can replace http://tr.im/api/trim_simple?url= with the API of your favorite URL shortener.

You need to restart Firefox for the changes to be effective.

Hope it works ;) . Anything not clear? Just ask in comments.

PS: You may not like to try this but I don’t give a shit :P .

I am really good at procrastinating, I forget little things so easily, I have N.A.D.D and I work on specific projects. So in order to make my life a liiitle bit hassle free, I was looking for a ToDo manager tool. First I found Tiddlybackpack which had a dead simple interface but unfortunatley didn’t work with Firefox on Gnu/Linux. Then I found MonkeyGTD which looked too complex for my needs & then I checked tiddlydu2. However what I use now is GTDTiddlyWiki which is even simpler. It’s not as simple as tiddlybackpack but it’s a decent GTD tool which would fit anyones needs. May be you have already realized that these tools are based on tiddlywiki.

Yes you have to learn a bit before you start to actually use any Tiddly based GTD/ToDo tool. I found a good guide here.

You only have to download one single .html file to start working with any of those tiddly GTD tools. Once you save the .html file to somewhere on your computer just open it & start managing your todos. You can put it on a flash drive & take it anywhere with you. Or you can put it in your email account as an attachment. You can put it on your web server too. But hey… what I do is way cooler 8)  . I ‘drop it like it’s hot’ :D .

I use this cool tool Dropbox to sync my GTD/ToDo list. I put all my GTD/Todo stuff in to one directory called GTD and just created a symlink from Dropbox directory to GTD. tada. that’s all. [for now I have all the GTD tools I mentioned before]. Heres how to create the symlink.

$ ln -s -T /path/to/GTD/directory ~/Dropbox/GTD  [Read man page of ln or check here.]

(You can still put GTD tools in Dropbox directory itself. But you know I’m mad :) )

Now I can use my todo list when I’m offline, Dropbox will sync it for me with the dropbox on web when I’m online. So that I can use my todo manager from anywhere through Dropbox web interface. (for that you have to untick “Hide editing features when viewed over HTTP” option in advanced options).

Though I haven’t actually tried yet, Dropbox can sync through multiple computers too :) and it means you can have your todo list on Your Desktop computer, laptop or office computer, so easily sinced . And also I can share my files with friends trogh Dropbox, todo list can be shared too ;) .

Hope you make your life more manged with thses tools. Here goes the ‘cherry on top’, “Make your GTDTiddlyWiki your hompage”.

PS: If you wonder what GTD stands for, it’s Get Things Done :) .

New update available HERE

This was a big headache for me. Portable Firefox is a great piece of work but I couldn’t experience it’s ease with my OS love GNU/Linux (there is Gnu/Linux installed in our campus). So the bad old hacker in me wanted some way to make it happen. Even after few Googlings, didn’t find a How-to to do this. So I thought of hacking it for myself. This is what I got ultimately. Once thinngs are ready it takes maximum 4 easy steps(2 steps are optional). So let’s fire it up.

Hope You got Portable Firefox on your USB stick.

What you have to do is adding few lines in to profiles.ini file. To make it bit easy for you I have created fxp.txt file for you.
Download & edit fxp.txt :

[Profile1]
Name=portable
IsRelative=0
Path=/media/disk/FirefoxPortable/App/DefaultData/profile

Critical update: You better use

Path=/media/disk/FirefoxPotable/Data/profile to get the same profile on Window$ and GNU/Linux.

Name=
You can use any string made of letters & numbers for this. Make sure the name you use is unique for your profile.ini file.
IsRelative=0
This is nothing you have to deal with.
Path=
This is the exact path to portable Firefox profile folder [what you see on the address bar when you browse in to profile folder].

And remember to change [Profile1] to the appropriate profile number according to the profile.ini file if necessary. The very first line of fxp.txt is empty. Please remain it unchanged to keep profiles.ini tidy & headacheless.

Now open a terminal & put
cat >> /path/to/profiles.ini /path/to/fxp.txt

ex: cat >> /home/chanux/.mozilla/firefox/profiles.ini /media/flashdrive/fxp.txt

this will append the content of fxp.txt in to profiles.ini. Ofcourse you can do this with GUI lameware with more pain in back. if you like loads of clicks & copy & pastes go that way.

You’ll find profile.ini at
~/.mozilla/firefox

well it’s the home folder :
ex: /home/chanux/.mozilla/firefox/profile.ini

once you update the profile.ini file you are ready to feel the home on the road.

Type firefox -ProfileManager in to the terminal or “run command” box. If you prefer terminal, you have to keep it open as long as you want to use firefox. Once you get profile manager box, choose your portable profile & rejoice.

The four steps in brief:

Check profiles.ini
Edit profiles.ini if needed.
Append fxp.txt to profiles.ini
Start firefox through profile manager.

Update: Make sure Firefox is closed when you try firefox -ProfileManager. I did dumbness & Twittered too. Seejay reminded me to close Fx :D

Update(07.04.09):Wordpress now has a Twitter widget.

Updated this post with new images & steps [17 Dec 2008].

We do love WordPress(WP) so much even though we lack Javascript support. If you ever wanted to add your Twitter updates on your wordpress.com blog, here’s a simple way to just get the thing done.

First, Go to your Twitter page & retrieve your Twitter RSS address & copy-paste it on …err..a text file ;) .

In Your Twitter Home page at the bottom left corner there’s a button named RSS. Twitter-RSS

[If You use Firefox just right click on the RSS button & choose ‘copy Link location’.]

I normally Burn my feeds with feedburner. But I had problems burning Twitter feed. There is a validation problem in Twitter RSS. In this case you can use plain Twitter RSS address.

You can have a wide variety of feeds with Friendfeed.com. You can get twitter feed through friendfeed. And also mixup other social networks into one feed easily with Friendfeed. To get a Twitter feed through Friendfeed just replace ‘chanux‘ with your Friendfeed name in following URL. Make sure you’ve added Twitter on friendfeed.

http://friendfeed.com/chanux?service=twitter&format=atom [you can burn this feed]

Then find your Facebook ‘My Status’ RSS feed & copy it down too.

  • Make sure you are logged in to Facebook & follow this link to your Facebook Minifeed page.
  • And look for following feed link on minifeed page & save the link address.

goto_widgets

You can get your Facebook Status FEED address there. Your Feed address would look similar to this. http://www.facebook.com/feeds/status.php?id=#########&amp; viewer=#########&key=##########&format=rss20

Now the WordPress stuff.

  • Now go to widgets page in your wordpress admin pages.

goto_widgets

  • Add an RSS widget.

add_rss_widget

  • Choose to edit the widget.

add_widget

  • Paste the RSS address & choose a title for the widget. Select number of items to display from drop down box (5 is decent).  click done.

edit_rss_widget

  • Do not forget to Save changes :)

save_changes

You can add Twitter and/or Facebook feed address in your sidebar like this.

Hope This tutorial is helpful. If you like, consider following me on Twitter :) . All Images are uploaded on PhotBucket

Have you ever been wondering how to get more smileys/emoticons to express yourself in IM sessions? I don’t know about you but me. Once I fell in love with Pidgin, a cute FOSS solution for instant messaging, I realized that the answer is just beyond a little hack. So I worked it out.

I mixed up all emoticons available in Pidgin & created a smiley theme named “Soup”. Then gave it to my mad friends who I waste time on IM with. Now we all having the fun & complications of a-hell-lot-of smileys :). I’m sure we’ll go back to the default theme soon but I thought sharing would help 3 more phreaks out there.

So here’s how to get it done.
1. Download soup.zip file HERE & extract it.
2. copy it in to Pidgin Smileys directory

Windows    > C:\Program Files\Pidgin\pixmaps\pidgin\emotes
GNU/Linux  > /home/chanux/.purple/smileys (replace chanux with your user name)
or > /usr/share/pixmaps/pidgin/emotes

3. Select the theme “Soup” from Tools>Preferences>Smiley themes on Pidgin.

The theme is made to work with Yahoo protocol. If you are using AIM,MSN,QQ or ICQ…..
1.Open the file ‘theme’ located in extracted ‘soup’ folder with your favorite text editor.
2.Find [Yahoo] & replace it with the name of your IM protocol.
ex- [AIM] , [MSN] , [QQ] , [ICQ]

If you feel you are missing Good old yahoo default smileys Get Y!old theme HERE.

Update : New version of Y!old, which works well with new versions of Pidgin is, Y!Emos is HERE.

PS- After all these things the smiley window takes 2-3 seconds to open.
I think you can understand that your friends must have SOUP installed & selected to have the fun.

Disclaimer- Dumb me & all my dumb friends did this & it works just fine. If you are dumber enough to get problems with this just don’t try this or any kind of hacks. Any kind of a damage you do to your system trying this hack happens only because you are an extreme fool. SO don’t blame me. Go infront of a mirror instead. :twisted: