Skip to content

Instantly share code, notes, and snippets.

sparky3387 /
Created Aug 17, 2019
NVIDIA HDMI Control Device (Does not work properly)
#!/usr/bin/env python
import asyncio
import websockets
import logging
import json
logger = logging.getLogger('websockets')
# -*- coding: utf-8 -*-
import codecs
import sys
UTF8Writer = codecs.getwriter('utf8')
sys.stdout = UTF8Writer(sys.stdout)
import tempfile
import mysql.connector
from smb.SMBConnection import SMBConnection
from smb.smb_structs import OperationFailure
sparky3387 / rtorrent.patch
Created Jun 14, 2018
rTorrent patch for mylar
View rtorrent.patch
diff --git a/lib/rtorrent/ b/lib/rtorrent/
index 7044f71..1bd28b0 100644
--- a/lib/rtorrent/
+++ b/lib/rtorrent/
@@ -74,7 +74,9 @@ class RTorrent:
if m.is_retriever() and m.is_available(self)]
m = rtorrent.rpc.Multicall(self)
- m.add("d.multicall", view, "d.get_hash=",
+ # multicall2 wants .. something .. as its first argument. It accepts a blank string, so let's go with that.