Devharb - devharb.com - Dev Harb
General Information:
Latest News:
Ruby on Rails development setup on Ubuntu 12.04 14 Jul 2013 | 07:19 pm
# Ruby on Rails development setup on Ubuntu 12.04 ### System update # change mirror to ubuntu.osuosl.org first sudo apt-get update ### Install common libraries sudo apt-get install build-essentia...
mongodb introudctions 21 Jun 2013 | 06:18 pm
Teach Me Code Part 1 http://teachmetocode.com/screencasts/introduction-to-mongodb-part-i/ Part 2 http://teachmetocode.com/screencasts/introduction-to-mongodb-part-ii/
how to fix perl: warning: Please check that your locale settings ubuntu 6 Jun 2013 | 05:56 pm
perl: warning: Please check that your locale settings ubuntu The fix (change to whatever language or version of english you’re using eg en_GB): apt-get install language-pack-en-base export LANGUAGE...
unix/linux tricks 8 Mar 2013 | 08:27 am
I have marked with a * those which I think are absolutely essential Items for each section are sorted by oldest to newest. Come back soon for more! BASH * In bash, ‘ctrl-r’ searches your command hi...
Secure your linux server with minimal effort 4 Mar 2013 | 08:31 am
Server security doesn’t need to be complicated. My security philosophy is simple: adopt principles that will protect you from the most frequent attack vectors, while keeping administration efficient e...
wordpress IIS Plesk URL rewriting 25 Feb 2013 | 04:20 pm
save following text as web.config into your wordpress directory should do the job. <?xml version=”1.0″?> <configuration> <system.webServer> <defaultDocument> <files> <remove value=”index.php” />...
how to create apache style 301 redirection to redirect domain.com to www.domain.com 1 Jan 2013 | 08:36 am
put following directives in your server block in your conf file if ($host = ‘your_domain.com’ ) { rewrite ^/(.*)$ http://www.your_domain.com/$1 permanent; } more: http://motiv-designs.com/...
How to install psycopg2 with “pip” on Python? 10 Aug 2012 | 10:58 am
Basically, just do a sudo apt-get install libpq-dev python-dev if you are on Ubuntu/Debian. http://stackoverflow.com/a/5450183
debian version list -lenny – squeeze -wheezy 25 Jul 2012 | 08:14 am
Debian GNU/Linux 7.0 (“wheezy”) — future Debian GNU/Linux 6.0 (“squeeze” )— frozen version Debian GNU/Linux 5.0 (“lenny”) — current stable release Debian GNU/Linux 4.0 (“etch”) — current stable rel...
HAproxy 30 Apr 2012 | 02:27 pm
queued request: http://37signals.com/svn/posts/1073-nuts-bolts-haproxy