Skip to content

Instantly share code, notes, and snippets.

View albertxiao's full-sized avatar

Albert albertxiao

View GitHub Profile
curl -fsSL https://pkgs.tailscale.com/stable/debian/bookworm.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
curl -fsSL https://pkgs.tailscale.com/stable/debian/bookworm.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
sudo apt-get update
sudo apt-get install tailscale
name: CI/CD
concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
on:
push:
branches:
- staging
@albertxiao
albertxiao / ipv6guide.md
Created June 24, 2024 13:18 — forked from timothyham/ipv6guide.md
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

@albertxiao
albertxiao / TUC-Steam-Guide.md
Created March 13, 2024 07:22 — forked from JeodC/TUC-Steam-Guide.md
A guide to setting up Command & Conquer: The Ultimate Collection for Steam - Dated March 11th 2024

Command & Conquer: The Ultimate Collection (Steam)

Author: Jeod

Contributors:

  • TerrorTowers
  • hxdr0n0s
  • Unstoppable
  • Agent
@albertxiao
albertxiao / circleci-all-config.yml
Created September 23, 2022 15:23
ful circle ci template for CD to S3 and DigitalOcean (Spaces and Server)
version: 2
jobs:
checkout_code:
docker:
- image: circleci/node:latest
working_directory: ~/$WORKSPACE
steps:
- run: node -v
- checkout
- attach_workspace:
@albertxiao
albertxiao / README.md
Created August 1, 2022 02:33 — forked from julienma/README.md
Pi-Hole docker setup with DNSCrypt-Proxy 2

This will setup Pi-Hole with DNS-Over-HTTPS (DoH) enabled, using dnscrypt-proxy as a DoH proxy — which is an alternative to cloudflared, as explained in the Cloudflare docs. Inspired from https://github.com/losuler/pihole-dnscrypt-docker.

Install Pi-Hole on Docker

Create docker-compose.yml and etc-dnscrypt-proxy/dnscrypt-proxy.toml, then to install/update: