Skip to content

Instantly share code, notes, and snippets.

@subnet
subnet / pihole-v6-letsencrypt-cloudflare.md
Created May 22, 2025 18:55 — forked from kaczmar2/pihole-v6-letsencrypt-cloudflare.md
Automating SSL Certificate Renewal for Pi-hole v6 (acme.sh + Cloudflare)

Pi-hole v6: Automating Let's Encrypt SSL Renewal with Cloudflare DNS

See my other guides for SSL certificates on Pi-hole v6:

Overview

Pi-hole v6 introduces changes to its web server:

  • Embedded Web Server – Pi-hole no longer relies on lighttpd.
@subnet
subnet / .bash_aliases
Created April 14, 2025 13:03 — forked from vratiu/.bash_aliases
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
@subnet
subnet / gist:2c7bf75f28f30ec8ccbb66e997d6c545
Created May 1, 2023 08:03 — forked from dramaturg/gist:6bb04b35c290b502df52b62f5a6d8d19
Thecus N3200PRO/N3800 on-board VGA output pinout

Thecus N3200PRO/N3800 on-board VGA output pinout

Using the on-board VGA output

The AMD Geode has an on-chip VGA controller that is connected to an IDC-10 connector on the motherboard, to the left of the CPU. It is relatively easy to build a custom cable to connect this port to a regular DB-15 VGA port. The IDC-10 connector pins are labelled on the board, with pin 2 being and bottom left pin, and pin 10 the topleft one (see image below). The following pinout seems to work enough for BIOS access and simple graphic modes.

4: RED, GREEN and BLUE GROUNDs
5: RED
@subnet
subnet / chmod_R.php
Created November 12, 2020 12:25 — forked from fitorec/chmod_R.php
Chmod Recursive for PHP.
<?php
/*
* Description: chmod recursive.
* Code-Base: official documentation php.net chmod function
* Link: http://www.php.net/manual/en/function.chmod.php#105570
*
* Example usage :
* chmod_R( 'mydir', 0666, 0777);
*
*/