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
| ##! Commons | |
| ##@ Version | |
| ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| ##: Dynamic Target (%) | |
| ##, [+N]=Increase version [ex: minor.+1] | |
| ##, [-N]=Decrease version [ex: minor.-1] | |
| ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| _f_version = $(PWD)/source/VERSION |
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
| # common | |
| set -g default-terminal 'tmux-256color' | |
| set -as terminal-overrides ',*:Tc' | |
| set -as terminal-features ',*:RGB' | |
| set -g escape-time 1 | |
| set -g repeat-time 1000 | |
| set -g history-limit 100000 | |
| set -g bell-action none | |
| set -g update-environment -r |
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
| FROM debian:buster-slim | |
| RUN apt -o acquire::http::proxy="${HTTP_PROXY}" update \ | |
| && apt -o acquire::http::proxy="${HTTP_PROXY}" install -y git |
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
| podman run -w /root -ti --rm fedora:39 sh -uelic ' | |
| dnf update -y && dnf install neovim bat git tree nodejs lua wget go -y | |
| dnf groupinstall "Development Tools" "Development Libraries" -y | |
| git clone https://github.com/NvChad/NvChad ~/.config/nvim | |
| nvim | |
| ' |
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 | |
| # generate new personal ed25519 ssh key | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>" | |
| # generate new host cert authority (host_ca) ed25519 ssh key | |
| # used for signing host keys and creating host certs | |
| ssh-keygen -t ed25519 -f manta_host_ca -C manta.network | |
| eval "$(ssh-agent -s)" |
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 | |
| #Harbor on Ubuntu 18.04 | |
| #Prompt for the user to ask if the install should use the IP Address or Fully Qualified Domain Name of the Harbor Server | |
| PS3='Would you like to install Harbor based on IP or FQDN? ' | |
| select option in IP FQDN | |
| do | |
| case $option in | |
| IP) |
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
| docker exec -it gitlab grep 'Password:' /etc/gitlab/initial_root_password |
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 csv | |
| import re | |
| import requests | |
| import time | |
| from bs4 import BeautifulSoup | |
| url = 'https://www.enacom.gob.ar/areaslocales/busqueda/{pos}' | |
| field = 'campo=' | |
| pos = 1 |
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
| HISTSIZE=1000 | |
| HISTFILESIZE=0 | |
| HISTCONTROL=ignoreboth | |
| alias c='clear' | |
| alias cl='clear;ls' | |
| alias cpl='clear;pwd;ls' | |
| alias :q='exit' | |
| alias reload='exec $SHELL -l' | |
| alias cp='cp -i' |
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
| run: | |
| python simple_server.py |
NewerOlder