Skip to content

Instantly share code, notes, and snippets.

View chinkiko's full-sized avatar
🎯
Focusing

ChinKIKO chinkiko

🎯
Focusing
  • NULL
  • EARTH
View GitHub Profile
@chinkiko
chinkiko / raspberry-pi-chroot-armv7-qemu.md
Created May 21, 2019 11:40 — forked from jkullick/raspberry-pi-chroot-armv7-qemu.md
Chroot into Raspberry Pi ARMv7 Image with Qemu
# install dependecies
apt-get install qemu qemu-user-static binfmt-support

# download raspbian image
wget https://downloads.raspberrypi.org/raspbian_latest

# extract raspbian image
unzip raspbian_latest
@chinkiko
chinkiko / blocklist.txt
Last active March 5, 2019 02:13
Pi-Hole Blocklist
http://sysctl.org/cameleon/hosts
https://adaway.org/hosts.txt
https://bitbucket.org/ethanr/dns-blacklists/raw/8575c9f96e5b4a1308f2f12394abd86d0927a4a0/bad_lists/Mandiant_APT1_Report_Appendix_D.txt
https://gist.githubusercontent.com/anudeepND/adac7982307fec6ee23605e281a57f1a/raw/5b8582b906a9497624c3f3187a49ebc23a9cf2fb/Test.txt
https://hosts-file.net/ad_servers.txt
https://hosts-file.net/emd.txt
https://hosts-file.net/exp.txt
https://hosts-file.net/grm.txt
https://hosts-file.net/psh.txt
https://hostsfile.org/Downloads/hosts.txt
@chinkiko
chinkiko / Fix brightness FN-keys on Asus laptops
Created July 21, 2018 19:57 — forked from eugene-s/Fix brightness FN-keys on Asus laptops
Fix brightness FN-keys in Linux on Asus laptops (N550, UX305, UX303 etc)
commit 4e9bdc8ceeffa48962ae018cf52cc8ada72dc98b
Author: Carlo Caione <carlo@endlessm.com>
Date: Fri Aug 21 08:58:14 2015 +0200
drm/i915/opregion: work around buggy firmware that provides 15+ output devices
- DIDL/DDL2/DDL3/... are the DIDL fields in the IGDM OpRegion (Supported
Display Devices ID List)
- This field indicates which display devices are supported by the platform, and
@chinkiko
chinkiko / default.custom.yaml
Created July 10, 2018 02:11 — forked from lotem/default.custom.yaml
在Rime輸入方案選單中添加五筆、雙拼、粵拼、注音,保留你需要的
# default.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
schema_list:
- schema: luna_pinyin # 朙月拼音
- schema: luna_pinyin_simp # 朙月拼音 简化字模式
@chinkiko
chinkiko / openwrt-lede-on-wd-MyBookLive.sh
Last active April 6, 2019 05:51 — forked from braian87b/openwrt-lede-on-wd-mbl.sh
Install OpenWRT or LEDE on WD MBL Western Digital MyBookLive
!! openwrt-mybooklive support Flash new firmware image using zip file "MBL.img.gz"
https://openwrt.org/toh/wd/mybooklive#upgrading
OpenWrt on the MBL can be upgraded using LuCI and sysupgrade. It directly takes a gzipped image file ending in .img.gz which does not have to (and due to memory constraints probably shouldn't) be unzipped.
# Instructions to Install OpenWRT or LEDE on WD MBL Western Digital MyBookLive (Tested on Single, but it should work on Duo too)
# Recommended to use a Linux / Debian box with wget, dd, gunzip, lsblk
# First, wget the file:
@chinkiko
chinkiko / dnspodsh.sh
Created October 7, 2017 17:47 — forked from zrong/dnspodsh.sh
在bash中使用DNSPod的API接口实现DDNS客户端
#!/bin/bash
##############################
# dnspodsh v0.3
# 基于dnspod api构架的bash ddns客户端
# 作者:zrong(zengrong.net)
# 详细介绍:http://zengrong.net/post/1524.htm
# 创建日期:2012-02-13
# 更新日期:2012-03-11
##############################