This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
OUT_H0, OUT_H1, OUT_L0, OUT_L1, OUT_L2, OUT_L3 = range(6) | |
class Battery(object): | |
def __init__(self, handle): | |
self.handle = handle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name less rounded github | |
@namespace https://sorrel.sh | |
@version 1.0.4 | |
@description github changed the ui design and it looks bad. this makes it look less bad, imo. | |
@author sorrel | |
@license EUPL-1.2 | |
@updateURL https://gist.githubusercontent.com/sersorrel/e63c4a8630301e9bd8a3976180eba1f8/raw/less-rounded-github.user.css | |
@preprocessor default | |
==/UserStyle== */ |