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 February 7, 2026 21:40
Shell script to install DevOps tools for Ubuntu
#!/usr/bin/env bash
# bash <(curl -fsSL https://gist.githubusercontent.com/nsticco/c417ce3c00a4d88ff2661e3cc60f18d4/raw/bootstrap-ubuntu-devops.sh)
# Bootstrap Ubuntu 24.04+ with DevOps tools + popular AI coding agent CLIs.
# 2026-safe practices: no apt-key, uses /etc/apt/keyrings, non-interactive gpg, pkgs.k8s.io for kubectl,
# pipx for Ansible, dedicated keyrings, and idempotent-ish installs.
set -euo pipefail
# -----------------------------------------------------------------------------
# Defaults (override via env or --param value)
@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 February 13, 2026 01:21
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
# vi: ft=dosini
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[column]