Install xdebug with PECL.
sudo pecl install xdebug
Create the following file @ /etc/php5/conf.d/xdebug.ini
zend_extension = /usr/lib/php5/20090626/xdebug.so
| <html> | |
| <head> | |
| <title>Open Standard Media (OSM) Player: PHP Demo</title> | |
| <script type='text/javascript' src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.js"></script> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js"></script> | |
| <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dark-hive/jquery-ui.css"> | |
| <script type="text/javascript" src="/osmplayer/bin/osmplayer.compressed.js"></script> | |
| <link rel="stylesheet" href="/osmplayer/templates/default/css/osmplayer_default.css"> | |
| <script type="text/javascript" src="/osmplayer/templates/default/osmplayer.default.js"></script> |
| 0 4 8 1 1 2 2 2 3 3 4 4 4 | |
| 2 6 0 4 8 2 6 0 4 8 | |
| 1 0000 | |
| 2 0000 | |
| 3 0000 | |
| 4 0000 | |
| 5 0000 | |
| 6 0000 | |
| 7 0000 | |
| 8 0000 |
| php -i | grep 'Configure Command =>' | awk '{for(i=5; i<=NF; i++) {print substr($i, 2, (length($i) - 2))}}' |
Install xdebug with PECL.
sudo pecl install xdebug
Create the following file @ /etc/php5/conf.d/xdebug.ini
zend_extension = /usr/lib/php5/20090626/xdebug.so
| sudo npm cache clean -f | |
| sudo npm install -g n | |
| sudo n stable | |
| sudo npm install -g npm |
| module.exports = function(grunt) { | |
| // The hosts we wish to deploy to. | |
| var hosts = ['server1', 'server2']; | |
| // The folders to watch. | |
| var watchFolder = 'src/**/*'; | |
| // Rsync src folder. | |
| var rsyncSRC = './src/'; |
| [ | |
| { | |
| "timezone": "Afghanistan Standard Time", | |
| "display": "(GMT+04:30) Kabul" | |
| }, | |
| { | |
| "timezone": "Alaskan Standard Time", | |
| "display": "(GMT-09:00) Alaska" | |
| }, | |
| { |
npm install -g formio/formio-cli#master
formio bind POST https://myapp.form.io/myform ./middleware.js
| for (var i = 0; i < 9999999999; i++) { | |
| var num = ("0000000000" + i).substr(-10,10); | |
| var counts = [0,0,0,0,0,0,0,0,0,0]; | |
| for (var j = 0; j < 10; j++) { | |
| counts[num[j]]++; | |
| } | |
| if (counts.join('') === num) { | |
| console.log('Winner!' + num); | |
| break; | |
| } |
| module.exports = function(req, next) { | |
| // Append .example.com to emails for testing purposes... | |
| req.body.data.email += '.example.com'; | |
| next(null); | |
| }; |