Skip to content

Instantly share code, notes, and snippets.

View mbrother2's full-sized avatar
💪
Good luck!

rootorchild mbrother2

💪
Good luck!
View GitHub Profile
# Copied from http://ttaportal.org/wp-content/uploads/2012/10/7-Reallocation-using-LVM.pdf
##
## Showing the problem: need to reallocate 32GB from /dev/mapper/pve-data to /dev/mapper/pve-root
##
df -h
# Filesystem Size Used Avail Use% Mounted on
# /dev/mapper/pve-root 37G 37G 0 100% /
# tmpfs 2.0G 0 2.0G 0% /lib/init/rw
@ingydotnet
ingydotnet / load-yaml-dump-json.bash
Last active July 23, 2020 04:50
load-yaml-dump-json A script to test YAML load against many implementations
#!/bin/bash
# Usage:
#
# cat file.yml | load-yaml-dump-json
# ./load-yaml-dump-json # enter data and ctl-d when finished
yaml=`cat`
echo == Perl
@olih
olih / jq-cheetsheet.md
Last active July 16, 2024 23:02
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@andreicristianpetcu
andreicristianpetcu / ansible-summary.md
Created May 30, 2016 19:25
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of