Run Multiple instance of Skype on Mac OS X
Run following command in terminal to start second instance of Skype sudo /Applications/Skype.app/Contents/MacOS/Skype
Life runs on code
Run following command in terminal to start second instance of Skype sudo /Applications/Skype.app/Contents/MacOS/Skype
Default WooCommerce function is_woocommerce return true for only that pages which use WooCommerce templates. Cart, Checkout,My Account … etc page are standard pages with shortcodes so that are not checked by that function. is_realy_woocommerce_page is wrapper of is_woocommerce function and also check if the page is …
To export all MySQL user privileges run following script. Note : Replace {host_name}, {user_name} and {password} with your values. mysql -h {host_name} -u {user_name} -p{password} -Ne “select distinct concat( \”SHOW GRANTS FOR ‘\”,user,\”‘@’\”,host,\”‘;\” ) from user;” mysql | mysql -h {host_name} -u {user_name} -p{password} | sed …
Great tutorial to manage glusterFS : readthedocs if you are getting error like volume add-brick: failed: Incorrect number of bricks supplied 1 with count 2 Then you are trying to add distribute leg, which requires multiple bricks based on replication setting, try following command gluster vol add-brick <vol-name> <brick1><brick2>
Command Line Nmap with ssl-enum-ciphers This will be a very simple and and faster way to get a list of available ciphers from a network service. and nmap will provide a strength rating of strong, weak, or unknown for each available cipher. Which will help to determine …
https://toemat.com/logitech-mx-master-fix/
A simple script to upgrade OpneSSH on CentOs 6.7. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters …
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
http://techblog.procurios.nl/k/n618/news/view/34972/14863/cache-a-large-array-json-serialize-or-var_export.html
During work, We share passwords or some other sensitive piece of information with a friend or coworker. The problem is When you do it over chat or email, that data just got really insecure and easy to find, if some one got access of your account, …
Recently I started phpUnit testing, and I found some of the test are flagging as risky. Most of the time I able figure bout reason but some time it very time consuming and also there isn’t any messages from PHPUnit.
http://marcofranssen.nl/writing-modular-javascript-without-polluting-the-global-namespace/
In HTML5, you can download file when clicking on the link instead of redirecting to the file. Read More : http://www.w3schools.com/tags/att_a_download.asp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php global $wpdb; if ( is_array( …