I hereby claim:
- I am skrajewski on github.
- I am skrajewski (https://keybase.io/skrajewski) on keybase.
- I have a public key ASCSI-KUF183sZkTmzIqlLncVTha8L0s27RxQvMHK-vQIwo
To claim this, I am signing this object:
class EAN13 { | |
protected $code; | |
public function __construct($code) | |
{ | |
if (preg_match("/^[0-9]{12}$/", $code)) | |
{ | |
$this->code = $code . $this->calculateChecksumNumber($code); | |
} |
1920x1200 | |
1920x1080 | |
1680x1050 | |
1600x900 | |
1440x900 | |
1366x768 | |
1360x768 | |
1280x1024 | |
1280x800 | |
1280x720 |
var gulp = require('gulp'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var source = require('vinyl-source-stream'); | |
var buffer = require('vinyl-buffer'); | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
var babelify = require('babelify'); | |
var assign = require('lodash.assign'); | |
var gutil = require('gulp-util'); | |
var chalk = require('chalk'); |
<?php | |
class Dog { | |
private $dog; | |
public function __construct(Dog $dog) | |
{ | |
$this->dog = $dog; | |
} |
#!/bin/sh | |
CRYPTOMATOR_PATH="/usr/local/bin/cryptomator-cli.jar" | |
DIR_TO_SYNC_PATH="$HOME/Private" | |
MOUNT_PATH="$HOME/VAULT_$RANDOM" | |
VAULT_PATH="$HOME/PATH/TO/ENCRYPTED/VAULT" | |
VAULT_PASSWORD="`security find-generic-password -a KEYCHAIN_ENTRY_VAULT_PASSPHRASE -w`" | |
VAULT_NAME="vault" | |
BIND_HOST="localhost" | |
BIND_PORT="8198" |
I hereby claim:
To claim this, I am signing this object:
Dockerfile
that is based on your production image and
simply install xdebug
into it. Exemple:FROM php:5
RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
const pipe = async (stack, context) => { | |
const execute = (context) => { | |
let prevIndex = -1; | |
const runner = async (innerContext, index) => { | |
if (index == prevIndex) { | |
throw new Error('next() called more than once'); | |
} | |
prevIndex = index; |
const stackA = new Stack(); | |
stackA.push("abc"); | |
stackA.push("xyz"); | |
console.log(stackA.stack); | |
stackA.stack = []; | |
console.log(stackA.stack); | |
const stackB = createStack() | |
stackB.push("abc"); | |
stackB.push("xyz"); |
/** | |
* Replace non-breaking spaces with normal spaces | |
* | |
* @param $str | |
* @return string | |
*/ | |
public function removeNbsp($str) | |
{ | |
$str = htmlentities($str); | |
$str = str_replace(" ", " ", $str); |