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
#Requires AutoHotkey v2.0 | |
AppVol(Target := "A", Level := 0) { | |
if (Target ~= "^[-+]?\d+$") { | |
Level := Target | |
Target := "A" | |
} else if (SubStr(Target, -4) = ".exe") { | |
Target := "ahk_exe " Target | |
} | |
try { |
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
#!/usr/bin/env python3 | |
import argparse | |
import functools | |
import hmac | |
import json | |
import plistlib | |
import subprocess | |
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== | |
// @name BitMex USD Converter | |
// @namespace https://bitmex.com/ | |
// @version 0.11 | |
// @description Get some sanity into your gambling. | |
// @author koinkraft | |
// @grant none | |
// @include https://bitmex.com/* | |
// @include https://www.bitmex.com/* | |
// @require https://code.jquery.com/jquery-2.1.4.min.js |
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
:: TITLE: move-browser-cache-to-ramdisk.bat | |
:: BY: GH:netravnen | |
:: NOTE: Requires administrator rights to run under Windows | |
:: VERSION: v1.0.0-20180728 | |
:: Google Chrome | |
IF EXIST "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache" ( | |
rmdir /S /Q "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache" | |
mklink /D "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache" R:\cache | |
ECHO Google Chrome cache moved |
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
// License: MIT | |
using System; | |
using System.Collections.Concurrent; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
public class LifeSpanTreadmill: IDisposable | |
{ |
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
#!/usr/bin/env python | |
# | |
# Store Ethereum transactions to a certain address in a CSV file, with | |
# associated pricing data. Can be used to understand mining revenue. | |
import sys | |
import csv | |
import time | |
import json | |
import bisect |