Skip to content

Instantly share code, notes, and snippets.

@webdevgen
webdevgen / DigitalOcean Promo Code 2025 | $200 - $400 | 1-Year Valid.md
Last active April 15, 2025 06:04
DigitalOcean Promo Code 2025 / $200 - $400 / 1-Year Valid

DigitalOcean Promo Code 2025 / $200 - $400 / 1-Year Valid

DigitalOcean offers substantial discounts for new users via exclusive promo codes. These codes provide free credits ranging from $10 to $200 to experience DigitalOcean's cloud services.

This guide provides:

  • A list of currently active and latest DigitalOcean promo codes with applicable credit amounts, services, expiry dates and terms.
  • Step-by-step instructions to easily redeem codes as a new user, along with tips to maximize promotional savings.
  • One special offer that will give you free credits that is valid for 1 year.
@adlerweb
adlerweb / fritzlog.py
Last active December 30, 2024 23:32
FRITZ!Box Graylog Gateway
#!/usr/bin/env python3
# Free Open Source Software released under GPLv2
# see http://www.gnu.org/licenses/gpl-2.0
# Author: Florian Knodt <[email protected]>
# Original Author: Tilman Schmidt <[email protected]>
# Contributor: Peter Pawn @ IP Phone Forum
# inspired by http://www.administrator.de/contentid/214598
# Requirements (for example via pip): graypy, requests
@tblaschke
tblaschke / nas_poweroff.sh
Created October 6, 2023 21:55
FreeNas Poweroff
#!/usr/local/bin/bash
#
# Author: SIFTU
# Version: 1.4
# Modfied for FreeNAS by Thomas Blaschke
#
# Usage: nas_powerdown <sleep_packets>
#
# This is scheduled in CRON. Schedule it to run at regular intervals i.e. 15,30,60 mins
# It compares the RX and TX packets from the previous run
@pirate
pirate / docker-compose-backup.sh
Last active January 26, 2025 23:38
Backup a docker-compose project, including all images, named and unnamed volumes, container filesystems, config, logs, and databases.
#!/usr/bin/env bash
### Bash Environment Setup
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
# set -o xtrace
set -o errexit
set -o errtrace
set -o nounset
set -o pipefail
@hsw0
hsw0 / 000-README.md
Last active October 18, 2022 07:56
Samba AD + OpenSSH LPK Schema

Samba AD + openssh-lpk Schema

Add openssh-lpk Schema [1] to Samba 4 ad dc.

Usage

sed -i -e 's/${DOMAINDN}/DC=your,DC=domain,DC=name/' *.ldif'