- copy
go.mod
andgo.sum
files from the offline PC to the internet PC
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
######################## | |
# UUID for SQLite hack # | |
######################## | |
from sqlalchemy.types import TypeDecorator, CHAR | |
from sqlalchemy.dialects.postgresql import UUID | |
import uuid | |
class GUID(TypeDecorator): |
generated via plantuml
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
docker run --rm -it -v $PWD:/tmp debian:10-slim /bin/bash | |
# --rm : remove after exit | |
# -it : interactive TTY | |
# -v : mount folder : current folder to /tmp folder of the container | |
# debian:10-slim : docker image https://git.io/JJzfy | |
# /bin/bash : run bash in this container |
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 | |
MAXDEPTH=("-maxdepth" "0") | |
OPTIONS=() | |
while getopts RcfvhHLP OPTION | |
do | |
if [[ "${OPTION}" != "?" && "${OPTION}" != "R" ]]; then | |
OPTIONS+=("-${OPTION}") | |
fi | |
if [[ "${OPTION}" = "R" ]]; then |
- How to change the background on Firefox to a dark one on new tab / loading screen ?
- Type
about:config
in the URL bar - Search
toolkit.legacyUserProfileCustomizations.stylesheets
and double-click the field to set it totrue
- Type
about:support
in the URL bar - Look for
Profile folder
field and click on the open button next to it.
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
version: "3.3" | |
services: | |
traefik: | |
image: "traefik:v3.0" | |
container_name: "traefik" | |
command: | |
#- "--log.level=DEBUG" | |
- "--api.dashboard=true" | |
- "--ping=true" |
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 | |
usage() { | |
echo "Usage: $0 [OPTIONS] [file_path]" | |
echo "OPTIONS:" | |
echo " -p, --prefix PREFIX Specify the prefix for environment variables" | |
echo " -h, --help Show this help message" | |
echo "If no file_path is provided, the script reads from stdin." | |
exit 1 | |
} |
https://www.gnu.org/software/recutils/
GNU Recutils is a set of tools and libraries to access human-editable, plain text databases called recfiles.
TO install on mac : brew install recutils
add this to a new file named
books.rec
NewerOlder