Archive for July, 2008

Do you need to change a filename before sending it ?

Thursday, July 17th, 2008

Rails action to send binary data I have one old application where the attachment is store as an id in the filesystem. The customer wants to have the attachment with the right name. So I have made this small action which accepts the id of the requested object and send the ...

GPS links

Thursday, July 17th, 2008

Bulgarian track: http://www.gpsenjoy.com/

Debian/Ubunto notes

Tuesday, July 15th, 2008

How to save and installed packges http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html $ dpkg --get-selections > /backup/installed-software.log # dpkg --set-selections < /backup/installed-software.log Now your list is imported use dselect or other tools to install the package. # dselect Select 'i' for install the software. Upgrade Debian http://www.cyberciti.biz/tips/upgrading-debian-sarga-3-to-etch-4.html Commands cat /etc/debian_version

debian tracd initscript

Tuesday, July 15th, 2008

Trac startup script. (more...)

Back to the crack scene

Sunday, July 13th, 2008

I have cracked one bulgarian software for window (more...)

Bulgarian stopwords

Wednesday, July 9th, 2008

I want to start such a list so I will become maintain a Bulgarian list here which I will use for my website www.cenite.com As a base source I will use this list here Please submit your suggestions. Note: I have removed a lot of words from the starting list. (more...)

Javascript in the window.name

Monday, July 7th, 2008

Wow. What a nice idea. http://code.google.com/p/quipt/ Note: if you want to make the test.html to work checkout and test on http://... it is some beta but it works great only in Firefox

Thumbnail for a webpage

Thursday, July 3rd, 2008

My colegue bl8cki is real fan of making screenshots from web browsers. Those days he tries the python solution. And today he surprised all with one very nice firefox plugin With this plugin you can use firefox with some command line parameters to make screenshots. Here is how we will use it start ...

Random images helper for Rails

Tuesday, July 1st, 2008

Here is how to make random images generation for your website. First you must put your images in a folder /public/images/random_images or what ever. Second you put images there and mark the filenames with a prefix, which image to which section will be visible on. index_bottom_1.jpg -> for the index page on the ...