Archive for May, 2008
Wednesday, May 28th, 2008
http://scpd.stanford.edu/knuth/
Posted in Uncategorized | No Comments »
Monday, May 26th, 2008
Plugins & gems lists
Associations
http://www.workingwithrails.com/railsplugin/4801-has-many-polymorphs
Versioning of AR
http://github.com/fatjam/acts_as_revisable/tree/master
http://opensoul.org/2006/7/21/acts_as_audited
Scafolding
http://streamlinedframework.org/pages/about
Ajax pagination with JQuery
http://ozmm.org/posts/ajax_will_paginate_jq_style.html
Find_by_param is a nice and easy way to handle permalinks and dealing with searching for to_param values
http://github.com/bumi/find_by_param/tree/master
Asset Plugin - better than rails 2.0 integrated
http://synthesis.sbecker.net/pages/asset_packager
Image Magic
http://vantulder.net/rails/magick/
OpenID
http://wiki.rubyonrails.org/rails/pages/OpenidLoginGenerator
http://github.com/technoweenie/restful-authentication/tree/master
http://github.com/mrflip/
Model graph visualize
Article on franzens.org
http://visualizemodels.rubyforge.org/
http://rav.rubyforge.org/
http://railroad.rubyforge.org/
Simple Captcha
http://expressica.com/simple_captcha/
Memcached stuff
http://townx.org/rails_and_memcached
Good rails 2.1 overview
memcached -vv -l 127.0.0.1 -p 11211 -m 256 -P ...
Posted in Rails, Uncategorized | No Comments »
Sunday, May 25th, 2008
Goodbye MySQL
I was optimistic that I could make http://www.cenite.com, a price monitoring website to use the fulltext search of mysql. Unfortuntly I have found so many drawbacks that I have to leave this idea. The main source for information for me was:
http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html
http://devzone.zend.com/node/view/id/1304#Heading14
At first the speed was wonderfull. I was searching ...
Posted in Databases | No Comments »
Thursday, May 22nd, 2008
http://www.newgrounds.com/portal/view/422855
Posted in Fun | 1 Comment »
Tuesday, May 20th, 2008
Status
SHOW status where Variable_name like 'Th%' or Variable_name like '%Connec%' ;
SHOW [GLOBAL | SESSION] STATUS [LIKE 'pattern' | WHERE expr]
Check/Repair tables
mysqlcheck -u root -p***** --auto-repair --check --optimize --all-databases
Dump
pg_dump -U test arachnid_archiv_test --inserts -h chaos.spider.bg --encoding=utf8 -f pgsql.sql
mysqldump -c -h $MYSQL_HOST -u $MYSQL_USER -p$MYSQL_PASS -r $tfile --add-drop-table $DB
mysqldump -c -h ...
Posted in Databases, Uncategorized | 1 Comment »
Tuesday, May 20th, 2008
aptitude install nvidia-glx-new
aptitude install nvidia-settings
Some options that you can put in the Screen section
/etc/X11/xorg.conf
Option "NoLogo" "True"
Option "RenderAccel" "True"
# This turns on NVidias ...
Posted in linux | 1 Comment »
Friday, May 16th, 2008
It is very easy to handle ajax pagination as described on this post here.
I want to give one full example.
Here is how my form looks:
<% form_remote_tag :url => {
...
Posted in Rails | No Comments »
Friday, May 16th, 2008
flip text: http://www.revfad.com/flip.html
cats: http://i011.radikal.ru/0805/da/61ea5e6e5c0c.gif
drawing graffity - http://graffiti.playdo.com/
Тест за география http://www.travelpod.com/traveler-iq
Posted in Fun | 2 Comments »
Friday, May 16th, 2008
The most valuable usage for scaffolding is when you use it in the administration part of the site. The administration is usually separated in separate module/folder.
The new rails scaffolding is not good because:
It is time taking to setup nested scaffold
I have tons of uselss source code in the scaffolding like ...
Posted in Rails | No Comments »
Thursday, May 15th, 2008
Once in the dark DOS ages I have one game with which you can make wonderfull animations. In the "Windows" era I miss this game a lot....until I found this nice replacement.
http://phun.cs.umu.se/wiki/Download
Posted in Fun, Uncategorized | No Comments »