-
Installing and setting up packages
pip2 install virtualenv virtualenvwrapper # ~/.profile if command -v virtualenvwrapper.sh >/dev/null; then export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/src
$ brew install irssi gmp | |
$ cpan install Crypt::OpenSSL::Bignum Crypt::Blowfish Crypt::DH::GMP | |
$ echo '[[ $SHLVL -eq 1 ]] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >> ~/.bashrc | |
$ mkdir -p ~/.irssi/scripts/autorun | |
$ (cd ~/.irssi/scripts/; wget https://freenode.net/sasl/cap_sasl.pl; ln -s ../cap_sasl.pl autorun/) | |
$ irssi | |
/sasl set <network> <nick> <password> DH-BLOWFISH | |
/sasl save |
def is_format_string(s): | |
"""Test if the given string is a format string. | |
Args: | |
s (str): String to test. | |
Returns: | |
bool: True if `s` is a format string, False otherwise. | |
Bugs: |
#!/usr/bin/env bash | |
set -euf -o pipefail | |
if (($# < 2 || $# > 4)); then | |
echo "usage: ${0##*/} file digest [signature [PGP key|key ID]]" | |
exit 1 | |
fi | |
file=$1 |
Miniflux is a minimalist and opinionated feed reader.
Free Heroku account
Miniflux is a minimalist and opinionated feed reader.
flyctl command-line utility
Free Fly.io account (requires CC)
# For details see: | |
# - https://golangci-lint.run/usage/configuration/ | |
# - https://golangci-lint.run/usage/linters/ | |
run: | |
issues-exit-code: 2 | |
modules-download-mode: readonly | |
output: | |
sort-results: true |