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-default-hosts.txt
Created January 4, 2019 22:42
Mac OS 10.13 default hosts file #mac
##
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
@zoonderkins
zoonderkins / common-linux-cmd.md
Last active April 1, 2019 10:17
Common linux cmd #linux

Find file

grep -rnw 'rpz1.blacklist' -e 'uxip.meizu.com'

Check pid

top -p pid or top | grep dnsdist

@zoonderkins
zoonderkins / torrent-tracker-blacklist.txt
Created December 31, 2018 20:46
torrent-tracker-blacklist #torrent
# Torrent blacklist
# @ookangzheng
mgtracker.org
tracker.mg64.net
tracker.tfile.me
open.acgtracker.com
retracker.mgts.by
tracker.internetwarriors.net
t.nyaatracker.com
@zoonderkins
zoonderkins / index.js
Created December 24, 2018 15:38 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@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 May 16, 2025 09:11
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_24.x | bash -

apt -y install nodejs