Skip to content

Instantly share code, notes, and snippets.

View zoonderkins's full-sized avatar
🏠
Working 👍

Quack~ zoonderkins

🏠
Working 👍
View GitHub Profile
@zoonderkins
zoonderkins / Debian9-google-gcp-bashrc.md
Last active January 28, 2019 02:14
Debian9-Google-GCP-basic-bashrc #linux

Basic bashrc

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# ~/.bashrc: executed by bash(1) for non-login shells.

# Note: PS1 and umask are already set in /etc/profile. You should not
# need this unless you want different defaults for root.
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
# umask 022
@zoonderkins
zoonderkins / tor-private-bridge-debian.md
Last active January 26, 2019 04:42
Tor-private-bridge-on-Debian #linux #tor

Install TOR private bridge on Debian9

// Download this script 
wget https://raw.githubusercontent.com/Xaqron/tor-private-bridge/master/tor-bridge.sh
bash tor-bridge.sh

// NOTE-> untill gpg sign finish, STOP the process , CTRL + C 

nano /etc/apt/sources.list.d/tor.list
@zoonderkins
zoonderkins / speedtest-cli-debian.md
Created January 18, 2019 07:30
speed-test-cli-debian #linux

Installation

wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

chmod +x speedtest-cli

run it

python speedtest-cli
@zoonderkins
zoonderkins / linux-add-local-loopback-ip.md
Last active January 26, 2019 15:31
Linux add local loopback IP #linux

Cmd

cd /etc/network/if-pre-up.d/
nano ip

#!/bin/sh
 ip addr add 10.1.1.1 dev lo
 exit 0
@zoonderkins
zoonderkins / change-debian-ubuntu-keyboard-mapping-to-us.md
Created January 14, 2019 18:22
Debian keyboard mapping change to US #linux

Change the keyboard mapping cmd

dpkg-reconfigure keyboard-configuration

or

nano /etc/default/keyboard
@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
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \