Skip to content

Instantly share code, notes, and snippets.

View fr34k8's full-sized avatar
🎯
Focusing

fr34k8

🎯
Focusing
View GitHub Profile
@fr34k8
fr34k8 / hometheater-diagram.md
Created July 11, 2023 21:26 — forked from jlian/hometheater-diagram.md
Wiring diagram for my home theater

My home theater setup diagram

flowchart LR

    subgraph Media Closet
        subgraph Denon AVR X1700H
            AVR_HDMI1
            AVR_HDMI2
            AVR_HDMI3

Create DNS-over-TLS bridge with Pi-hole, unbound and stubby on Ubuntu Server

Few months ago, I've made a similar work but I wanted something a little more easier to manage. Please have a look at here for my previous work.

This time, I'm gonna do pretty much the same thing but using Pi-hole as base then modify it to include unbound and stubby.

This way, I can use the power of Pi-hole with some additional security layers:

  • Recursive DNS check (unbound)
  • DNS-over-TLS (stubby)
@fr34k8
fr34k8 / README.md
Created February 6, 2023 23:02 — forked from jasonehines/README.md
Using ZeroTier to route between two UniFi USG LANs

Routing between two UniFi USG based LANs with ZeroTier

Intro

This is a quick explanation of how to configure both ZeroTier and two Ubiquiti UniFi USGs to allow routing between two IPv4 networks. Both networks are in private (RFC1918) address space and each one has its own DHCP service. There is no need for NAT between them, only IP routing.

The two networks are 192.168.1.0/24 (call this the "left" network) and 192.168.10.0/24 (the "right" network) but they can be anything. Also, you can have multiple CIDR blocks on one side or the other of the ZeroTier route; if you do, you just have to create more routing table entries.

optimising-unifi-performance

NOTE: Content below is written by Adrian Mace. Click here for an updated version.

Below are the key settings that I apply on any unifi installation for optimal performance.

Settings

Settings > Site

  • Ensure Enable Advanced Features is enabled
    This allows you to follow along with the guide in it's entirety.

How to install Homebrew package manager on Steam Deck

You can install Homebrew (a package manager for macOS and Linux) without disabling the read-only partition with sudo steamos-readonly disable.
The package manager can be used alongside Flatpaks. Some software is only available on Flathub, and some software is only available on Homebrew.

  1. Switch to desktop mode (hold power button until a menu appears, then select "Switch to desktop mode")
  2. Click the logo at the bottom left, go to System, then go to Konsole
  3. Set a password (needed for sudo access):
    passwd
@fr34k8
fr34k8 / menu.livecd.ipxe
Created March 3, 2020 14:25 — forked from tuxfight3r/menu.livecd.ipxe
ipxe linux livecd / netinstall menus
#!ipxe
# To access this file via http use following redirection:
# http://preseed.panticz.de/ipxe/menu.livecd.ipxe
menu LiveCD
item --gap Ubuntu:
item live_ubuntu_16.04 Ubuntu Trusty 16.04 LiveCD
item live_ubuntu_14.04 Ubuntu Trusty 14.04 LiveCD
item live_ubuntu_12.04 Ubuntu Precise 12.04 LiveCD
@fr34k8
fr34k8 / blink_ip.pl
Created March 1, 2020 21:09 — forked from chrismeyersfsu/blink_ip.pl
Raspberry Pi Blink Ip Address
@fr34k8
fr34k8 / _INSTALL.md
Created February 24, 2020 18:56 — forked from robinsmidsrod/_INSTALL.md
Bootstrapping full iPXE native menu with customizable default option with timeout (also includes working Ubuntu 12.04 preseed install)

Add the following chunk to your existing ISC dhcpd.conf file.

if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
    filename "undionly.kpxe";
}

(or see https://gist.github.com/4008017 for a more elaborate setup

@fr34k8
fr34k8 / gitlab-runner-job.yaml
Created January 27, 2020 20:42 — forked from ericbisme/gitlab-runner-job.yaml
Kubernetes Job to deploy gitlab-runner from a helm chart
# Initialize a gitlab-runner in a utility namespace dedicated to customer namespace
# Designed to faciliate customer self-service to their namespace(s) via GitLab
---
apiVersion: batch/v1
kind: Job
metadata:
name: deploy-gitlab-runner-<customer>-<namespace>
spec:
ttlSecondsAfterFinished: 100
template:
@fr34k8
fr34k8 / .gitlab-ci.yml
Created January 10, 2020 18:52 — forked from plajjan/.gitlab-ci.yml
Git automation stuff
image: gitlab.dev.terastrm.net:4567/terastream/cisco-nso/ci-cisco-nso:4.2.3
stages:
- build
- mr-robot
variables:
NCS_VERSION: "4.2.3"
DOCKER_REGISTRY: "gitlab.dev.terastrm.net:4567/terastream/cisco-nso"
TARGET_REGISTRY: "repo.dev.terastrm.net:5000/"