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
#!/bin/python | |
# USAGE: | |
# 1) cd /path/to/git/repository | |
# 2) execute the script with: `python /path/to/remove_svn.py` | |
# NOTE: By default this code does a dry-run. To actually delete files from history, remove the | |
# "n" flag from the 'git rm -rfn' around line 20. | |
import subprocess | |
p = subprocess.Popen(['find', '.', '-name', '*.svn'], stdout=subprocess.PIPE) |
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
# How to uninstall Razer Synapse 2 ( https://www.razerzone.com/synapse-2 ) | |
# on OS X (10.11-10.13) (El Capitan, Sierra, High Sierra) | |
# without using Razer's official uninstall tool. | |
# Tested on OS X 10.11.5 in July 2016. | |
# Edited with additional steps for later OS X versions, | |
# contributed by commenters on this gist. | |
# Step 1: In your terminal: stop and remove launch agents | |
launchctl remove com.razer.rzupdater |
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
/* | |
* YouTube to Podcast using Node.js and not much else | |
* | |
* I got annoyed by all of the clunky and/or paid solutions to this problem, so I | |
* thought I'd just roll my own. My guess was that it'd be about 200 lines of code, | |
* and I wasn't too far off. It's not perfect but it works and it's relatively easy | |
* to follow. | |
* | |
* No half-hour Docker installs or 20gb Go libraries to download. Just throw it on a | |
* free EC2 micro server and serve the files using nginx like the good ol days. It |