I hereby claim:
- I am apostoloss on github.
- I am apostoloss (https://keybase.io/apostoloss) on keybase.
- I have a public key whose fingerprint is 30FE ACF2 A133 342D 9C25 8D0B 94BC 533D F04C 7158
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am apostoloss on github. | |
| * I am apostoloss (https://keybase.io/apostoloss) on keybase. | |
| * I have a public key whose fingerprint is 4A9F E6ED 8B35 7AFF 49A8 B235 E338 F18B 9FE3 74CF | |
| To claim this, I am signing this object: |
| // Get ESP8266 going with Arduino IDE | |
| // - https://github.com/esp8266/Arduino#installing-with-boards-manager | |
| // Required libraries (sketch -> include library -> manage libraries) | |
| // - PubSubClient by Nick ‘O Leary | |
| // - DHT sensor library by Adafruit | |
| #include <ESP8266WiFi.h> | |
| #include <PubSubClient.h> | |
| #include <DHT.h> |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| import yaml | |
| import sys | |
| for manifest in yaml.load_all(sys.stdin): | |
| if manifest: | |
| if 'metadata' in manifest and 'namespace' not in manifest['metadata']: | |
| manifest['metadata']['namespace'] = sys.argv[1] | |
| print '---' |
In Terminal
mkdir ~/.bashCopy the raw git-prompt.sh file from git contrib in to the ~/.bash directory: https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
Inside ~/.bashrc or ~/.bash_profile (choose the file where you normally put any bash customizations/setup), add the lines:
| def isYubikey(string): | |
| """ | |
| Checks if a string looks like a yubikey. | |
| Yubikey strings are exactly 44 characters and use modhex | |
| """ | |
| modhex = "cbdefghijklnrtuv" | |
| if len(string) != 44: | |
| return False | |
| for i in string: | |
| if i not in modhex: |
| #!/usr/bin/env bash | |
| # openai api token | |
| # use gopass to keep this or just replace it below (nah) | |
| BEARER="$(gopass show openai_api)" | |
| # api configuration | |
| MODEL="text-davinci-003" | |
| TEMPERATURE="0" | |
| MAX_TOKEN=4000 |