I hereby claim:
- I am mattchainsaw on github.
- I am mattchainsaw (https://keybase.io/mattchainsaw) on keybase.
- I have a public key ASCo1XyYGed3gbZlrS6ZJhJJj_bL9b2ea3NFjHqJ8CguOwo
To claim this, I am signing this object:
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQGNBGZnwogBDADEAwzScWgVqEoigwuBbdTDFSL+4w0maqHAhDjZRlJcPs40xy2+ | |
KcM0GwRRodchWWS/I4HiPan9AeRNURgXQFVzXMYqx/ECTj4mEgpbKzwqAuTyB4e8 | |
V/DQ26Chx/VBQKzS1hMtS36CO1i1BoQhnFOlrNV23O29Y/V8XwkOtVah1pRDtBTI | |
2wGJ2O+p4la88a2pEVVCih9zBLRDhgJGWlA6y40ApNZWMxjt8i9XCHhf0KIhAmDJ | |
Yik+TlMO1E1X6rI00gCzE/fgwp9VfGXhWmENf+M6IL6O5pJ9s/F6LmN4i/8LTP9+ | |
9Zdx8hLxGnjx88kkZ+72uo0/OR1P7K6pfRNQulYkPBDuuhKkoJRqoKtHZ9VQOY5a | |
hW3UpwLGlCWTmMnXbWreDvHh69XYNQlk+lwExGHsW80lqkPh/qIsE/EdlUELjEkY | |
43Ehxur0pLna1Kcf+/Sp3KWeioG19/zj16evoCXKLlPhph3gvYmDR9/zxc+3IaMc |
import sqlite3 | |
import sys | |
import requests | |
# The public rate limit (without an API key) is 5 requests in a rolling 30 second window. | |
# The rate limit with an API key is 50 requests in a rolling 30 second window | |
# https://nvd.nist.gov/developers/start-here | |
nist_url = 'https://services.nvd.nist.gov/rest/json/cves/2.0' | |
db_file = 'cve.db' |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# This still works with piping and redirection of output. | |
# Ex) | |
# bash run.sh ./long_computation > long_computation.out | |
if [ ! $1 ] | |
then | |
echo "Usage: $0 <command>" >&2 | |
fi |
#!/bin/bash | |
find . -type f | | |
while read x | |
do | |
cat $x | egrep --color=always "$1" && | |
echo -e "\e[36m$x\e[0m" && | |
echo | |
done |