Skip to content

Instantly share code, notes, and snippets.

@thoaster
thoaster / reset.sh
Last active May 17, 2024 15:47
Transmit 5 Trial Reset
#!/bin/sh
# Reset Transmit 5 Trial
# curl -fsSL https://gist.githubusercontent.com/thoaster/ca5b4fdb653b9cdb3930897045b78558/raw/reset.sh | bash
set +e
set -x
sudo rm -rf ~/Library/Caches/com.panic.Transmit
sudo rm -rf ~/Library/Application\ Support/com.panic.Transmit
sudo rm ~/Library/Preferences/com.panic.Transmit.plist
@simonw
simonw / recover_source_code.md
Last active May 17, 2024 15:47
How to recover lost Python source code if it's still resident in-memory

How to recover lost Python source code if it's still resident in-memory

I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6

Attach a shell to the docker container

Install GDB (needed by pyrasite)

apt-get update && apt-get install gdb
@ObserverOfTime
ObserverOfTime / BDLinux.md
Last active May 17, 2024 15:45
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

@Klerith
Klerith / instalaciones-next.md
Last active May 17, 2024 15:44
Instalaciones recomendadas para el curso de Next.js 13 >
@nyancodeid
nyancodeid / README.md
Last active May 17, 2024 15:44
Make RESTful API with Google Apps Script and SpreadSheet

Google Script CRUD

By Ryan Aunur Rassyid

Simply create RESTful API with Google Script and store it to Google SpreadSheet like a Pro.

@OnniSaarni
OnniSaarni / fikaserver.md
Last active May 17, 2024 15:41
SPT AKI Fika Server With Docker Ubuntu/Debian
@jpylypiw
jpylypiw / Game.ini
Created December 28, 2017 09:14
The Isle Game.ini
[/script/theisle.igamesession]
ServerName=xxx
ServerPassword=
ServerSteamGroup=
ServerMOTD=Hi There :3
bFamilySharing=false
bServerDatabase=true
bServerAllowChat=true
bServerGlobalChat=true
bServerNameTags=true
import glob
import gzip
import json
import multiprocessing
import os
import os.path as osp
import tqdm
import habitat
@Kurotaku-sama
Kurotaku-sama / Streamlabs HitsquadGodfather improvements.user.js
Last active May 17, 2024 15:35
A script for some improvements for Streamlabs for HitsquadGodfather
// ==UserScript==
// @name Streamlabs HitsquadGodfather improvements
// @name:de Streamlabs HitsquadGodfather verbesserungen
// @namespace kurotaku.de
// @version 1.1
// @description A script for some improvements for Streamlabs for HitsquadGodfather
// @description:de Ein Skript für einige Verbesserungen für Streamlabs für HitsquadGodfather
// @author Kurotaku
// @license MIT
// @match https://streamlabs.com/dasteamgodfather*