Skip to content

Instantly share code, notes, and snippets.

diff --git a/pst/build.gradle b/pst/build.gradle
index 9b4dc857..9eb8aa44 100644
--- a/pst/build.gradle
+++ b/pst/build.gradle
@@ -109,7 +109,7 @@ checkstyleMain.source = "src/main/java" // only checks the manually written java
//=============================================================================
protobuf {
protoc {
- artifact = 'com.google.protobuf:protoc:2.6.1'
+ path = '/home/wave-sandbox/.local/bin/protoc'
@progval
progval / freenode-resign-letter.txt
Created May 19, 2021 11:14 — forked from aaronmdjones/freenode-resign-letter.txt
My resignation from freenode
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
My resignation from freenode staff
==================================
I joined the freenode staff in March 2019 [1].
Before I joined the staff, Freenode Ltd was sold [2] to a person named
Andrew Lee as part of a sponsorship deal. The informal terms of that
@progval
progval / factoids_upgrade_db.py
Created March 26, 2022 06:24
factoids_upgrade_db.py
# Migration script for https://github.com/ProgVal/Limnoria/commit/436d2bade8557111d13a586ab845ed43ff5872c8
import sqlite3
import sys
try:
(_, old_path, new_path) = sys.argv
except ValueError:
print("Syntax: %s <path_to_old.db> <path_to_new.db>")
exit(1)
STDERR.puts "Listing backups"
Backup.find_each.map do |backup|
print(backup.dump.url + "\n")
end
STDERR.puts "Listing imports"
Import.find_each.map do |import|
print(import.data.url + "\n") unless import.data.url == "/data/original/missing.png"
end