I hereby claim:
- I am awkward-ninja on github.
- I am kenmerthe (https://keybase.io/kenmerthe) on keybase.
- I have a public key ASDD91qDfI7HQn_IXIm7cPSEQysR_5R3VPOIVZE441UNmgo
To claim this, I am signing this object:
| You are an expert in prompt engineering. Your role is to take the following user | |
| instructions and turn them into a highly effective prompt for ChatGPT, | |
| optimized for clarity, specificity, and high-quality responses. Use the | |
| following strategies: | |
| - Set the appropriate context based on the task (e.g., tone, role, or style). | |
| - Incorporate any necessary parameters (e.g., temperature, max tokens, top_p) to | |
| fine-tune the response. | |
| - Structure the request in a clear and concise way to get the best possible | |
| result. |
| class Option { | |
| constructor(some, value) { | |
| this.some = some | |
| this.value = value | |
| } | |
| map(next) { | |
| return this.some ? next(this.value) : this | |
| } |
| # Based on the following articles | |
| # https://blog.programster.org/generating-gpg-master-and-subkeys | |
| # https://risanb.com/code/backup-restore-gpg-key/ | |
| # https://gist.github.com/oseme-techguy/bae2e309c084d93b75a9b25f49718f85 | |
| gpg_keyid() { | |
| gpg2 --list-secret-keys \ | |
| | sed -n 's/^ \(\w*\)/\1/p' | |
| } |
| .git |
I hereby claim:
To claim this, I am signing this object:
| const | |
| PARAMS_RE = /^[^(]*\(([^)]*)\)/m, | |
| COMMENT_RE = /((\/\/.*$)|(\/\*.*?\*\/))/mg, | |
| SPACE_RE = /\s*/mg | |
| const params = String( pred ) | |
| .match( PARAMS_RE )[ 1 ] | |
| .replace( COMMENT_RE, '' ) | |
| .replace( SPACE_RE, '' ) | |
| .split( ',' ) |
| 'use strict'; | |
| class SequencedNumber extends Number { | |
| advance() { this._next = this._current + 1; } | |
| constructor (initial) { | |
| super(initial); | |
| this._current = initial; | |
| this._next = initial; | |
| } |
| struct signal { | |
| byte curr; | |
| byte prev; | |
| }; | |
| struct signalDb { | |
| byte curr; | |
| byte prev; | |
| signal db; | |
| }; |
| ARDUINO_DIR = /usr/share/arduino/hardware/arduino | |
| ARDUINO_CORE_DIR = $(ARDUINO_DIR)/cores/arduino | |
| ARCH = atmega328p | |
| CORE_SRC = \ | |
| $(ARDUINO_CORE_DIR)/wiring.c \ | |
| $(ARDUINO_CORE_DIR)/wiring_digital.c | |
| .PHONY: all |