Skip to content

Instantly share code, notes, and snippets.

View Underknowledge's full-sized avatar

Underknowledge

View GitHub Profile
@braian87b
braian87b / dumb-ap-wired-link.sh
Last active June 20, 2024 11:54
How to setup a Dumb AP, Wired backbone for OpenWRT / LEDE
@timbennett
timbennett / expose.py
Last active June 11, 2023 00:36
Create 'long exposure' images from a video file.
# This script takes a video's individual frames and overlays them to produce a composite "long exposure" image.
#
# Usage: python expose.py video.mp4 width height
#
# IMPORTANT: you'll need to edit this script to set the value of 'alpha' appropriate for your video's length and desired brightness.
from __future__ import division
import subprocess as sp
import numpy
from PIL import Image, ImageDraw
@blackgate
blackgate / mbp2011-disable-amd-gpu.md
Last active November 22, 2023 01:23
Macbook Pro 2011 - Disable AMD GPU
@fernandoaleman
fernandoaleman / reduce-lvm-partition-centos-7.md
Last active July 23, 2024 18:55
Reduce an LVM partition on CentOS 7

Reduce LVM Partition on CentOS 7

Sometimes when creating a new CentOS 7 server, the drive is partioned with the root, boot and swap, and then all the rest of the space is given to the home directory.

Here, we are going to reduce the size of the /home partition and allocate the remaining space back to the root partition.

List Block Devices

List the current block devices

@simonliska
simonliska / rook-ceph-mgr-grafana-cloud.md
Last active July 7, 2023 13:00
Setting up Rook Ceph and Grafana Cloud to scrape Ceph mgr metrics

Intro

Let's deploy Rook Ceph in kubernetes ditribution using vagrant or k3d and setup default Grafana dashboard using Grafana Cloud.

Prerequisities

For vagrant: install vagrant, virtualbox (6.1.x. - newest compatible with vagrant) and kubectl.

For k3d: install k3d and kubectl.

Create environment

Vagrant option