Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Madh93's full-sized avatar
🏠
Work from home

Miguel Hernández Madh93

🏠
Work from home
View GitHub Profile
@Madh93
Madh93 / Raspberry_Pi_with_Packer_and-QEMU.md
Last active March 24, 2024 10:11
Raspberry Pi with Packer and QEMU

Raspberry Pi with Packer and QEMU

Creates a Raspberry Pi image using Packer and using QEMU to test it.

Tested with Raspberry Pi OS Lite 5.10 (March 4th 2021).

Requirements (Arch Linux)

yay -S curl go packer qemu qemu-arch-extra qemu-user-static-bin
@Madh93
Madh93 / main.go
Created March 16, 2021 11:56
Update a DynamoDB global secondary index provisioned throughput using AWS SDK for Go
package main
import (
"log"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
@Madh93
Madh93 / Fail2ban_configuration.md
Last active August 17, 2019 10:38
Fail2ban configuration

Fail2ban configuration

  • Jail.local
  • Nextcloud filter
  • Jellyfin filter
@Madh93
Madh93 / GPG_encryption_and_decryption.md
Last active March 24, 2018 15:25
GPG encryption and decryption for lazy people, like me

GPG encryption and decryption for lazy people

Requirements

gem install ruby_gpg

How to use

To encrypt files:

@Madh93
Madh93 / DigitalOcean_Scripts.md
Last active December 21, 2022 13:37
DigitalOcean Scripts

DigitalOcean scripts

  • Initial setup
  • Install Docker
  • Install Nextcloud
  • Install OpenVPN Server
@Madh93
Madh93 / Rpi-transmission_scripts_in_docker.md
Last active January 19, 2018 18:30
Rpi-tranmission scripts in Docker

Rpi-tranmission scripts in Docker

  • Rpi-transmission run script
  • Rpi-transmission service script
  • Rpi-transmission Dockerfile
  • Rpi-transmission settings file
@Madh93
Madh93 / Boards_Setup.md
Last active August 31, 2018 21:53
Raspberry Pi Setup

Boards Setup

  • Orange Pi Zero
  • Raspberry Pi 3 Model B
@Madh93
Madh93 / Pihole_scripts_in_Docker.md
Last active June 7, 2020 09:25
Pi-hole scripts in Docker

Pi-hole scripts in Docker

  • Pihole run script
  • Pihole service script
@Madh93
Madh93 / Scaleway_Scripts.md
Last active May 16, 2018 19:21
Scaleway scripts

Scaleway scripts

  • Initial setup
  • Install Chef
  • Install Docker
  • Install Pi-hole