Monday, December 31, 2012

Programming languages people used in 2012


Top 20
Language2012
Count
2011
Rank
1javascript7981
2java6222
3python4883
4ruby4434
5c3107
6scala30213
7php2826
8c++2435
9objective-c21810
10bash2119
11c#2078
12haskell18915
13clojure18714
14sql14811
15perl14112
16coffeescript13516
17erlang12119
18html10117
19golang9227
20groovy8422


Tuesday, September 25, 2012

How to enable curl in LAMP

Open your terminal and execute the following command

sudo apt-get install php5-curl

curl will be enabled, only if you restart your apache server. To restart apache, please execute the following command from term

sudo /etc/init.d/apache2 restart


To check if curl is enabled or not, use phpinfo() function.

Monday, September 24, 2012

Country list in Mysql



For a new project in tecriti, we need to have a list of world countries in mysql table.

For the last two days, i googled for a solution without any success. Today one of my friends gives a wonderfull link. Guys, please take a look at it. It will be helpful for all of us.

http://peric.github.com/GetCountries/

Link is a GetCountries program in which we can select the specific fields that we want in our mysql table. This site uses Geonames API. Their solution is very flexible and customisable.