Sudhi

Mumbai, India

wadkar.wordpress.com

Age: 27

Feb
21
awarded Caucus
Jan
29
awarded Popular Question
Oct
28
awarded Yearling
May
31
awarded Notable Question
May
13
awarded Notable Question
Mar
10
comment Bind to execute command with last argument of previous command
I am not sure, but you can try escaping the bang and/or the dollar like bind -x '"\ee": "g++ \!\$"' . Does it work?
Mar
10
awarded Supporter
Mar
7
awarded Supporter
Mar
6
awarded Supporter
Mar
6
comment Why are all MySQL InnoDB tables fragmented?
awesome! this is very much informative. Thanks @RolandoMySQLDBA !
Feb
25
awarded Scholar
Feb
25
accepted find with exec : how to perform multistep conditional action on each file
Feb
12
awarded Supporter
Feb
12
awarded Supporter
Jan
30
comment Sending a decrypted string in an email using php
@elmify please allow me to put it in simple words. You don't send decrypted passwords to anyone because you should not be able to do so. The proper way to go about this is to ask the user to create a secure password and only the user should know about it. All instances of the password on your entire system should be always encrypted . In fact PCI compliant companies will frown upon any such practices. For an interesting take on this check out: serverfault.com/questions/293217
Nov
30
comment How to stop a Daemon Server in Rails?
awesome; here are my bash_aliases alias stopRails='kill -9 $(lsof -i :3000 -t)' with alias startRails='rails server -d' (will fail if you are not in your app directory, but thats okay) and finally alias restartRails='stopRails && startRails'
Nov
28
comment how (replace|create) an enum field on rails 2.0 migrations?
thanks a lot for your answer; for those on pgsql; add following in self.up before the create_table call: execute "CREATE TYPE payment_status AS ENUM ('accepted', 'cancelled', 'pending')" and use that type in column definition as t.column :status, "payment_status". Also, don't forget to add a corresponding execute "DROP TYPE payment_status" after the drop_table in the self.down
Aug
16
awarded Popular Question
Aug
7
awarded Yearling
Aug
7
awarded Yearling
1 2 3 4 5