I hereby claim:
- I am sadsfae on github.
- I am sadsfae (https://keybase.io/sadsfae) on keybase.
- I have a public key whose fingerprint is 8D6C 92E5 ED34 7CF8 B642 FCB3 5D31 8709 07BC 7E81
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # A xterm-256color based TERMINFO that adds the escape sequences for italic. | |
| # | |
| # Install: | |
| # | |
| # tic xterm-256color-italic.terminfo | |
| # | |
| # Usage: | |
| # | |
| # export TERM=xterm-256color-italic | |
| # |
| ###################################################################### | |
| # thinkfan 0.7 example config file | |
| # ================================ | |
| # | |
| # ATTENTION: There is only very basic sanity checking on the configuration. | |
| # That means you can set your temperature limits as insane as you like. You | |
| # can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C. | |
| # | |
| # That's why this program is called THINKfan: You gotta think for yourself. | |
| # |
| #!/bin/bash | |
| # | |
| # modified from: https://gist.github.com/ksylvan/b818b505cd02c5268af95d9386438571 | |
| # After you start your Pi-Hole in a Docker container according | |
| # to this: https://github.com/diginc/docker-pi-hole | |
| # | |
| # https://hobo.house/2018/02/27/block-advertising-with-pi-hole-and-raspberry-pi/ | |
| # | |
| # Once this is running, you can visit http://localhost/admin and set the DNS | |
| # settings to CloudFlare's 1.1.1.1 servers. |
| (root@quads) - (20:16) - (~) | |
| -=>>python -m cProfile /opt/quads/bin/quads-cli --full-summary | |
| cloud01: 0 (Initializing cloud) | |
| cloud02: 20 (Real Shift on stack) | |
| cloud03: 0 (Initializing cloud) | |
| cloud04: 0 (Initializing cloud) | |
| cloud05: 0 (Initializing cloud) | |
| cloud06: 0 (Initializing cloud) | |
| cloud07: 0 (Initializing cloud) | |
| cloud08: 0 (Initializing cloud) |
| #!/usr/bin/env python3 | |
| """ | |
| check the timezone difference to PST | |
| """ | |
| from datetime import datetime, timedelta | |
| YOUR_DELTA = "8" | |
| D = datetime.today() - timedelta(hours=int(YOUR_DELTA), minutes=00) | |
| D.strftime('%H:%M %p') | |
| print(D) |
| #! /usr/bin/env python | |
| import asyncio | |
| from datetime import date, datetime | |
| from quads.config import conf | |
| from quads.model import Cloud, CloudHistory, Schedule | |
| from quads.tools.jira import Jira | |
| async def main(loop): |
| #! /usr/bin/env python3 | |
| import re | |
| from quads.quads_api import QuadsApi | |
| from quads.config import Config | |
| quads = QuadsApi(Config) | |
| hosts = quads.get_hosts() | |
| pattern = r"^(?P<rack>[^-]+)-(?P<uloc>[^-]+)-(?P<blade>[^-]+)-(?P<host_type>[^.]+)\.(?P<domain>.+)$" |