Skip to content

Instantly share code, notes, and snippets.

Ekin ekinhbayar

Block or report user

Report or block ekinhbayar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:0b6c14353caad65e6f83ec37b26d7ef4
struct Buffer {
var count: Int
subscript(at: Int) -> Any {
// get/set from storage
}
}
struct Buffer <Element> {
let count: Int
View gist:f89c5a4b87a6179784d56327b87adef7
$signalHandler = function ( $signal ) use ( $refreshWatcher, $clearWatcher ) {
Loop::cancel( $refreshWatcher );
Loop::cancel( $clearWatcher );
Loop::stop();
print "Caught {$signal}, exiting...\n";
//exit;
};
try {
Loop::onSignal( SIGINT, $signalHandler, "SIGINT" );
View sample_output.txt
/org/freedesktop/ModemManager1/Modem/23 (device id 'f9f15fa44cb11df18e1dee38529b60a0c212749f')
-------------------------
Hardware | manufacturer: 'ZTE CORPORATION'
| model: 'MF190'
| revision: 'BD_MF190TLF3V1.0.0B11'
| supported: 'gsm-umts'
| current: 'gsm-umts'
| equipment id: '123456789123456'
-------------------------
View get-raw-decomposition.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 299459 $ -->
<refentry xml:id="normalizer.normalizer_get_raw_decomposition" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Normalizer::getRawDecomposition</refname>
<refname>normalizer_get_raw_decomposition</refname>
<refpurpose>Returns the Decomposition_Mapping property for the given UTF-8 encoded code point.</refpurpose>
</refnamediv>
View bug76080.vlg.log
This file has been truncated, but you can view the full file.
==12423== Memcheck, a memory error detector
==12423== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==12423== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==12423== Command: php test/t12.php
==12423== Parent PID: 29085
==12423==
==12423== Stack overflow in thread #1: can't grow stack to 0xffe801000
==12423==
==12423== Process terminating with default action of signal 11 (SIGSEGV)
View noinspection_tags.txt
/** @noinspection PhpAssignmentInConditionInspection */
/** @noinspection PhpDeprecationInspection */
/** @noinspection PhpDocMissingReturnTagInspection */
/** @noinspection PhpDocSignatureInspection */
/** @noinspection PhpDynamicAsStaticMethodCallInspection */
View .config.nice
#! /bin/sh
#
# Created by configure
'./configure' \
'--prefix=/usr/local/php' \
'--with-config-file-scan-dir=/usr/local/php/etc/conf.d' \
'--without-pear' \
'--enable-bcmath' \
'--with-bz2' \
View opt_debug_level.md
opcache.opt_debug_level

Produces opcode dumps for debugging different stages of optimizations. php -d opcache.opt_debug_level=0x10000 test.php will output opcodes as the compiler produced them before any optimization occurs. 0x20000 will output optimized opcodes. 0x40000 will produce a control flow graph (CFG). 0x200000 will produce a type and range-inferred static single assignment (SSA) form.

View uv.log
...
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
root@GitAmp-Ubuntu:/opt/php-uv# make
/bin/bash /opt/php-uv/libtool --mode=compile cc -I. -I/opt/php-uv -DPHP_ATOM_INC -I/opt/php-uv/include -I/opt/php-uv/main -I/opt/php-uv -I/usr/local/php7/include/php -I/usr/local/php7/include/php/main -I/usr/local/php7/include/php/TSRM -I/usr/local/php7/include/php/Zend -I/usr/local/php7/include/php/ext -I/usr/local/php7/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O0 -c /opt/php-uv/php_uv.c -o php_uv.lo
mkdir .libs
@ekinhbayar
ekinhbayar / dnsWithOPcache.log
Last active Jun 30, 2017
amphp/dns tests on my end
View dnsWithOPcache.log
➜ dns git:(master) vendor/bin/phpunit
PHPUnit 6.2.2 by Sebastian Bergmann and contributors.
..............................EEEE...EEEEE..FF.F.. 50 / 50 (100%)
Time: 1.02 seconds, Memory: 6.00MB
There were 9 errors:
1) Amp\Dns\Test\IntegrationTest::testResolve with data set #0 ('google.com')
You can’t perform that action at this time.