I hereby claim:
- I am joejulian on github.
- I am joejulian (https://keybase.io/joejulian) on keybase.
- I have a public key whose fingerprint is B53B AA8F 721A A93F 8499 2C8B 9747 CCED 3D05 49EC
To claim this, I am signing this object:
| import pythoncom | |
| import wmi | |
| import win32net | |
| import win32api | |
| import win32con | |
| import pywintypes | |
| from ctypes import windll |
| winrepo: | |
| module.run: | |
| - name: pkg.refresh_db | |
| install_win32net: | |
| pkg.installed: | |
| - name: win32net | |
| - refresh_db: True | |
| - require: | |
| - pkg: winrepo |
| def char8(uuid): | |
| allowed = 'abcdefghijkmnopqrstuvwxyz1234567890' * 5 | |
| b = "" | |
| a = uuid.hex | |
| while a: | |
| b += allowed[int(a[:2],16) & 0xaf] | |
| a = a[4:] | |
| return b | |
| jjulian at questor in /tmp/foo.mnt | |
| $ df -h . | |
| Filesystem Size Used Avail Use% Mounted on | |
| none 16G 0 16G 0% /tmp/foo.mnt | |
| jjulian at questor in /tmp/foo.mnt | |
| $ truncate --size=5G fubar | |
| jjulian at questor in /tmp/foo.mnt | |
| $ ls -l fubar |
| module roundedRect(size, radius) { | |
| x = size[0]; | |
| y = size[1]; | |
| z = size[2]; | |
| linear_extrude(height=z) | |
| hull() { | |
| // place 4 circles in the corners, | |
| // with the given radius | |
| translate([ |
I hereby claim:
To claim this, I am signing this object:
| def rgbToHSV(red, green, blue) { | |
| float r = red / 255f | |
| float g = green / 255f | |
| float b = blue / 255f | |
| float max = [r, g, b].max() | |
| float min = [r, g, b].min() | |
| float delta = max - min | |
| def hue = 0 | |
| def saturation = 0 | |
| if (max == min) { |
| [Service] | |
| RestartSec=3 | |
| Restart=always |
| --- | |
| deployment: | |
| cluster: | |
| - name: joej | |
| network: 10.32.0.0/12 | |
| dns: 10.32.0.2 | |
| domain: cluster.local | |
| provider: ['aws'] | |
| repos: | |
| - name: atlas |
| from time import sleep | |
| import traceback | |
| import sys | |
| def sleepex(data): | |
| delay=1.25 # seconds | |
| attempt=1 | |
| if 'delay' in data.keys(): | |
| delay=data['delay'] | |
| print(delay) |