Skip to content

Instantly share code, notes, and snippets.

View refack's full-sized avatar
🕺
status

Refael Ackermann refack

🕺
status
View GitHub Profile
@refack
refack / 2013-03-18 node_lib warnings
Created March 18, 2019 12:43
node core MSVC warnings
"D:\code\node\node_lib.vcxproj" (default target) (2) ->
D:\code\node\src\api\exceptions.cc(216): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\node\node_lib.vcxproj]
D:\code\node\src\api\exceptions.cc(219): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\node\node_lib.vcxproj]
D:\code\node\src\api\exceptions.cc(225): warning C4996: 'v8::Object::Set': was declared deprecated [D:\code\node\node_lib.vcxproj]
D:\code\node\src\api\environment.cc(172): warning C4244: 'initializing': conversion from 'uint64_t' to 'double', possible loss of data [D:\code\node\node_lib.vcxproj]
D:\code\node\src\api\environment.cc(177): warning C4244: 'argument': conversion from 'double' to 'uint64_t', possible loss of data [D:\code\node\node_lib.vcxproj]
D:\code\node\src\async_wrap.cc(631): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [D:\code\node\node_lib.vcxproj]
D:\code\node\src\cares_wrap.cc(1852): warning C4244: 'argument': conversion f
@refack
refack / fw_upgrade.sh
Created January 15, 2019 00:12
my openwrt scripts
cd /tmp
wget http://mirrors.a-m-v.pl/downloads.lede-project.org/snapshots/targets/ar71xx/generic/openwrt-ar71xx-generic-archer-c7-v2-squashfs-sysupgrade.bin
wget http://mirrors.a-m-v.pl/downloads.lede-project.org/snapshots/targets/ar71xx/generic/sha256sums
sha256sum -c sha256sums 2> /dev/null | grep OK
if [ $? -eq 0 ]
then
sysupgrade -v openwrt-ar71xx-generic-archer-c7-v2-squashfs-sysupgrade.bin
else
echo "bad"
fi
@refack
refack / package.json
Last active November 10, 2018 22:54 — forked from hudochenkov/package.json
{"name": "sort-error", "version": "0.0.0", "bin": "./sort.js"}
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\4.0]
"DefaultToolsVersion"="2.0"
"MSBuildOverrideTasksPath"="C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions]
@refack
refack / 24059.txt
Created November 4, 2018 23:10
24059 benchmark
confidence improvement accuracy (*) (**) (***)
http/bench-parser.js n=100000 len=16 *** 6.24 % ±1.36% ±1.81% ±2.36%
http/bench-parser.js n=100000 len=32 2.94 % ±3.47% ±4.64% ±6.09%
http/bench-parser.js n=100000 len=4 ** 4.73 % ±3.28% ±4.39% ±5.74%
http/bench-parser.js n=100000 len=8 * 7.24 % ±5.42% ±7.29% ±9.63%
http/check_invalid_header_char.js n=1000000 input='' 1.42 % ±5.25% ±6.99% ±9.10%
http/check_invalid_header_char.js n=1000000 input='\177' -0.72 % ±4.70% ±6.26% ±8
This file has been truncated, but you can view the full file.
Started by upstream project "node-test-commit-arm" build number 19085
originally caused by:
Started by upstream project "node-test-commit" build number 22149
originally caused by:
Started by upstream project "node-test-pull-request" build number 17721
originally caused by:
Started by user Michaël Zasso
[EnvInject] - Loading node environment variables.
Building remotely on test-packetnet-centos7-arm64-1 (centos7-arm64-gcc48 centos7-arm64-gcc6 centos7-arm64) in workspace /home/iojs/build/workspace/node-test-commit-arm/nodes/centos7-arm64-gcc6
> git rev-parse --is-inside-work-tree # timeout=10
@refack
refack / cl.txt
Created September 29, 2018 21:13
win cl cmd line
d:\bin\dev\vs\2017\CommunityPreview\VC\Tools\MSVC\14.16.26830\bin\HostX64\x64\CL.exe /c /Isrc /ID:\code\node\Release\obj\global_intermediate /ID:\code\node\Release\obj\global_intermediate\include /ID:\code\node\Release\obj\global_intermediate\src /Ideps\v8\include /I"deps\icu-small\source\i18n" /I"deps\icu-small\source\common" /Ideps\zlib /Ideps\http_parser /Ideps\cares\include /Ideps\uv\include /Ideps\nghttp2\lib\includes /Ideps\openssl\openssl\include /Z7 /nologo /W3 /WX- /diagnostics:classic /MP /Ox /Ob2 /Oi /Ot /Oy /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D BUILDING_V8_SHARED=1 /D BUILDING_UV_SHARED=1 /D "NODE_ARCH=\"x64\"" /D NODE_WANT_INTERNALS=1 /D V8_DEPRECATION_WARNINGS=1 /D "NODE_OPENSSL_SYSTEM_CERT_PATH=\"\"" /D HAVE_INSPECTOR=1 /D FD_SETSIZE=1024 /D "NODE_PLATFORM=\"win32\"" /D NOMINMAX /D _UNICODE=1 /D NODE_USE_V8_PLATFORM=1 /D NODE_HAVE_I18N_SUPPORT=1 /D NODE_HAVE_SMALL_ICU=1 /D HAVE_OPENSSL=1 /D UCONFIG_NO_SERVICE=1 /D U_ENABLE_DYLOAD=0 /D U_STATIC
Arguments may be given for each token in the form name="value" for strings and in the form name=value for booleans and numbers. In string arguments, escape ", \, and line terminators (\n or \r\n) with a \, e.g. arg1="\"quoted\""; arg2="c:\\path"; and arg3="one\ntwo". The brackets may be omitted if there are no arguments.
Examples: $TOKEN, ${TOKEN}, ${TOKEN, count=100}, ${ENV, var="PATH"}
Project Tokens
${DEFAULT_SUBJECT}
This is the default email subject that is configured in Jenkinss system configuration page.
${DEFAULT_CONTENT}
This is the default email content that is configured in Jenkinss system configuration page.
${DEFAULT_PRESEND_SCRIPT}
This file has been truncated, but you can view the full file.
13:14:28 Started by upstream project "node-test-commit-linux" build number 21225
13:14:28 originally caused by:
13:14:28 Started by upstream project "node-test-commit" build number 21101
13:14:28 originally caused by:
13:14:28 Started by upstream project "node-test-pull-request" build number 16912
13:14:28 originally caused by:
13:14:28 Started by user Anna Henningsen
13:14:28 [EnvInject] - Loading node environment variables.
13:14:28 Building remotely on test-softlayer-ubuntu1404-x86-1 (ubuntu1404-32) in workspace /home/iojs/build/workspace/node-test-commit-linux/nodes/ubuntu1404-32
13:14:28 > git rev-parse --is-inside-work-tree # timeout=10
<?xml version='1.1' encoding='UTF-8'?>
<matrix-project plugin="[email protected]">
<actions/>
<description>Runs the v8 tests from within the Node tree. Should be run when adding/modifying floating patches on V8</description>
<keepDependencies>false</keepDependencies>
<properties>
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="[email protected]">
<projectUrl>https://github.com/nodejs/node/</projectUrl>
<displayName></displayName>
</com.coravy.hudson.plugins.github.GithubProjectProperty>