SVG Icon collections
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
// ==UserScript== | |
// @name rustdoc htmxify | |
// @version 0.1 | |
// @description enhance rustdoc with a little bit of htmx | |
// @author bits0rcerer | |
// @match http://*/* | |
// @match https://*/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== |
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 bash | |
# /usr/local/bin/docker-update-hosts | |
# https://stackoverflow.com/questions/37242217/access-docker-container-from-host-using-containers-name/63656003#63656003 | |
set -e -u -o pipefail | |
hosts_file=/etc/hosts | |
begin_block="# BEGIN DOCKER CONTAINERS" | |
end_block="# END DOCKER CONTAINERS" |