Skip to content

Instantly share code, notes, and snippets.

View miooochi's full-sized avatar
🧬
Linux DNA.

kev miooochi

🧬
Linux DNA.
  • /dev/null
View GitHub Profile
@miooochi
miooochi / actions_blacklist-update.conf
Last active September 1, 2023 14:43 — forked from PiDroid-B/actions_blacklist-update.conf
OPNsense Custom script and Cron (example : unbound blacklist update)
[reload]
command:/bin/sh /usr/local/etc/unbound/blacklist-update.sh
parameter:
type:script_output
message: Unbound Blacklist Update
description: Centralized Blacklist Update for Unbound DNS Service
@miooochi
miooochi / btrfs-nixos-install.sh
Created June 2, 2023 08:54 — forked from nasirhm/btrfs-nixos-install.sh
nixos install (boot + btrfs root + LUKS setup)
mkfs.vfat -n BOOT /dev/sda3
mkfs.btrfs -L root /dev/sda1
cryptsetup luksFormat /dev/sda1
# Enter the Password.
cryptsetup luksOpen /dev/sda1 enc-pv
# After Opening the Disk, Open Gparted and Format /dev/sda1 to btrfs for the btrfs logic block.
@miooochi
miooochi / ansible_regex_example.yml
Last active February 17, 2023 15:58 — forked from erbrito/regex_test.yml
Ansible example to use regex_search filter.
---
## References
# - https://stackoverflow.com/questions/61598412/regex-after-matched-string-and-white-space-in-ansible
# - https://stackoverflow.com/questions/69475907/extract-a-substring-from-a-variable-in-ansible
## Example of use of filter regex_search
- hosts: localhost
remote_user: root