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 / pocket_bookmarklet.js
Last active March 31, 2023 14:53
Improved "Add to Pocket" bookmarklet
javascript:
(function () {
var e = function (t, n, r, i, s) {
var o = [5601128, 5716643, 4915514, 5241231, 5600528, 1161535, 2895256, 1957175, 3189038, 3824147];
var i = i || 0,
u = 0,
n = n || [],
r = r || 0,
s = s || 0;
if (!s || s == 0) {
@refack
refack / list1
Last active January 16, 2020 17:49
nostrum-block
[Adblock Plus 2.0]
##.__hinit.__kwvr
##div.main_search_social.main_search_elements
cambridge.wickedlocal.com##ul.pad-top-two.width100percent
chartbeat.net
connect.facebook.net/en_US/sdk.js$domain=www.ynet.co.il
crwdcntrl.net
f.mol.im/i/furniture/fff/preload-inline.gif
facebook.com/plugins/comments.php
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}
confidence improvement accuracy (*) (**) (***)
buffers/buffer-write.js n=1000000 type='BigInt64BE' buffer='fast' -0.35 % ±0.79% ±1.05% ±1.36%
buffers/buffer-write.js n=1000000 type='BigInt64BE' buffer='slow' 0.36 % ±0.73% ±0.97% ±1.27%
buffers/buffer-write.js n=1000000 type='BigInt64LE' buffer='fast' -0.31 % ±0.86% ±1.15% ±1.50%
buffers/buffer-write.js n=1000000 type='BigInt64LE' buffer='slow' 0.60 % ±1.13% ±1.51% ±1.96%
buffers/buffer-write.js n=1000000 type='BigUInt64BE' buffer='fast' 0.29 % ±0.77% ±1.02% ±1.33%
buffers/buffer-write.js n=1000000 type='BigUInt64BE' buffer='slow' -0.01 % ±0.93% ±1.23% ±1.61%
buffers/buffer-write.js
@refack
refack / bytecode_builtins_list_generator.txt
Created May 17, 2019 15:23
bytecode_builtins_list_generator link errors
Errors
bytecode-operands.obj error LNK2019: unresolved external symbol "class v8::internal::Isolate * __cdecl v8::internal::IsolateFromNeverReadOnlySpaceObject(unsigned __int64)" (?IsolateFromNeverReadOnlySpaceObject@internal@v8@@YAPEAVIsolate@12@_K@Z) referenced in function "public: class v8::Local<class v8::Value> __cdecl v8::Context::GetEmbedderData(int)" (?GetEmbedderData@Context@v8@@QEAA?AV?$Local@VValue@v8@@@2@H@Z) [D:\code\node\tools\v8_gypfiles\bytecode_builtins_list_generator.vcxproj]
bytecodes.obj error LNK2001: unresolved external symbol "class v8::internal::Isolate * __cdecl v8::internal::IsolateFromNeverReadOnlySpaceObject(unsigned __int64)" (?IsolateFromNeverReadOnlySpaceObject@internal@v8@@YAPEAVIsolate@12@_K@Z) [D:\code\node\tools\v8_gypfiles\bytecode_builtins_list_generator.vcxproj]
generate-bytecodes-builtins-list.obj error LNK2001: unresolved external symbol "class v8::internal::Isolate * __cdecl v8::internal::IsolateFromNeverReadOnlySpaceObject(unsigned __int64)" (?IsolateFromN
modernize-use-override
/home/iojs/build/workspace/node-clang-tidy/src/env.h:544:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
~AsyncRequest();
^
override
modernize-use-override
/home/iojs/build/workspace/node-clang-tidy/src/env.h:825:3: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
~Environment();
^
override
@refack
refack / pre-push
Last active April 15, 2019 15:33
Block branch creation and deletion on public repo (place in .git/hooks/)
#!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
@refack
refack / centos7-arm64-gcc6
Created April 7, 2019 15:35
2019-04-07 Job 4337 - canary fail
../deps/v8/src/builtins/builtins.cc: In constructor ‘v8::internal::{anonymous}::OffHeapTrampolineGenerator::OffHeapTrampolineGenerator(v8::internal::Isolate*)’:
../deps/v8/src/builtins/builtins.cc:264:60: error: use of deleted function ‘v8::internal::MacroAssembler::MacroAssembler(v8::internal::Isolate*, v8::internal::CodeObjectRequired, std::unique_ptr<v8::internal::AssemblerBuffer>)’
ExternalAssemblerBuffer(buffer_, kBufferSize)) {}
^
In file included from ../deps/v8/src/macro-assembler.h:43:0,
from ../deps/v8/src/builtins/builtins.cc:13:
../deps/v8/src/arm64/macro-assembler-arm64.h:1282:25: note: ‘v8::internal::MacroAssembler::MacroAssembler(v8::internal::Isolate*, v8::internal::CodeObjectRequired, std::unique_ptr<v8::internal::AssemblerBuffer>)’ is implicitly deleted because the default definition would be ill-formed:
using TurboAssembler::TurboAssembler;
^~~~~~~~~~~~~~
../deps/v8/src/ar
@refack
refack / GmailMuteTheBot.xml
Created March 25, 2019 21:10
Mute the bot
<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<title>Mail Filters</title>
<id>tag:mail.google.com,2008:filters:5610372463111728370,z0000001553548085673*1299412842134600696</id>
<updated>2019-03-25T21:09:20Z</updated>
<author>
<name>Refael Ackermann</name>
<email>refack@gmail.com</email>
</author>
<entry>
<category term='filter'></category>
@refack
refack / report.txt
Created March 22, 2019 22:39
clang-tidy output
71228 warnings and 37 errors generated.
Error while processing /home/iojs/build/workspace/node-clang-tidy/src/tracing/traced_value.h.
/home/iojs/build/workspace/node-clang-tidy/src/debug_utils.h:103:11: warning: use '= default' to define a trivial destructor [modernize-use-equals-default]
virtual ~NativeSymbolDebuggingContext() {}
^ ~~
= default;
/home/iojs/build/workspace/node-clang-tidy/src/env.h:516:3: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
AsyncRequest() {}
^ ~~
= default;