Expert-Python : Configure python with apache2
Apache with python, If you want to run your python code with apache hosting then your web server must loaded mod_python package with Apache Server. Need to configure….. 1. sudo gedit /etc/apache2/sites-available/default LoadModule python_module modules/mod_python.so <Directory /var/www/python/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all AddHandler mod_python .py PythonHandler mod_python.publisher [...]
Read MoreMagento : How To Reset Your Password
If you have access to phpMyAdmin, here are the steps to reset your password. First, open up phpMyAdmin. Click on your database name for Magento from the sidebar on the left. Click on the SQL tab and type the following in to the text box: UPDATE `admin_user` SET `password` = MD5(’123456′) WHERE `username` = ‘admin’; Like Unlike
Read MoreEtherpad API Jquery JSON call-jquery-cross-domain-ajax-call
$.ajax({ url: “http://beta.etherpad.org/api/1/setText/”, dataType: ‘jsonp’, data: {apikey:’etherpadEVL’,padID:’test’,text:’working treee’}, crossDomain: true, success: function(e){console.log(e)} }); Like Unlike
Read MoreStartup(s) Are Creating A New Platform Of The World For IT
It remains that, from the same principles, I now demonstrate the frame of the System of the World. – Isaac Newton The practice of IT reminds me a lot of the practice of science before Isaac Newton. Aristotelianism was dead, but there was nothing to replace it. Then Newton came along, created a scientific revolution with [...]
Read MorePHP PDO Debugging
Snippets to debug php pdo programming…. print_r($dbh->errorInfo()); or $sth->debugDumpParams(); Best statement debugging is… print_r($sth->errorInfo()); Like Unlike
Read MorePHP Array Filter by array
With php do you want to filter array by other array…. like this. $my_array = array(“foo” => 1, “hello” => “world”); $allowed = array(“foo”, “bar”); And you want output like… $my_array = array(“foo” => 1); Then your solution snippet is ….. var_dump(array_intersect_key($my_array, array_flip($allowed))); array(1) { ["foo"]=> int(1) } 1 person likes this [...]
Read MoreWP e-Commerce user register
WordPress having e-commerce module to manage online store for product sale. With this module to buy a product with only user registration. To configure this kind of setting you should have to get idea from below screenshot. Like Unlike
Read MoreWordPress conditions-is-home-is_page-is_home_page-is_tag-is_category
The Conditions For … All of the Conditional Tags test to see whether a certain condition is met, and then returns either TRUE or FALSE. The conditions under which various tags output TRUE is listed below. Those tags which can accept parameters are so noted. The Main Page is_home() When the main blog page is being displayed. [...]
Read MoreRaphael JS-javascript svg scripts
Raphael JS can be used to create SVG graphics on your website. It’s an amazing JavaScript plugin that is well worth learning if you plan to draw graphs or grids, or anything really. Like Unlike
Read More