Skip to content

Instantly share code, notes, and snippets.

View KalleZ's full-sized avatar
🐟
Something fishy?

Kalle Sommer Nielsen KalleZ

🐟
Something fishy?
View GitHub Profile
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
Microcode signature: 000000BE
HTT * Hyperthreading enabled
HYPERVISOR - Hypervisor is present
VMX * Supports Intel hardware-assisted virtualization
SVM - Supports AMD hardware-assisted virtualization
X64 * Supports 64-bit mode
CPU
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Grundlæggende hastighed: 4,01 GHz
Sockets: 1
Kerner: 4
Logiske processorer: 8
Virtualisering: Aktiveret
L1-cache: 256 KB
"cl.exe" /D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x0601 /D COMPILE_DL_GD /D COMPILE_DL_OPCACHE -Iext/mbstring/libmbfl -Iext/mbstring/libmbfl/mbfl -Iext/mbstring/oniguruma /D NOT_RUBY=1 /D LIBMBFL_EXPORTS=1 /D HAVE_STDARG_PROTOTYPES=1 /D HAVE_CONFIG_H /D HAVE_STDLIB_H /D HAVE_STRICMP /D MBFL_DLL_EXPORT=1 /D ONIGURUMA_EXPORT /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /nologo /I . /I main /I Zend /I TSRM /I ext /D _WINDOWS /D WINDOWS=1 /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /W3 /D _USE_MATH_DEFINES /FD /wd4996 /Qspectre /guard:cf /Zc:inline /Zc:__cplusplus /MP /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "C:\php-sdk\master\vc15\x64\deps\include" /D FD_SETSIZE=256 /FoC:\php-sdk\master\vc15\x64\php-src\x64\Release_TS\ext\mbstring\ /FpC:\php-sdk\master\vc15\x64\php-src\x64\Release_TS\ext\mbstring\ /FRC:\php-sdk\master\vc15\x64\php-src\x64\Release_TS\ext\mbstring\ /FdC:\php-sdk\m
C:\Users\Bruger>php -r "function get_milestones(int $m, int $s = 0){ $x = $m / 100; $t = []; for($y = 1; $y < 101; ++$y){ if($s && $y < $s){ continue; } $t[$y] = ($x * $y); } return($t); } foreach(get_milestones(37214, 70) as $p => $t){ printf('%d%% - %d%s', $p, $t, PHP_EOL); }"
70% - 26049
71% - 26421
72% - 26794
73% - 27166
74% - 27538
75% - 27910
76% - 28282
77% - 28654
78% - 29026
$(document).ready(function()
{
alert('hello world');
})
"cl.exe" /D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPOR
TS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x0601 /D COMPILE_DL_GD /D COMPILE_
DL_OPCACHE /nologo /I . /I main /I Zend /I TSRM /I ext /D _WINDOWS /D WINDOWS=1
/D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /W3 /D _USE_MATH_DEFINES /FD /
wd4996 /D_USE_32BIT_TIME_T=1 /guard:cf /Zc:inline /MP /LD /MD /W3 /Ox /D NDebug
/D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "C:\php-sdk
\phpdev\vc15\x86\deps\include" /D FD_SETSIZE=256 /FoC:\php-sdk\phpdev\vc15\x86\p
hp-src\Release_TS\pecl\xdebug\ /FpC:\php-sdk\phpdev\vc15\x86\php-src\Release_TS\
pecl\xdebug\ /FRC:\php-sdk\phpdev\vc15\x86\php-src\Release_TS\pecl\xdebug\ /FdC:
\php-sdk\phpdev\vc15\x86\php-src\Release_TS\pecl\xdebug\ /c ..\pecl\xdebug\usefu
config.w32 | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/config.w32 b/config.w32
index 34ca909..a5c91e4 100644
--- a/config.w32
+++ b/config.w32
@@ -4,6 +4,19 @@
ARG_WITH("xdebug", "Xdebug support", "no");
ext/opcache/config.w32 | 2 +-
win32/build/confutils.js | 52 +++++++++++++++++++++++++++++++++++++++++-------
2 files changed, 46 insertions(+), 8 deletions(-)
diff --git a/ext/opcache/config.w32 b/ext/opcache/config.w32
index 8a33fd9..a545694 100644
--- a/ext/opcache/config.w32
+++ b/ext/opcache/config.w32
@@ -10,7 +10,7 @@ if (PHP_OPCACHE != "no") {
AC_DEFINE('HAVE_OPCACHE_FILE_CACHE', 1, 'Define to enable file based caching (experimental)');
@KalleZ
KalleZ / adam.php
Last active November 27, 2017 14:28
<?php
class MyClass
{
private $myService;
public function someMethod()
{
$cb = function()
{
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
ItemId;Name;Amount;Cost
151565;Astral Glory;10;1
151564;Empyrium;10;1
151566;Fiendish Leather;10;1
151567;Lightweave Cloth;10;1
151579;Labradorite;1;10
151722;Florid Malachite;1;10
151720;Chemirine;1;10
151718;Argulite;1;10
151721;Hesselian;1;10