(Full description and list of commands at - https://npmjs.org/doc/index.html)
Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
| <?php error_reporting(E_ALL); | |
| function test() {} | |
| $nIter = 1000000; | |
| $argNums = [0, 1, 2, 3, 4, 5, 100]; | |
| $func = 'test'; | |
| foreach ($argNums as $argNum) { |
(Full description and list of commands at - https://npmjs.org/doc/index.html)
Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
| <?php | |
| /* | |
| A quick set of functions to move items in a non-associative array | |
| up or down by one, shifting the items around it appropriately. | |
| Original usage was to for a set of UP and DOWN buttons to | |
| manipulate the order of an array of items stored in Wordpress option. | |
| */ | |
| $a = array('a','b','c','d','e'); |
This is a quick guide to OAuth2 support in GitHub for developers. This is still experimental and could change at any moment. This Gist will serve as a living document until it becomes finalized at Develop.GitHub.com.
OAuth2 is a protocol that lets external apps request authorization to private details in your GitHub account without getting your password. All developers need to register their application before getting started.