Skip to content

Instantly share code, notes, and snippets.

View zoonderkins's full-sized avatar
🏠
Working 👍

Quack~ zoonderkins

🏠
Working 👍
View GitHub Profile
@zoonderkins
zoonderkins / mac-fix-boom3d-driver-issue.md
Created December 21, 2018 12:54
MacOS fix Boom3D driver issue #mac

First

launchctl stop com.apple.audio.coreaudiod

Second

cd /Library/Audio/Plug-Ins

Third

@zoonderkins
zoonderkins / pi-hole-using-caddy-php7-debian.md
Last active December 19, 2018 10:23
pi-hole using Caddy+PHP7.3+Debian9 #linux

Install Caddy and PHP7.3 on Debian9

apt-get -y install curl php7.3-cli php7.3-fpm php7.3-mysql php7.3-curl php7.3-gd php7.3-intl php-pear php7.3-imap php7.3-pspell php7.3-recode php7.3-sqlite3 php7.3-tidy php7.3-xmlrpc php7.3-xsl php7.3-mbstring php-gettext

Install Caddy

curl https://getcaddy.com | bash -s personal
@zoonderkins
zoonderkins / mac-iterm-using-proxy.md
Created December 11, 2018 19:50
Mac iterm using proxy #mac

SSH iterm2 using proxy

nano ~/.ssh/config
ProxyCommand nc -X 5 -x 127.0.0.1:1086 %h %p

// Restart Iterm or terminal
@zoonderkins
zoonderkins / python-remove-from-mac.md
Last active December 11, 2018 15:44
Python uninstall from Mac #mac #python

Uninstall Python from mac

Via PKG

// ENV: Mac OSX 10.14.2
// Follow step by step (Python3)
$ which python3
... return /Library/Frameworks/Python.framework/Versions/xxx

// cd into Versions folder
$ cd /Library/Frameworks/Python.framework/Versions
@zoonderkins
zoonderkins / awesome-dns-resolver.md
Last active May 13, 2023 14:57
awesome-dns-resolver
@zoonderkins
zoonderkins / debian-install-nodejs.md
Last active February 28, 2025 14:19
Nodejs install on Debian Ubuntu #linux

Debian Ubuntu install Nodejs

Latest version

apt -y install curl software-properties-common
curl -sL https://deb.nodesource.com/setup_23.x | bash -

apt -y install nodejs
@zoonderkins
zoonderkins / haproxy_rate_limiting.md
Created November 28, 2018 07:39 — forked from procrastinatio/haproxy_rate_limiting.md
Rate limiting with HAproxy

Introduction

So HAProxy is primalery a load balancer an proxy for TCP and HTTP. But it may act as a traffic regulator. It may also be used as a protection against DDoS and service abuse, by maintening a wide variety of statistics (IP, URL, cookie) and when abuse is happening, action as denying, redirecting to other backend may undertaken ([haproxy ddos config], [haproxy ddos])

@zoonderkins
zoonderkins / linux-screen-cmd-auto-start.md
Created November 20, 2018 01:50
Linux screen cmd auto start #linux

Screen command auto start some process

# screen -dms [name] command

screen -dmS brook ./brook server -l :1234 -p mima9057
@zoonderkins
zoonderkins / linux-disk-usage-view.md
Last active January 3, 2019 08:52
Linux view disk usage #linux

Some useful utils

# ncdu
apt install ncdu

ncdu -x /

# Native Command Line Tools
@zoonderkins
zoonderkins / knot-resolver-get-latest-version-ubuntu-debian.md
Last active January 11, 2019 10:49
Install latest knot-resolver on Debian and Ubuntu #linux

Install kdig and dig cmd

apt-get install dnsutils knot-dnsutils -y

Add virtual loopback

ip addr add 192.168.40.1/32 dev lo