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
# If you don't already have an SSH key: | |
# ssh-keygen -t ed25519 -C "example@email.com" | |
# Generating public/private ed25519 key pair. | |
# Enter file in which to save the key (/home/user/.ssh/id_ed25519): /home/user/.ssh/[save-name] | |
# ...... | |
# Then copy pub to github config page: | |
# cat /home/user/.ssh/[save-name].pub | xclip -i | |
# In /home/user/.ssh/config put: |
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
#sudo passwd $USER | |
#sudo apt-get install git zsh chroma zsh-autosuggestions zsh-syntax-highlighting command_not_found locales | |
#sudo locale-gen pt_BR.UTF-8 | |
#sudo dpkg-reconfigure locales | |
#sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
#git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. |
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.9" | |
services: | |
traefik: | |
image: "traefik:v2.4" | |
container_name: "traefik" | |
command: | |
#- "--log.level=DEBUG" | |
- "--api.insecure=true" | |
- "--providers.docker=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
## Modules | |
server.modules += ( "mod_cgi" ) | |
server.modules += ( "mod_rrdtool" ) | |
rrdtool.binary = "/usr/bin/rrdtool" | |
rrdtool.db-name = "/rrd/lighttpd/lighttpd.rrd" | |
##rrdcgi | |
cgi.assign += ( ".rrdcgi" => "/usr/bin/rrdcgi") | |
##Files |
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
<?php | |
// quick and dirty argument parsing | |
foreach ($argv as $arg) { | |
if ($arg == '-f') { | |
define('FOLLOW', true); | |
} | |
if ($arg == '-h') { | |
define('HISTOGRAM', true); | |
} |