I hereby claim:
- I am m3m0r7 on github.
- I am m3m0r7 (https://keybase.io/m3m0r7) on keybase.
- I have a public key ASAIFKEUupD1of1CVjzDGgOPjD-PUoIqPzG3p18XLLrfgwo
To claim this, I am signing this object:
| ==29== Memcheck, a memory error detector | |
| ==29== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
| ==29== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info | |
| ==29== Command: php /var/src/bootstrap.php | |
| ==29== Parent PID: 1 | |
| ==29== | |
| ==29== Conditional jump or move depends on uninitialised value(s) | |
| ==29== at 0x420402: zend_string_equal_val (in /usr/bin/php) | |
| ==29== by 0x4091FF: zend_hash_find (in /usr/bin/php) | |
| ==29== by 0x3E62B9: ??? (in /usr/bin/php) |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| class DanamoBuiltInFunction | |
| { | |
| public function 結果(array $node): int | |
| { | |
| ['left' => $left, 'operator' => $operator, 'right' => $right] = $node['code']; | |
| $left = $left['value']; | |
| if ($right !== null) { | |
| $right = $this->遡って計算($right); |
| <?php | |
| declare(strict_types=1); | |
| class Node | |
| { | |
| protected string $text; | |
| protected array $params; | |
| public function __construct(string $text, ...$params) | |
| { | |
| $this->text = $text; |
| <?php | |
| namespace App\Http\Middleware; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Http\Response; | |
| class Newrelic | |
| { | |
| public function handle(Request $request, \Closure $next) |
| <?php | |
| /** | |
| * Reference: | |
| * - http://www.libnfc.org/api/examples_page.html | |
| * - https://github.com/nfc-tools/libnfc/blob/master/examples/nfc-poll.c | |
| * | |
| * Tested: | |
| * - PaSoRi RC-S330 | |
| * | |
| * Example Output: |
| <?php | |
| $ffi = FFI::cdef(file_get_contents(__DIR__ . '/libusb.h'), '/usr/local/Cellar/libusb/1.0.24/lib/libusb-1.0.0.dylib'); | |
| $dh = $ffi->new('libusb_device_handle *'); | |
| $path = $ffi->new('uint8_t[8]'); | |
| $sdata = $ffi->new('uint8_t[255]'); | |
| $init = $ffi->libusb_init(null); |
| <?php | |
| function dt($v) | |
| { | |
| foreach ($v as $t) { | |
| echo $t->value(); | |
| } | |
| echo "\n"; | |
| } |
| <?php | |
| $handle = fopen(__DIR__ . '/HelloWorld.yarv', 'r'); | |
| // see: https://github.com/ruby/ruby/blob/2f603bc4/compile.c#L11087 | |
| $magic = fread($handle, 4); | |
| $majorVersion = unpack('V', fread($handle, 4))[1]; | |
| $minorVersion = unpack('V', fread($handle, 4))[1]; | |
| $fileSize = unpack('V', fread($handle, 4))[1]; | |
| $extraSize = unpack('V', fread($handle, 4))[1]; |