Skip to content

Instantly share code, notes, and snippets.

@ouroborus
ouroborus / README.md
Last active October 19, 2018 20:45 — forked from peterssonjonas/README.md
D3 Zoomable Scatterplot

Zoomable scatterplot of graphic card Price vs G3D Mark based on PassMark data.

// ==UserScript==
// @name Imgur numbered images
// @namespace ouroborus.org
// @version 1
// @match https://imgur.com/gallery/*
// @grant none
// ==/UserScript==
var script = document.createElement("script");
document.head.append(script);
script.textContent = `
@ouroborus
ouroborus / fshack.py
Last active June 2, 2021 13:41
Decrypt/Encrypt Fallout Shelter save files
#!/usr/bin/python
from __future__ import print_function,division
from Crypto.Protocol.KDF import PBKDF2
from Crypto.Cipher import AES
from base64 import decodestring,encodestring
from sys import stdout,stdin
from json import loads,dumps
from math import ceil
# fshack.py <Vault1.sav >Vault2.sav
@ouroborus
ouroborus / SharedSession.cs
Created January 28, 2018 00:34
IIS Shared Session State Hack
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.SessionState;
namespace org.ouroborus {
@ouroborus
ouroborus / lync-sample1.py
Last active January 25, 2018 23:43 — forked from haniehrajabi/lync-sample1.py
Example python script for authenticating to Lync and creating an application endpoint that lists all of a persons contacts. Python example for what's described here https://ucwa.skype.com/documentation/keytasks-createapplication
import requests
import json
from urlparse import urlparse
sip_domain = "SIP_DOMAIN.COM"
username = "USERNAME@SIP_DOMAIN.COM" # or: "NETBIOS_DOMAIN\\WINDOWS_USERNAME"
password = "YOUR_LYNC_PASSWORD" # or: "WINDOWS_PASSWORD"
def extractAuthURL(str):
start = str.find('MsRtcOAuth');
@ouroborus
ouroborus / void_miner.md
Last active January 17, 2022 21:48
Void Miner

Void Miner Requirements

Minecraft 1.12.x
Environmental Tech 2.0.x

Tier Volume Frame¹ Panel Modifier Core Lens Material Upgrade²
1 7 x 4 x 7 24 (+24) 20 (+20) 0 2 1 Litherite 85
2 7 x 5 x 7 32 (+8) 16 (-4) 4 3 1 Erodium 118
3 9 x 6 x 9 56 (+24) 52 (+36) 8 4 1 Kyronite 166
@ouroborus
ouroborus / draconic-evolution-energy-crystals.md
Last active October 20, 2023 01:52
Draconic Evolution Energy Crystal stats
Capacity (MRF) Range¹ Links²
Basic Energy Relay Crystal 4 32 8
Wyvern Energy Relay Crystal 16 64 16
Draconic Energy Relay Crystal 64 127 32
Basic Energy I/O Crystal 4 32 2
Wyvern Energy I/O Crystal 16 64 3
Draconic Energy I/O Crystal 64 127 4
Basic Wireless Energy Crystal 4 32 4
Wyvern Wireless Energy Crystal 16 64 8
@ouroborus
ouroborus / FTBLib.md
Last active June 12, 2017 17:55 — forked from jmcaffee/FTBLib.md
FTB Mod Commands

Commands

  • /reload [client] - Reloads server and optionally client

  • /reload_client - Reloads client only

  • /ftb_mode set <mode> - Sets current mode

  • /ftb_mode get - Prints current mode

  • /ftb_mode list - Prints all available modes

  • /edit_config [group] [entry] [value] - Opens config Gui, if only 1st argument is given

@ouroborus
ouroborus / reset-LCore.ps1
Created May 6, 2017 21:39
Restart LCore.exe when it's using to much memory
# LCore.exe (Logitech's tool for configuring and customizing their devices) has a pretty bad memory leak.
# This script kills LCore when it starts using more that 256MB, cleans up the task tray, then restarts LCore.
# It uses the same command line used to initially start LCore.
# Set LCore to start when Windows starts.
# (If you need to start it manually, include the /minimized argument: LCore.exe /minimized )
# Save this file to %USERPROFILE%\command\reset-LCore.ps1
# Create a Task Scheduler item with triggers for:
# every hour after logon, and
# every hour after created or modified.