pacman -S curl docker ebtables ethtool wget unzip
Also cfssl is needed but available on AUR, using pacaur
pacaur -S cfssl
| # | |
| # ~/.bashrc | |
| # | |
| [[ $- != *i* ]] && return | |
| colors() { | |
| local fgc bgc vals seq0 | |
| printf "Color escapes are %s\n" '\e[${value};...;${value}m' |
| #!/bin/bash | |
| cd /tmp || exit | |
| echo "Downloading Postman ..." | |
| wget -q https://dl.pstmn.io/download/latest/linux?arch=64 -O postman.tar.gz | |
| tar -xzf postman.tar.gz | |
| rm postman.tar.gz | |
| echo "Installing to opt..." | |
| if [ -d "~/Postman" ];then | |
| rm -rf ~/Postman |
| docker rm -f test | |
| docker rmi -f joydeep1985/expense | |
| docker system prune --force | |
| dotnet publish -c Release -o release | |
| docker build -t joydeep1985/expense . --no-cache | |
| docker run -d -p 80:80 --name test joydeep1985/expense | |
| echo -e "\n------------------ SLEEP 5 Seconds-----------------------------"; | |
| sleep 5 |
| #pikaur -S helm | |
| echo "----------------Add nginx ingress helm chart repo----------------" | |
| helm repo add stable https://kubernetes-charts.storage.googleapis.com/ | |
| echo "-----------------Add nginx ingress helm chart repo---------------" | |
| helm repo add nginx-stable https://helm.nginx.com/stable | |
| helm repo update |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| #installation via script from github | |
| #export ZSH="/home/$USER/.oh-my-zsh" | |
| #installation via yay -S oh-my-zsh-git | |
| export ZSH=/usr/share/oh-my-zsh/ | |
| # Set name of the theme to load --- if set to "random", it will |
| # ArchLabs i3 config | |
| # border & title | |
| for_window [class="^.*"] border pixel 1, title_format "<b> %class >> %title </b>" | |
| # gaps | |
| gaps inner 8 | |
| gaps outer 0 | |
| # font |
| # Edit this configuration file to define what should be installed on | |
| # your system. Help is available in the configuration.nix(5) man page | |
| # and in the NixOS manual (accessible by running ‘nixos-help’). | |
| { config, pkgs, ... }: | |
| { | |
| imports = | |
| [ # Include the results of the hardware scan. | |
| ./hardware-configuration.nix |
| - name: Install multiple packages sequentially | |
| become: yes | |
| become_user: Administrator | |
| become_method: runas | |
| win_chocolatey: | |
| name: '{{ item }}' | |
| state: present | |
| loop: | |
| - azure-data-studio | |
| - googlechrome |
| # Manually remove finalizers | |
| kubectl edit -n cattle-system secret tls-rancher | |
| kubectl patch secret tls-rancher -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
| kubectl patch namespace cattle-system -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
| kubectl delete namespace cattle-system --grace-period=0 --force | |
| kubectl patch namespace cattle-global-data -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
| kubectl delete namespace cattle-global-data --grace-period=0 --force |