Category Tips

Execute python scripts in php

Lets see how to execute python scripts in php. Write a hello world python script and name it as hello.py print "helloworld" Now lets write the php code for executing the above php code Now run the php file with…

Caps Lock button on Chromebook

Google Chromebooks comes without a caps lock key. There are few ways by which you can get the caps lock key. One way is by turning the Search button into a Caps Lock. To do this you have to go…

Install OpenCV for python in OSX Mavericks 10.9

#Assuming that you have installed Xcode, Command Line Tools, CMake, and Python #Install ScipySuperpack ~$ curl > install_superpack.sh ~$ sh install_superpack.sh #Download OpenCV 2.4.2 #Extract OpenCV-2.4.2.tar.bz2 #Open Terminal at the extracted directory #At OpenCV-2.4.2 directory: ~$ echo "#define GTEST_USE_OWN_TR1_TUPLE…

Installing pygame in OSX Mavericks

pip install numpy brew install sdl sdl_ttf sdl_image sdl_mixer Download the pygame source. It’s one of the top links. Extract it somewhere and go to that directory in a terminal. Run python config.py. Open "Setup" file that will be found…