Skip to content

Instantly share code, notes, and snippets.

View watain666's full-sized avatar
🔥
I may be slow to respond.

TiâuUî Lâu watain666

🔥
I may be slow to respond.
View GitHub Profile
@watain666
watain666 / vimium-options.json
Created September 4, 2019 09:26
vimium-options.json
{
"settingsVersion": "1.64.6",
"exclusionRules": [
{
"pattern": "https?://mail.google.com/*",
"passKeys": ""
},
{
"pattern": "https?://*distrotest.net/*",
"passKeys": ""
{"displayMode":"custom","hideLabel":false,"iconBreak":9,"shortcutIconSize":64,"toolbarIcon":null,"toolbarIconDarkMode":false,"userList":["79","21","27","39","48","49","61","59","218","96","97","101","109","89","157","144","160","31","336","632","221"]}
@watain666
watain666 / README-Template.md
Created April 30, 2019 03:41 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@watain666
watain666 / new-tong-wen-tang.json
Last active November 14, 2019 08:56
New Tong Wen Tang setting
{"version":"","autoConvert":"trad","iconAction":"auto","symConvert":true,"inputConvert":"none","fontCustom":{"enable":false,"trad":"PMingLiU,MingLiU,新細明體,細明體","simp":"MS Song,宋体,SimSun"},"urlFilter":{"enable":true,"list":[{"url":"*.ruanyifeng.*","zhflag":"trad"},{"url":"*.baidu.com/*","zhflag":"trad"},{"url":"*.33oz.com/*","zhflag":"trad"},{"url":"*php.net/manual/zh/*","zhflag":"trad"},{"url":"*www.w3school.com.cn/*","zhflag":"trad"},{"url":"*ahkcn.sourceforge.net/*","zhflag":"trad"},{"url":"*www.jianshu.com/*","zhflag":"trad"},{"url":"*www.php.cn/*","zhflag":"trad"},{"url":"*www.amazon.co.jp/*","zhflag":"trad"},{"url":"*www.code4app.com/*","zhflag":"trad"},{"url":"*www.denimio.com/*","zhflag":"trad"},{"url":"*larabase.com/*","zhflag":"trad"},{"url":"*jekyllcn.com/*","zhflag":"trad"},{"url":"*cn.vuejs.org/*","zhflag":"trad"},{"url":"*www.spirit-of-*.com/*","zhflag":"trad"},{"url":"*greasyfork.org/*","zhflag":"trad"},{"url":"*laravel-china.*","zhflag":"trad"},{"url":"*learnku.com/*","zhflag":"trad"}]},"userPhr
@watain666
watain666 / mysql-cheat-sheet.md
Last active December 7, 2018 09:14 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@watain666
watain666 / git-io-custom-url.md
Last active November 15, 2018 08:05 — forked from dikiaap/git-io-custom-url.md
git.io custom URL

Command:

curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://github.com/*
  • https://*.github.com
  • https://*.github.com/*
  • https://*.github.io
@watain666
watain666 / iridium-settings
Created October 25, 2018 05:58
iridium-settings
{
"language": "English (US)",
"section_list": {
"donate": "donate",
"general": "general",
"video": "video",
"settings": "settings"
},
"section_titles": {
"donate": "Support Iridium",
@watain666
watain666 / phpbrewswitch
Last active October 19, 2018 03:11
Using PHPBrew to switch php version for apache
#!/usr/bin/env bash
# Usage: bash phpbrewswitch
i=1
c=1
options=()
while [ $c -gt 0 ]
do
v=$(phpbrew list | sed -n "${i}p")
if [ -z "$v" ]; then
@watain666
watain666 / setup.sh
Last active May 31, 2023 14:28 — forked from marulitua/setup.sh
Instal php5.6 & php7.2 with phpbrew on ubuntu 18.04
#!/usr/bin/env bash
# Instal php5.6 with phpbrew on ubuntu 18.04
# Install all dependencies
sudo apt update
sudo apt install wget php build-essential libxml2-dev libxslt1-dev libbz2-dev libcurl4-openssl-dev libmcrypt-dev libreadline-dev libssl-dev autoconf apache2-dev
wget https://github.com/phpbrew/phpbrew/raw/master/phpbrew
chmod +x phpbrew
mv phpbrew /usr/local/bin
@watain666
watain666 / multiple_ssh_setting.md
Created May 27, 2018 12:19 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"