Archive › July, 2008

wirless

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, [...]

Comments ( 0 )

Barcamp: Danger Will Robinson, Someone’s Hacking your Wireless!

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 [...]

Comments ( 1 )

Barcamp: Yahoo’s Search Monkey App

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 [...]

Comments ( 1 )

Barcamp: Flexible Rails? Sweeet….

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 [...]

Comments ( 0 )

Barcamp is in town!

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 [...]

Comments ( 0 )

Ensuring your join model uniqueness

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 [...]

Comments ( 0 )

Using TinyMCE as WYSIWYG editor

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 – [...]

Comments ( 0 )

Index your tables people.

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 [...]

Comments ( 0 )

Note to self

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’

Comments ( 1 )

Make your bash aware of git branch on Ubuntu

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. [...]

Comments ( 0 )