This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk ' | |
BEGIN {p=1} | |
/^#github-start/ {print;system("curl https://github.com/timkrins.keys");p=0} | |
/^#github-end/ {p=1} | |
p' authorized_keys > gh_authorized_keys | |
cat gh_authorized_keys > authorized_keys | |
# chmod +x ~/.ssh/github_keys.sh | |
# crontab -l > .cron | |
# echo '*/10 * * * * ~/.ssh/github_keys.sh' > .crontab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "UK Logitech G213 keyboard", | |
"rules": [ | |
{ | |
"description": "G213 Backtick", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "grave_accent_and_tilde" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
This is a quick script to generate a Replibyte configuration containing every | |
table and column in a MySQL db with a default transformer (ie 'transient'). | |
You can supply a list of defaults for certain column names. | |
Requirements: | |
pip3 install mysql-connector-python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
A quick script to filter a HAR file that was saved by Chrome, based on the request URL. | |
Useful for filtering HAR files to be converted by `har-to-k6` for load testing. | |
------------------------------------------------------------------------------ | |
MIT License | |
Copyright (c) 2022 Tim Krins | |
Permission is hereby granted, free of charge, to any person obtaining a copy |
OlderNewer