Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Sankaku fast pagination
// @version 0.1
// @match *://chan.sankakucomplex.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
/* jshint esnext: true */
const originalSetTimeout = window.setTimeout;
@koteq
koteq / gplus_img_title.user.js
Created June 23, 2017 11:44
G+ hover image title
// ==UserScript==
// @name G+ hover image title
// @version 1.0
// @match *://plus.google.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
/* jshint esnext: true */
const decodeFileName = (src) => {
@koteq
koteq / gen.sh
Created September 25, 2017 14:57
openssl self-signed certificate creation for web server
set -e
if [ -z "$1" ]; then
hostname="$HOSTNAME"
else
hostname="$1"
fi
local_openssl_config="
[req]
/**
* DIR-655 Network Monitor.
* Based on Network Monitor v2.0 for Yahoo! Widgets.
*/
let lan_tx_bytes;
let lan_rx_bytes;
let last_timestamp;
const readValues = () => {