by asyraf
on 27. Jul, 2008
in General
wpa attack:Use dictionary attack: need 7gb dictionary. You can torrent, or create your own Man in the middle: monkey-jack… Dumps all ur username and passwords to you first before sending to server… Fake ap – to thwart man in middle hackers – but only if hacker use other than kismet. Securing: disable ssid, change ssid, [...]
by asyraf
on 27. Jul, 2008
in General
One of the more ‘risque’ topics in barcamp today: wireless hacking. It was way too tempting to resist: they had a barainstorming session on web marketing that i wanted to attend… Nah… It was too good to resist. Notes:10db antenna gives you 1km radiusAtheros chipset wireless card the best for hacking wireless… Look for higher [...]
by asyraf
on 26. Jul, 2008
in General
if you’ve never been to yahoo’s developer network, then it’s my turn to say: where you been ma? Today yahoo presented one of their cooler apps: the yahoo search monkey. Search Monkey lets you define more information for your search results when searched in yahoo. In other words, customize your search results! On the side [...]
by asyraf
on 26. Jul, 2008
in General
I was watching this presentation on Flex… And I’m asking myself: dude, where’ve i been all this while? Flex rocks! I’m gonna be looking at it once i’m done with learning the crazy prototype, jquery, and scriptaculous… Phew… Turns out that by itself is more than just a walk down the park… It’s more (to [...]
by asyraf
on 26. Jul, 2008
in General
it’s a fine saturday morning and i’m not in bed (What?). That’s right L&G’s! Barcamp’s in town, and i’m warming up my cold ass on the tiny seats (truth is, my ass is huge) of the presentation rooms this fine day. Cool stuff coming up today! We got yahoo dev network, we got presentations on [...]
by fadhli
on 22. Jul, 2008
in Programming, Rails
For example: id |category_id | inventory_id 1 384 1 #first entry 2 384 2 #this would be ok. 3 384 1 #this would not be ok To ensure that a category_id doesn’t have any inventory_id duplicate: [sourcecode language="ruby"] class CategoryProduct < ActiveRecord::Base belongs_to :category belongs_to :inventory validates_uniqueness_of :category_id, :scope => :inventory_id end [...]
by asyraf
on 17. Jul, 2008
in Javascript, web2.0
Well, well, it’s been a month since we wrote… a lot of new stuff’s come out, Our customer required WYSIWYG capability for editing their blogs, which they used There are lots of Javascript editors out there. TinyMCE was one of the coolest I found, with everything you need under the sky for WYSIWYG editing – [...]
by fadhli
on 15. Jul, 2008
in Rails
A good read on table index. http://www.railway.at/articles/2008/04/24/database-agnostic-database-ignorant Sometimes, it is easy to forget when someone or something else handles it for you. For instance, ActiveRecords. Rails does not create foreign keys for you. It only creates the primary key. It does not impose constraint on the database level. The association is handled on the application [...]
by fadhli
on 14. Jul, 2008
in Programming, Rails
Do not name your database column with the name ‘no’. You’ll get this error when you try to run your test ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ‘false’ in ‘field list’
by fadhli
on 03. Jul, 2008
in git
If you’re someone who has multiple git branches on a project and seem to always do git branch to check which branch you’re in. Then here’s how you can make your bash aware of a git branch. Well, I’m not sure if this works on others, but it sure does works in my Ubuntu Hardy. [...]