I hereby claim:
- I am carbontwelve on github.
- I am carbontwelve (https://keybase.io/carbontwelve) on keybase.
- I have a public key whose fingerprint is 9C54 2C8A C7F3 8B07 351A F190 FFF3 22CE BDDF 0006
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
$locationTemplate = 'http://???/picam/index.php'; | |
$ipTemplate = '192.168.20.???'; | |
for ($i = 10; $i<255; $i++){ | |
$ip = str_replace('???', $i, $ipTemplate); | |
$loc = str_replace('???', $ip, $locationTemplate); |
Below test results from executing this benchmark script.
Running within an Azure App Service Plan (Standard 1 Large) PHP 5.4.45:
----------------------------------------------------------------------
| PHP Benchmark Script |
| 2016-04-06 07:42:53 -07:00 |
| PHP Version: 5.4.45 // OS Version: WINNT |
----------------------------------------------------------------------
var gulp = require('gulp'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
concat = require('gulp-concat'), | |
less = require('gulp-less'), | |
plumber = require('gulp-plumber'), | |
util = require('gulp-util'), | |
livereload = require('gulp-livereload'), |
info: Executing command network lb show | |
+ Looking up the load balancer "LAMPClusterLB" | |
data: Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/CompanyLAMPCluster/providers/Microsoft.Network/loadBalancers/LAMPClusterLB | |
data: Name : LAMPClusterLB | |
data: Type : Microsoft.Network/loadBalancers | |
data: Location : northeurope | |
data: Provisioning State : Succeeded | |
data: Frontend IP configurations: | |
data: Name : LBFrontEndPool | |
data: Provisioning state : Succeeded |
<?php namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Response; | |
class BasicWebAuth | |
{ | |
/** | |
* Name of the realm | |
* |
<?php | |
/* | |
Plugin Name: Skeleton Widget | |
Description: A widget example for the widget article at photogabble.co.uk | |
*/ | |
class Carbontwelve_Skeleton_Widget extends WP_Widget { | |
/** | |
* Register widget with WordPress. |
<?php | |
function check_alive($url, $timeout = 10, $successOn = array(200, 301)) { | |
$ch = curl_init($url); | |
// Set request options | |
curl_setopt_array($ch, array( | |
CURLOPT_FOLLOWLOCATION => false, | |
CURLOPT_NOBODY => true, | |
CURLOPT_TIMEOUT => $timeout, |
<?php | |
// CSRF Protection | |
$this->beforeFilter('csrf', array('on' => 'post')); |
# Running xdebug in the console, for debugging Laravel artisan commands. Useful as I keep forgetting this one... | |
php -dxdebug.remote_autostart artisan | |
#Running phpcs for 5.3: | |
phpcs -pv --standards= --runtime-set testVersion 5.3 --ignore=*/public/*,*.js,*.css,*/tests/*,*/views/training/* . |