SELECT
*
FROM
information_schema.tables;
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
# Run 'cat .vscode/extensions.txt | xargs -L1 code --install-extension' to install on new machine | |
CoenraadS.bracket-pair-colorizer | |
eamodio.gitlens | |
lextudio.restructuredtext | |
ms-python.python | |
npxms.hide-gitignored | |
oderwat.indent-rainbow | |
shardulm94.trailing-spaces | |
streetsidesoftware.code-spell-checker | |
yuichinukiyama.TabSpacer |
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
#!/bin/bash | |
# This script *should* work on *nix and Windows, but was designed specifically for git-bash on Windows, to fill the watch gap. | |
clear | |
if [ "$#" -gt "2" ] && [ "-n" == "${1:0:2}" ]; then | |
time=$(echo $1 | sed -e 's/-n//') | |
shift | |
watchedcmd=$@ | |
else | |
time="5" # Saneish default |
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
# See https://superuser.com/a/564501 | |
alias fix_window="kill -WINCH $$" |
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
import logging | |
def initialize_logging(): | |
logging.basicConfig(level=logging.INFO) | |
def set_level(level): | |
logging.root.setLevel(level) | |
for logger in logging.Logger.manager.loggerDict.values(): |
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
# Performed on a Raspberry Pi W Zero running Raspian/Buster | |
# $ uname -a | |
# Linux raspberrypi 4.19.97+ #1294 Thu Jan 30 13:10:54 GMT 2020 armv6l GNU/Linux | |
export GO_VERSION=1.13.9 | |
export TINYGO_VERSION=0.12.0 | |
# Install Go | |
wget https://dl.google.com/go/go${GO_VERSION}.linux-armv6l.tar.gz | |
tar -xvzf go${GO_VERSION}.linux-armv6l.tar.gz -C ${HOME} |
- Battery Monitor: Health, Info
- Boop - run text snippets through common transformers, e.g. base 64 encode/decode, strip backlashes, etc
- Patterns - RegEx tester, visually similar to regex101.com
- Meld (https://meldmerge.org) - Open source diff GUI tool
- JSON Viewer (https://jsonviewer.app) - JSON exploration, formatting, and linting