Skip to content

Instantly share code, notes, and snippets.

View 0xSheepdog's full-sized avatar
💭
fixing your broken shit

Jeff Pettorino 0xSheepdog

💭
fixing your broken shit
  • guardians of the galaxy
  • Mountain Standard Tribe
View GitHub Profile
@0xSheepdog
0xSheepdog / linked-clone.sh
Last active March 6, 2025 21:20 — forked from aojea/linked-clone.sh
Script to create a linked clone with libvirt
#!/bin/bash
set -xe
# This script takes as a parameter the name of the VM
# and creates a linked clone
# Ref: https://unix.stackexchange.com/a/33584
# The scripts assumes that it runs from the same folder
# where the vm image is located and it coincides with the
# image name
@0xSheepdog
0xSheepdog / powerline_setup.sh
Created May 24, 2019 19:54 — forked from cheuerde/powerline_setup.sh
Powerline on Debian and Centos for BASH, VIM and TMUX
# Claas Heuer, November 2015
#
# Setup Powerline on Debian and Centos for BASH, VIM and TMUX
# source: https://fedoramagazine.org/add-power-terminal-powerline/
# install on debian
sudo apt-get install python-pip
sudo apt-get install powerline
@0xSheepdog
0xSheepdog / cidr-cheat-sheet
Created January 17, 2019 22:24
CIDR SUBNET MASK CHEATSHEET & ICMP TYPE CODES
CIDR SUBNET MASK CHEATSHEET & ICMP TYPE CODES
https://oav.net/mirrors/cidr.html
_____________________________________________________________________________
Netmask Netmask (binary) CIDR Notes
_____________________________________________________________________________
255.255.255.255 11111111.11111111.11111111.11111111 /32 Host (single addr)
255.255.255.254 11111111.11111111.11111111.11111110 /31 Unuseable
255.255.255.252 11111111.11111111.11111111.11111100 /30 2 useable
255.255.255.248 11111111.11111111.11111111.11111000 /29 6 useable