I hereby claim:
- I am mehaase on github.
- I am mehaase (https://keybase.io/mehaase) on keybase.
- I have a public key whose fingerprint is BF91 D496 A3D4 01A7 34C2 64E4 8E7E F260 1A7F E635
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
with open('/usr/share/dict/american-english') as vocab_file: | |
_vocab = {line.strip() for line in vocab_file} | |
def _extract_words(string, min_=3): | |
''' Return set of maximal length, non-overlapping dictionary words in `string`. ''' | |
words = set() | |
candidate_len = len(string) | |
while candidate_len >= min_: | |
for start in range(0, len(string) - candidate_len + 1): | |
candidate = string[start:start+candidate_len] |
server { | |
# ...other server stuff here, e.g. TLS... | |
location / { | |
rewrite ^/(packages/.*|index.html|main\..*) /$1 break; | |
rewrite ^/.* /index.html; | |
proxy_pass http://localhost:8080; | |
proxy_http_version 1.1; | |
} | |
} |
import sys | |
if len(sys.argv) < 3: | |
print('Usage: {} <DEST FILE> <INPUT FILE>'.format(sys.argv[0])) | |
sys.exit(1) | |
dest_path = sys.argv[1] | |
in_path = sys.argv[2] | |
def escape(line): |
set timeout 1 | |
set timeoutms 500 | |
set waittime 4000 | |
set svcarraymax 4096 | |
set reasoncode 0 | |
set reason "NULL" | |
proc syntaxhelp {} { | |
puts stdout "\7================================================================" | |
puts stdout "IOScan 0.1" |
class CheckpointIter: | |
def __init__(self): | |
self.checkpoints = list() | |
def every(self, n_items, do_this): | |
self.checkpoints.append((n_items, do_this)) | |
def iter(self, iterable): | |
i = 1 | |
for item in iterable: |
Making a Markdown file that has embedded mermaid graph.
flowchart
classDef action color:black,fill:pink
classDef asset color:black,fill:lightblue
classDef property color:black,fill:lightgreen
<div class="gray-box"> | |
<p class="text-muted small"> | |
Select the types of objects to include in search results: | |
</p> | |
<div class="row"> | |
<div class="col"> | |
<div class="form-check form-switch"> | |
<input | |
id="tactics" | |
type="checkbox" |