Skip to content

Instantly share code, notes, and snippets.

View MrSuicideParrot's full-sized avatar

André Cirne MrSuicideParrot

View GitHub Profile
@onvrb
onvrb / extend.md
Created April 14, 2022 21:36
extend your luks encrypted btrfs

Extend luks encrypted btrfs

  • cfdisk to resize your desired partition. write then quit.
  • cryptsetup resize luks-***... (your luks partition commonly located in /dev/mapper/luks-***...)
  • btrfs filesystem resize max / use max or whatever custom size you want done. reboot not necessary
@jerodg
jerodg / windows_and_office_kms_setup.adoc
Last active June 28, 2024 22:02
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@eXenon
eXenon / scapy_bridge.py
Last active May 12, 2024 03:00
Use scapy as a modifying proxy
#!/usr/bin/python2
"""
Use scapy to modify packets going through your machine.
Based on nfqueue to block packets in the kernel and pass them to scapy for validation
"""
import nfqueue
from scapy.all import *
import os
@dmitshur
dmitshur / gist:6927554
Last active September 17, 2023 07:35
[Legacy GOPATH mode] How to `go get` private repos using SSH key auth instead of password auth.

WARNING: This gist was created in 2013 and targets the legacy GOPATH mode. If you're reading this in 2021 or later, you're likely better served by reading https://tip.golang.org/cmd/go/#hdr-Configuration_for_downloading_non_public_code and https://golang.org/ref/mod#private-modules.

$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
	insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!