- Alien
- Aliens
- Creep (5.5)
- The Taking of Deborah Logan (5.7)
- Last Shift (5.9)
- Martyrs (6.2)
- The Poughkeepsie Tapes (6.2)
- The Grudge (6.3)
- Candyman (6.4)
- The Blair Witch Project (6.4)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @include https://pl.wikipedia.org/* | |
// ==/UserScript== | |
// For test purposes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "patcher_x86.hpp" | |
Patcher* _P; | |
PatcherInstance* _PI; | |
static _bool_ plugin_On = 0; | |
int __stdcall testHook(LoHook* h, HookContext* c) | |
{ | |
c->eax *= 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////// //////// | |
// library library patcher_x86.dll | |
// spread freely (free of charge) | |
// copyright: Barinov Alexander (baratorch), e-mail: [email protected] | |
// the form of implementation of low-level hooks (LoHook) is partly borrowed from Berserker (from ERA) | |
//////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// //////// | |
// version 4.2 | |
//////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// //////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// библиоотека patcher_x86.dll | |
// распространяется свободно(бесплатно) | |
// авторское право: Баринов Александр (baratorch), e-mail: [email protected] | |
// форма реализации низкоуровневых хуков (LoHook) отчасти позаимствована у Berserker (из ERA) | |
//////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// версия 4.2 | |
//////////////////////////////////////////////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const REALM = Symbol(); | |
Object.define(HTMLElement.prototype, 'realm', { | |
get() { | |
if (!Reflect.has(this, REALM)) this[REALM] = window; // Your construction logic goes here | |
return this[REALM]; | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const async = require('async'); | |
async.filter(['file1','file2','file3'], function(filePath, callback) { | |
fs.access(filePath, function(err) { | |
callback(null, !err) | |
}); | |
}, function(err, results){ | |
// results now equals an array of the existing files | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "@test/bar", | |
"version": "0.1.0", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "Michał Wadas", | |
"license": "MIT", | |
"dependencies": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "@test/foo", | |
"version": "0.1.0", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "Michał Wadas", | |
"license": "MIT", | |
"dependencies": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const BACKING_MAP = Symbol('Backing map for CustomEqualitySet'); | |
const HASH_FUNCTION = Symbol('Hash function for CustomEqualitySet'); | |
export default class CustomEqualitySet extends Set { | |
constructor(iterable=[], hashFunction=val=>val) { | |
super(); | |
this[BACKING_MAP] = new Map(); | |
this[HASH_FUNCTION] = hashFunction; | |
for(const el of iterable) { | |
this.add(el); |