Skip to content

Instantly share code, notes, and snippets.

llllvvuu / mouse.xboxdrv
Created January 7, 2017 11:58
OSMC RasPi Wireless XBox 360 controller
View mouse.xboxdrv
# Mouse Emulation
# ===============
# This configuration file emulates a mouse. The left stick controls
# the cursor, the right stick becomes a horizontal and vertical scroll
# wheel, the dpad acts as cursor keys, the start and back buttons
# become forward and back buttons, the guide button escape and LB and
# RB become page up and page down and the face button act as mouse
# button.
llllvvuu /
Created April 12, 2017 22:51
command line script to grab frames from video files with .ass subs using fast seek
ffmpeg -dump_attachment:t "" -i "$infile"
mv *.ttf *.TTF *.otf *.OTF *.ttc *.TTC ~/.fonts
fc-cache -fv ~/.fonts
ffmpeg -i "$infile" -map 0:s:0 subs.ass
for var in "$@"
llllvvuu /
Created March 21, 2021 02:48
Convert FTX's transactions CSV format to CoinTracker's upload format for taxes
# Python 3.7+
# Usage: Download `trades.csv` from FTX.US, run this, and upload `cointracker.csv` to CoinTracker.
if __name__ == '__main__':
import csv
from datetime import datetime
trades = []
with open('trades.csv') as f:

Keybase proof

I hereby claim:

  • I am llllvvuu on github.
  • I am llwu ( on keybase.
  • I have a public key ASBegEzHvChNWe569jBMgHkkJPAmA7La4nhxghUB4gEdZgo

To claim this, I am signing this object:

llllvvuu /
Last active October 6, 2022 10:47


  • p2p
    • Kademlia
    • Turbine (Solana)
    • libp2p?
    • gossip?
  • Consensus. References: decentralizedthoughts
    • Common knowledge and Two Generals Problem
  • Mis-spend vs double-spend