Skip to content

Instantly share code, notes, and snippets.

Avatar

NeKz NeKzor

  • Austria
View GitHub Profile
View tm-stats-Fall 2020-2020-12-15.txt
Statistics as of 2020-12-15:
Top wr holders
8 - riolu-tm
5 - GNR-HASKELL
4 - Erizel
3 - RacetalTM
2 - hug0220
Top countries by wrs
View tm-stats-Fall 2020-2020-12-14.txt
Statistics as of 2020-12-14:
Top wr holders
7 - riolu-tm
5 - Erizel
4 - GNR-HASKELL
3 - RacetalTM
3 - hug0220
Top countries by wrs
@NeKzor
NeKzor / fetch.js
Created Aug 31, 2020
One-liner fetch API for NodeJs. Fuck axios & co.
View fetch.js
const fetch=(u)=>new Promise((x)=>require('https').request(u,{headers:{'User-Agent':'n^'}},(r)=>{let b='';r.on('data',(d)=>b+=d);r.on('end',()=>x(b));}).end());
// Example:
fetch('https://api.github.com/users/NeKzor/followers')
.then(JSON.parse)
.then((followers) => console.log(followers.length));
// > 15
@NeKzor
NeKzor / result.txt
Last active Feb 22, 2020
Data dump for Klooger.
View result.txt
sp:
00 884
01 578
02 1
03 790
04 109
05 522
06 801
07 0
08 597
@NeKzor
NeKzor / trees.js
Created Jan 9, 2020
Next level routing feat. The Beginners Guide.
View trees.js
const fs = require('fs');
const validCommands = ['color', 'wait', 'play', 'fire', 'clear', 'reset', 'say2'];
const parseVoice = (voice, line) => {
let curCommand = undefined;
let commands = [];
for (let c of line) {
if (c === '[') {
@NeKzor
NeKzor / sixense_patch.js
Created Nov 29, 2019
Play Portal 2 Sixense Perceptual Pack without Senz3D camera.
View sixense_patch.js
const fs = require('fs');
const client_sixense = process.argv[2] || './portal2_sixense/bin/client_sixense.dll';
const module = fs.readFileSync(client_sixense);
const patch = [
[
// Fix crash in init
// cmp ecx 69
@NeKzor
NeKzor / sda.js
Last active Nov 4, 2019
SDA forum scraping + analytics.
View sda.js
{
console.save = function(file, obj) {
let blob = new Blob([JSON.stringify(obj, null, 4)], { type: 'application/json' });
let e = document.createEvent('MouseEvents');
let a = document.createElement('a');
a.download = file;
a.href = window.URL.createObjectURL(blob);
a.dataset.downloadurl = ['application/json', a.download, a.href].join(':');
e.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
View autoBanNoProof.php
<?php
include(__DIR__."/../loader.php");
$params = array(
"dateStart" => "2017-05-11",
"dateEnd" => date('Y-m-d', time() - 60 * 60 * 24),
"banned" => "0",
"demo" => "0",
"yt" => "0");
View trash.js
/*
Rex - Portal Carousel - 24.73
2018-10-09
-0.20 former WR by Rex (lasted 3 days)
Demo File
https://board.iverb.me/getDemo?id=87466
Player
View SAR.asl.md
  • Install SAR

  • Get SAR.asl (Right click -> Save as -> SAR.asl)

  • Add Scriptable Auto Splitter to layout

  • Browse and add SAR.asl as Script Path

You can’t perform that action at this time.