-
Freq input
- R65 added
- R20 changed 150k -> 249k
- R23 changed 2M2 -> 3M3
-
PWM
- R64 added (to limit range to 50%-90%...helps with DC offset a little)
-
PWM LVL pot in series with PWM In
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
MXV11-B2 Y3.0 | |
General syntax is | |
[CSR] command [UNIT] | |
[CSR] is optional (octal) - see manual for default | |
[UNIT] is optional (octal) - 0 is default | |
Command is one of - |
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
#!/bin/sh | |
# prevent dhclient-script from setting any default route | |
# except for ens6, which is our public interface | |
INTERFACE_DEFAULT_ROUTE="ens6" | |
DEBUG_FILE="/tmp/dhclient-nodefroute.debug" | |
echo "Interface ${interface} entered DHCP because of $reason." >> $DEBUG_FILE |
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
#!/usr/bin/python3 | |
""" | |
Puts random docs in localhost:5984/foo. | |
Usage: | |
makeit.py <number_of_docs> [--size=<size>] | |
makeit.py -h | --help | |
makeit.py --version | |
Options: |
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
#!/usr/bin/env python | |
# (C) 2017 wohali | |
# | |
# I don't give a fuck about how this will be used. Everything will be allowed, including changing the name, citing wrongly, claiming ownership and destroying the computer. You are allowed to do anything with this as long as: | |
# | |
# 0. I don't give a fuck. | |
# 1. You agree that you don't give a fuck. | |
# 2. You agree that your use of this will have nothing to fuck with me now and in the future. | |
# 3. You don't fuck me legally/illegally. | |
# |
I hereby claim:
- I am wohali on github.
- I am wohali (https://keybase.io/wohali) on keybase.
- I have a public key ASAkSYRbJrWZ9idg-PaOPWzyELLINJFtu63PiUjG4pxVMgo
To claim this, I am signing this object:
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
# http://avwx.rest/documentation has all the details | |
import requests | |
STATION='CYYZ' | |
SPEECH=True | |
r = requests.get("http://avwx.rest/api/metar/" + STATION + "?options=info,speech") | |
metar = r.json() | |
if SPEECH: |
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
def _size_format(bytes, precision=2): | |
"""Returns a humanized string for a given amount of bytes""" | |
bytes = int(bytes) | |
if bytes < 1000: | |
return "{} bytes".format(bytes) | |
log = math.floor(math.log(bytes, 1000)) | |
return "{:.{}f} {}".format( | |
bytes / math.pow(1000, log), | |
precision, | |
['bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'][int(log)] |
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
Verifying I am +wohali on my passcard. https://onename.com/wohali |