ls -1 | awk ‘{print(“mv “$1″ “$1)}’ | sed ‘s/OLDFILENAME/NEWFILENAME/2′ | /bin/sh
Add the following two attributes to the activity tag
android:configChanges=”keyboardHidden|orientation”
android:screenOrientation=”landscape”
grep -rl matchstring somedir/ | xargs sed -i ‘s/matchstring/replacingstring/’
Refer: http://www.jonasblog.com/2006/05/search-and-replace-in-all-files-within-a-directory-recursively.html
In India its becoming more and more tough to startups to recruit the right people, and the right people to connect to startups. Here is a list of job portals (not monster and naukri, they are useless).
If you are moving from dedicated hosting server to cloud server, the first thing to be done is to install firewalls and setup fail2ban (like) tools to make sure brute force attacks are not increasing your bandwidth usage. Its always better to have the ssh run on other than standard ports. If you [...]
var str= “original string. original string”;
var pattern= “original”;
var replacement= “replaced”;
var js= ‘str= str.replace(/’+pattern+’/g, ‘+ ‘”‘+replacement+’”‘+’);’
eval(js);
After postponing since a long time today I could setup wordpress here. Hopefully will be posting some good technical stuff. Probably this may be more of a wiki rather than blog
-
Categories
-
Articles
-
Calendar
May 2012 M T W T F S S « Jul 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta

