This file contains hidden or 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 -x | |
| # Adds IPTables rules only if they aren't found in the firewall config | |
| IPTABLES="$(command -v iptables)" | |
| IPTABLESS="$(command -v iptables-save)" | |
| iptables() { | |
| while [[ $# -gt 0 ]]; do | |
| case "$1" in | 
  
    
      This file contains hidden or 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 | |
| # IDRAC_PASS=iciilfautentrerlemotdepassedesidrac | |
| # ou bien l'exporter en variable d'environment | |
| # ou alors l'inscrire dans le fichier ~/.config/sshpass/idrac | |
| set -x | |
| function check_deps() { | |
| for cmd in expect ssh; do | 
  
    
      This file contains hidden or 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
    
  
  
    
  | domain.tld { | |
| # Usefull variables to avoid repetion | |
| vars s3Path bucketname/path/to/website/without/leading/slash | |
| # Force HTML Mime-Type | |
| @html path *.html | |
| header @html Content-Type text/html | |
| # Rewrite paths ending with '/' to '/index.html', | |
| # because the S3 backend (Minio) sends an ugly XML directory listing otherwise. | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #auto vrf_KITTEN | |
| #iface vrf_KITTEN | |
| # vrf-table auto | |
| auto wgXXXX | |
| iface wgXXXX | |
| ipv6-addrgen off | |
| address 2001:db8::xxx::xxx/127 | |
| mtu xxx | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #auto vrf_KITTEN | |
| #iface vrf_KITTEN | |
| # vrf-table auto | |
| auto wgXXXX | |
| iface wgXXXX | |
| ipv6-addrgen off | |
| address 2axx:xxx:xxx::xxx/127 | |
| mtu xxx | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/sbin/openrc-run | |
| : ${SUBCFGDIR:=/root/compose} | |
| DOCKER_COMPOSE_UP_ARGS=${DOCKER_COMPOSE_UP_ARGS-"--no-build --no-recreate --no-deps"} | |
| SUBSVC="${SVCNAME#*.}" | |
| [ -z "${SUBSVC}" ] && exit 1 | |
| : ${SUBCFG:="${SUBCFGDIR}/${SUBSVC}/docker-compose.yml"} | |
| DOCOCMD="/usr/bin/podman-compose" | |
| export COMPOSE_HTTP_TIMEOUT=300 | 
  
    
      This file contains hidden or 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
    
  
  
    
  | class TmuxCssh < Formula | |
| desc "" | |
| homepage "https://github.com/peikk0/tmux-cssh" | |
| license "" | |
| head "https://github.com/peikk0/tmux-cssh.git", :branch => "master" | |
| depends_on "tmux" | |
| def install | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # ZSH Theme - Preview: https://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png almost that | |
| local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
| if [[ $UID -eq 0 ]]; then | |
| local user_host='%{$terminfo[bold]$fg[red]%}%n$terminfo[bold]$fg[green]@$terminfo[bold]$fg[red]%m %{$reset_color%}' | |
| local user_symbol='#' | |
| else | |
| local user_host='%{$terminfo[bold]$fg[green]%}%n$terminfo[bold]$fg[red]@$terminfo[bold]$fg[green]%m %{$reset_color%}' | |
| local user_symbol='$' | |
| fi | 
  
    
      This file contains hidden or 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
    
  
  
    
  | ####################################### | |
| # Python haveIBeenPwned interface | |
| # usage : python haveibeenpwned.py [email] | |
| # author : iTzwam | |
| # github : https://github.com/itzwam | |
| import requests | |
| import sys | |
| print("[#] Python HaveIBeenPwned interface") | 
  
    
      This file contains hidden or 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
    
  
  
    
  | import requests | |
| import sys | |
| import ipaddress | |
| ############################ | |
| # showinfos(ip) | |
| # | |
| def showinfos(ip): | |
| response = requests.get("http://ip-api.com/json/{}?fields=130623".format(ip)) | 
NewerOlder