Skip to content

Instantly share code, notes, and snippets.

View klepto's full-sized avatar
☠️
Void Spook

Augustinas R. klepto

☠️
Void Spook
  • HLWGroup
  • Lithuania
  • 07:06 (UTC +02:00)
View GitHub Profile
// ==UserScript==
// @name ShoutboxAdvanced
// @version 0.3
// @namespace ShoutboxAdvanced
// @description Advanced shoutbox mod for Rune-Server.
// @include http://www.rune-server.org/forums.php*
// @require http://userscripts.org/scripts/source/85365.user.js
// ==/UserScript==
var $ = unsafeWindow.jQuery;
@klepto
klepto / Executor.java
Created September 14, 2016 16:03
Continuations implementation in Java using Thread Parking
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.locks.LockSupport;
/**
// ==UserScript==
// @name KissAnime Linker
// @namespace https://github.com/kLeptO-
// @version 0.1
// @description Direct linker for KissAnime.
// @author kLeptO
// @match *.me/Anime/*
// @require http://code.jquery.com/jquery-latest.js
// @grant none
// ==/UserScript==
package test;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.LinkedList;
import java.util.Scanner;
public class PathSum {
public static void main(String[] args) throws Exception {