I hereby claim:
- I am UlyssesZh on github.
- I am ulysseszhan (https://keybase.io/ulysseszhan) on keybase.
- I have a public key whose fingerprint is D604 6E7D 2DD8 A2C8 3F74 098C 36F3 2687 C05F 4986
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import io | |
import os | |
import struct | |
import gzip | |
import lzma | |
import glob | |
import subprocess |
#!/usr/bin/ruby | |
increment = ARGV.first&.to_f || 0.05 | |
`xrandr --verbose --current`.scan /^([a-zA-Z0-9\-]+) connected.*?Brightness:\s+?([0-9]+\.[0-9]+)$/m do |(display, brightness)| | |
command = "xrandr --output #{display} --brightness #{(brightness.to_f + increment).clamp 0, 1}" | |
puts command | |
system command | |
end |
#!/usr/bin/env python3 | |
import sys | |
import libevdev | |
import time | |
import evdev | |
from evdev import UInput, AbsInfo, ecodes | |
import os | |
for btn_name in ['BTN_TOOL_PEN', 'BTN_TOUCH', 'BTN_STYLUS']: | |
ecodes.KEY[getattr(ecodes, btn_name)] = btn_name |
Zombot | Main | Expansion | Modern | Modern expansion | Notes | ||
---|---|---|---|---|---|---|---|
egypt | Sphinx-inator | 40 + 80 + 65 = 185 | 80 + 160 + 150 = 390 | 50 + 90 + 85 = 225 | |||
pirate | Plank Walker | 55 + 100 + 110 = 265 | 10 + 50 + 110 = 170 | 75 + 100 + 140 = 315 | |||
cowboy | War Wagon | 65 + 100 + 90 = 255 | 80 + 120 + 100 = 300 | 65 + 100 + 90 = 255 | |||
future | Tomorrow-tron | 130 + 190 + 220 = 540 | 160 + 260 + 320 = 740 | 130 + 130 + 130 = 390 | 100 + 200 + 180 = 480 | ||
dark | Dark Dragon | 70 + 90 + 110 = 270 | 110 + 130 + 150 = 390 | ||||
beach | Sharktronic Sub | 100 + 140 + 180 = 420 | 70 + 80 + 100 = 250 | ||||
iceage | Tuskmaster 10,000 BC | 50 + 40 + 40 = 130 | 50 + 40 + 40 = 130 | Ice cube: 17.5 | |||
lostcity | Aerostatic Gondola | 60 + 100 + 100 = 260 | 60 + 80 + 90 = 230 | ||||
eighties | Multi-stage Masher | 25 + 30 + 35 + 40 + 55 = 185 | 35 + 40 + 45 + 50 + 70 = 240 |
(key-sig! "f+") | |
(tempo! 132) | |
piano: | |
V1: o5 b4 g | d g a > | d2 < a4 | b a d | g2~4 | |
V2: o4 r2 | b2 > c4 < | b g > c | d c < f | g2~4 |