I hereby claim:
- I am mkantor on github.
- I am mkantor (https://keybase.io/mkantor) on keybase.
- I have a public key ASDN-v3INYjOKlv-EAJ7ViUk2UpOASXZTJetSvO5xumNhQo
To claim this, I am signing this object:
Hello world! |
I hereby claim:
To claim this, I am signing this object:
// @ts-check | |
const schedule = [ | |
13, | |
'x', | |
'x', | |
41, | |
'x', | |
'x', | |
'x', |
function bar(): void { | |
console.log('hello') | |
} | |
export class ClassWithClosedOverFunction { | |
constructor() { | |
bar() | |
} | |
} | |
/* |
$ php requirer.php | |
before php tag in required.php | |
inside php tag in required.phpafter php tag in required.php | |
require_result: 1 | |
global_var: global var from required.php |
{ | |
"access": [ | |
{ | |
"role": "READER", | |
"specialGroup": "projectReaders" | |
}, | |
{ | |
"role": "WRITER", | |
"specialGroup": "projectWriters" | |
}, |
nav { | |
display: table-cell; | |
padding-right: 5px; | |
background: yellow; | |
white-space: nowrap; /* Prevent nav from ever inserting line breaks between words (like before "(p)"). */ | |
} | |
#content { | |
display: table-cell; | |
padding-left: 5px; |
$ uname -a | |
Linux betty 2.6.32-46-generic #108-Ubuntu SMP Thu Apr 11 15:55:01 UTC 2013 i686 GNU/Linux | |
$ php --version | |
PHP 5.3.2-1ubuntu4.19 with Suhosin-Patch (cli) (built: Mar 11 2013 15:23:47) | |
Copyright (c) 1997-2009 The PHP Group | |
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies | |
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans | |
$ for i in {1..3}; do time php substrstrlen.php; done |
<pre> | |
<?php | |
$x = 'value set in global scope'; | |
function namedFunction() { | |
echo 'in '.__FUNCTION__.', before setting $x: $x === '.var_export($x, true)."\n"; | |
$x = 'value set in '.__FUNCTION__; | |
echo 'in '.__FUNCTION__.', after setting $x: $x === '.var_export($x, true)."\n"; | |
} | |
#!/bin/sh | |
echo 'Pushing master to origin/master...' | |
git push origin master | |
echo 'Pushing origin/master to origin/gh-pages...' | |
git push origin origin/master:gh-pages |