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
with import <nixpkgs> { }; | |
pkgs.mkShell rec { | |
venvDir = "./.venv"; | |
buildInputs = [ | |
# Defines a python + set of packages. | |
(python3.withPackages (ps: with python3Packages; [ | |
jupyter | |
ipython | |
ipykernel |
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
with import <nixpkgs> { }; | |
let | |
pythonPackages = python39Packages; | |
in pkgs.mkShell rec { | |
venvDir = "./.venv"; | |
name = "nfstream"; | |
requirements = "requirements.txt"; | |
buildInputs = [ | |
# Python |
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 -d --name pihole -e ServerIP=XXXXXX -e TZ=Europe/Berlin -e WEBPASSWORD=XXXXXX -e DNS1=1.1.1.1 -e DNS2=1.0.0.1 -p 80:80 -p 53:53/tcp -p 53:53/udp -p 443:443 -v ~/pihole/:/etc/pihole/ --dns=127.0.0.1 --dns=1.1.1.1 --cap-add=NET_ADMIN --restart=unless-stopped pihole/pihole:latest |
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
git filter-branch -f --env-filter \ | |
"GIT_AUTHOR_NAME='NAME'; GIT_AUTHOR_EMAIL='E-MAIL'; \ | |
GIT_COMMITTER_NAME='NAME'; GIT_COMMITTER_EMAIL='E-MAIL';" HEAD |
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/sh | |
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "OLD E-MAIL" ] |
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
@echo off | |
ECHO Enter commit statement: | |
SET /p input="" | |
GOTO check | |
:check | |
IF "%input%" == "" ( | |
ECHO Input is empty | |
GOTO exit |
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
@echo off | |
ECHO Enter Tex name: | |
SET /p input="" | |
GOTO check | |
:check | |
IF "%input%" == "" ( | |
ECHO Input is empty | |
GOTO exit |