Skip to content

Instantly share code, notes, and snippets.

soaxelbrooke /
Last active June 2, 2018 16:27
File System Cache Decorator in Python
""" Caches expensive function calls in pickled bytes on disk. """
import os
import shutil
import subprocess
import dill
from functools import wraps
import hashlib
import base64
Hexalon / Lock-Computer.ps1
Last active August 26, 2020 14:06
Uses C# to call an Win32 API to lock the computer
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.117
Created on: 3/25/2016 17:33
Created by: Colin Squier <>
Filename: Lock-Computer.ps1
Uses C# to call an Win32 API to lock the computer
ellisgeek /
Last active August 8, 2022 20:57 — forked from mendelgusmao/btsync
Proper init.d script for btsync. Comes with complete install instructions!
# Provides: btsync
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: daemonized version of btsync.
jasonsperske / MIT-LICENSE
Last active March 1, 2023 03:06
A simple Python program that can read DOOM.Hexen IWAD and PWAD files and render them as SVG see examples at
MIT License
Copyright (c) 2018 Jason Sperske
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: