I hereby claim:
- I am meadsteve on github.
- I am meadsteve (https://keybase.io/meadsteve) on keybase.
- I have a public key whose fingerprint is RETU RN T HIS. PGP. GET_ FING ERPR INT( ); }
To claim this, I am signing this object:
| var converter = (function () { | |
| 'use strict'; | |
| var romanNumeralsArray = [ | |
| {roman: 'I', number: 1}, | |
| {roman: 'V', number: 5}, | |
| {roman: 'X', number: 10}, | |
| {roman: 'L', number: 50}, | |
| {roman: 'C', number: 100}, | |
| {roman: 'D', number: 500}, |
| <?php | |
| namespace Behat\Mink\Driver; | |
| use Behat\Mink\Session, | |
| Behat\Mink\Element\NodeElement, | |
| Behat\Mink\Exception\DriverException; | |
| use WebDriver\WebDriver; | |
| use WebDriver\Key; |
| <?php | |
| class something implements \ArrayAccess, \Iterator | |
| { | |
| protected $loopable = true; | |
| public function offsetExists($offset) | |
| { | |
| return true; | |
| } |
| <?php | |
| function intToString($int) { | |
| $first = 'second'; | |
| $second = 'third'; | |
| $third = 'forth'; | |
| $forth = 'fifth'; | |
| $dollarer = function ($count) { return ($count > 1) ? str_repeat('$', min($count - 1, 4)) : str_repeat('$', 5); }; |
| <?php | |
| class ControlFlowception extends \Exception {} | |
| class Breakception extends ControlFlowception {} | |
| class Countception extends ControlFlowception | |
| { | |
| protected $count; | |
| protected $max; |
| <?php | |
| $stevesSecret = "pass123"; | |
| $hashOne = password_hash($stevesSecret, PASSWORD_BCRYPT, array("cost" => 4)); | |
| $hashTwo = password_hash($stevesSecret, PASSWORD_BCRYPT, array("cost" => 12)); | |
| echo $hashOne . PHP_EOL; | |
| echo $hashTwo . PHP_EOL; | |
| assert('$hashOne != $hashTwo', "The two hashes should be different"); |
| <?php | |
| namespace MeadSteve\Eventing; | |
| require_once "vendor/autoload.php"; | |
| use Symfony\Component\EventDispatcher\EventDispatcher as SymfonyEventDispatcher; | |
| use Symfony\Component\EventDispatcher\EventDispatcherInterface; | |
| use \Symfony\Component\EventDispatcher\Event; |
I hereby claim:
To claim this, I am signing this object:
| type_with_secrets = (function() { | |
| var secret_type_number = 0; | |
| var exported_type = function(){}; | |
| exported_type.prototype.increment_secret = function() { secret_type_number += 1;}; | |
| exported_type.prototype.get_secret = function() { return secret_type_number;}; | |
| return exported_type; | |
| })(); | |
| var aa = "first assignment"; | |
| aa = "second assignment"; | |
| console.log(aa == aa); |