Skip to content

Instantly share code, notes, and snippets.

@jibaromar
jibaromar / .bashrc
Last active May 14, 2025 15:49 — forked from rickdaalhuizen90/.bashrc
Parrot Os bash theme for ubuntu with Git branch
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
@jibaromar
jibaromar / is-sg-used.sh
Created September 5, 2024 10:19
Check if an AWS security group is attached to some resources
# ====================================================
# ⚠️ USE AT YOUR OWN RISK ⚠️
# ----------------------------------------------------
# This script is provided as-is with no guarantees.
# You are responsible for any consequences that may
# arise from using it. Please use with caution!
# ====================================================
# Script only checks these resources:
# - EC2 Instances
@jibaromar
jibaromar / credentials.pkr.hcl
Created June 27, 2023 19:57
Packer source for building a pfSense template in Proxmox with SSHD enabled
proxmox_hostname = "https://ns1234567.ip-12-345-6.eu:8006"
proxmox_token_user = "packer@pam!packer"
proxmox_token = ""