Oversimplified HOWTO based on the Docker networking tutorial.
docker network create --driver bridge redis-net| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Interactive updater for selected Go tools: go, gopls, golangci-lint, dlv | |
| # Shows local and remote (GitHub) versions and offers to upgrade selected tools to @latest via `go install`. | |
| CURL_OPTS=(-sS --max-time 10 -L) | |
| # Require required external utilities | |
| for cmd in whiptail jq; do |
| package main | |
| import ( | |
| "encoding/xml" | |
| "fmt" | |
| ) | |
| type BoolYN bool | |
| func (b BoolYN) MarshalXMLAttr(name xml.Name) (xml.Attr, error) { |
| package main | |
| import "fmt" | |
| func minimalIncomplete(yield func(int, string) bool) { | |
| for i := range 9 { | |
| // If yield returns false because of break/return and we don't check, | |
| // the calling range loop will panic. | |
| yield(i, fmt.Sprintf("==%d==", i)) | |
| } |
Oversimplified HOWTO based on the Docker networking tutorial.
docker network create --driver bridge redis-netSkipping other possible actions, such as perspective corrections, here is how:
Filters/Blur/Gaussian Blur...).If you need to manipulate the resulting image further, create a new layer from visible (Layer/New from Visible).
| # Transliterate Unicode to ASCII | |
| print(unicodedata.normalize('NFKD', 'bździągwa').encode('ascii', 'ignore').decode()) |
| #!/usr/bin/env python3 | |
| import argparse | |
| import re | |
| import unicodedata | |
| def gen_chars(rx, cp_max): | |
| for i in range(160, cp_max): | |
| try: |
| [alias] | |
| tree = log --graph --color --decorate --format=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all |
| #!/bin/bash | |
| convert "$1" \( +clone -colorspace gray -negate -blur 0x300 \) \ | |
| -compose softlight -composite "$2" |
| #!/usr/bin/env python | |
| import collections | |
| import os | |
| import sqlite3 | |
| import struct | |
| LENSFUN_PARAM_NAMES = """ | |
| modify_flags |