Skip to content

Instantly share code, notes, and snippets.

View Thynix's full-sized avatar
🏠
Working from home

Steve Dougherty Thynix

🏠
Working from home
View GitHub Profile
@Thynix
Thynix / (Custom) Arbor Rockets.json
Created April 15, 2022 10:28
Demeo House Rules
{
"Name": "(Custom) Arbor Rockets",
"Description": "0 Action Cost and 3 damage for Sorcerer's Zap, long torches, no respawns.",
"Rules": [
{
"Rule": "AbilityActionCostAdjusted",
"Config": {
"Zap": false
}
},
// Lines of text - specify 1 or 2.
// Remove or comment out one of the example lines to specify 1.
lines=[
"Test",
"Tag",
];
// Additional optional customization follows:
fonts=[
"Impact",
@Thynix
Thynix / build.sh
Last active November 6, 2018 01:39
Script to allow disabling JRE ECDSA for a Java 7 Docker jar build
# Disable ECDSA to avoid `Exception in thread "main" javax.net.ssl.SSLException: java.security.ProviderException: java.security.InvalidKeyException: EC parameters error`
# when running ./gradlew jar; see https://github.com/docker-library/openjdk/issues/117#issuecomment-307222367
sed -i 's/RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224/RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224, ECDSA/' /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/java.security
./gradlew jar
diff --git a/fcp/node.py b/fcp/node.py
index c3b03a3..e444469 100644
--- a/fcp/node.py
+++ b/fcp/node.py
@@ -3267,6 +3271,9 @@ def guessMimetype(filename):
"""
if filename.endswith(".tar.bz2"):
return ('application/x-tar', 'bzip2')
+
+ if filename.endswith('.weechatlog'):
@Thynix
Thynix / test-update-uri.sh
Created May 12, 2018 15:35
Freenet update key transition test
#!/bin/bash
function getURI() {
grep node.updater.URI freenet.ini
}
function restoreConfig() {
cp freenet.ini-stock freenet.ini
}
function run() {
@Thynix
Thynix / control.lua
Created July 9, 2017 14:40
Update to RailPowerSystem 0.1.3 for changes in Factorio 0.15.27
require "constants"
require "libs.dataLibs"
require "libs.railPowerLib"
require "libs.eventsHandler"
require "controls.rail"
require "controls.train"
local function AddFarl()
if remote.interfaces.farl then
remote.call("farl", "add_entity_to_trigger", straightRailPower)
@Thynix
Thynix / log.html
Created November 7, 2015 20:54 — forked from natronics/log.html
turn weechat logs into html
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="natronics.org">
<meta name="author" content="Nathan Bergey">
<link href='http://fonts.googleapis.com/css?family=Arvo:400,700|PT+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/resources/css/bootstrap.min.css" rel="stylesheet">
<link href="/resources/css/style.css" rel="stylesheet">
#!/bin/bash
echo Updating wrapper.conf to bouncycastle 1.52
echo "Starting with:"
grep bcprov-jdk15on wrapper.conf
cat wrapper.conf | sed "s/bcprov-jdk15on-147/bcprov-jdk15on-152/" > wrapper.conf.new
cat wrapper.conf | sed "s/bcprov-jdk15on-149/bcprov-jdk15on-152/" > wrapper.conf.new
cat wrapper.conf | sed "s/bcprov-jdk15on-151/bcprov-jdk15on-152/" > wrapper.conf.new
echo "Ending with:"
grep bcprov-jdk15on wrapper.conf.new
mv wrapper.conf.new wrapper.conf
@Thynix
Thynix / keybase.md
Created July 11, 2015 22:40
Keybase.io verification for Thynix on GitHub

Keybase proof

I hereby claim:

  • I am Thynix on github.
  • I am thynix (https://keybase.io/thynix) on keybase.
  • I have a public key whose fingerprint is CB5F 1BCA BB54 549C 3047 DA3D 22C9 3F5F 4AAA 616E

To claim this, I am signing this object:

libdep-findbugs:
[echo] Running Findbugs
[findbugs] Executing findbugs FindBugsTask from ant task
[findbugs] Running FindBugs...
[findbugs] The following errors occurred during analysis:
[findbugs] Iterative jump info converged after 21 iterations in static freenet.crypt.ciphers.Rijndael_Algorithm.<clinit>()V, size 3018
[findbugs]
[findbugs] Warnings generated: 797
[findbugs] Analysis errors: 1
[findbugs] Calculating exit code...