Skip to content

Instantly share code, notes, and snippets.

View levpa's full-sized avatar
🏠
Working from home

Lev Pasichnyi levpa

🏠
Working from home
View GitHub Profile
@nsticco
nsticco / bootstrap-ubuntu-devops.sh
Last active August 18, 2023 13:59
Shell script to install DevOps tools for Ubuntu
#!/bin/bash
# This script will bootstrap Ubuntu with DevOps related tools
###############################################################################
# Customize the script by passing values to the named parameters below, e.g.
# ./bootstrap-ubuntu-devops.sh --kubectl 1.20.2
nodejs=${nodejs:-16}
kubectl=${kubectl:-1.26.5}
terragrunt=${terragrunt:-0.50.0}
packer=${packer:-1.9.2}
@bgallagh3r
bgallagh3r / wp.sh
Last active May 31, 2025 20:57
Wordpress: Bash Install Script -- Downloads latest WP version, updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then deletes itself!
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "
@pksunkara
pksunkara / config
Last active May 31, 2025 15:37
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = [email protected]
github = pksunkara
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[column]
ui = auto