Skip to content

Instantly share code, notes, and snippets.

View liubiantao's full-sized avatar
🤑
Ad Space(广告位招租)

Haitao liubiantao

🤑
Ad Space(广告位招租)
View GitHub Profile
@liubiantao
liubiantao / canvas2svg.user.js
Last active November 26, 2020 13:52
canvas 转换成 svg
// ==UserScript==
// @name canvas 转换成 svg
// @namespace https://gist.github.com/liubiantao
// @version 0.3
// @description 把网页中的 canvas 转换成 svg
// @author liubiantao
// @match https://www.amap.com/
// @grant GM_addStyle
// @require https://cdn.jsdelivr.net/npm/[email protected]/canvas2svg.min.js
// ==/UserScript==
@liubiantao
liubiantao / alo7-ehr-copytime.user.js
Created November 23, 2020 06:18
EHR系统辅助复制粘贴时间
// ==UserScript==
// @name EHR系统辅助复制粘贴时间
// @namespace https://gist.github.com/liubiantao
// @version 0.1
// @description 方便一键复制粘贴到excel里进行统计
// @author liubiantao
// @match https://hr.saybot.net:8443/*
// @grant none
// ==/UserScript==
@liubiantao
liubiantao / alo7-aot-toolbox.user.js
Last active November 21, 2020 09:29
Alo7 AOT 开发工具包
// ==UserScript==
// @name Alo7 AOT 开发工具包
// @namespace https://gist.github.com/liubiantao/49c99f34e51d133019a3cad4619062a1
// @version 0.3
// @author liubiantao
// @match https://aosp-operation-frontend-internal.beta.saybot.net/*
// @match https://aosp-operation-frontend-external.beta.saybot.net/*
// @grant window.open
// @grant GM_addStyle
// @description 一些帮助开发的工具
@liubiantao
liubiantao / zhihu-combo.user.js
Created September 16, 2020 03:38
知乎一键素质三连
// ==UserScript==
// @name 知乎一键素质三连
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 知乎 长按 点赞, 一键点赞喜欢收藏
// @author liubiantao
// @match https://*.zhihu.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
@liubiantao
liubiantao / squirrel.custom.yaml
Created June 30, 2020 08:21
鼠须管透明主题,适合盲打
patch:
style:
color_scheme: transparent
preset_color_schemes:
transparent:
name: "透明 / Transparent"
author: "liubiantao"
inline_preedit: true #单行显示,false双行显示
back_color: 0x00000000 #候选条背景色
text_color: 0x00000000 #高亮选中词颜色
@liubiantao
liubiantao / xhyxbm.txt
Created August 20, 2019 05:53
小鹤音形编码 for [极速云跟打 - 极速中文网](https://www.jsxiaoshi.com/index.php/Home/Cloud/index)
啊 a_
阿 aa_
阿爸 aaba
嗷嗷待哺 aadb
阿 aa_
阿 aa_
阿哥 aage
啊哈 aaha
锕 aaj_
安安静静 aajj
@liubiantao
liubiantao / zoom-electron-rebuild-error.log
Created July 31, 2019 08:59
zoom-electron-rebuild-error.log
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info find Python using Python version 2.7.10 found at "/usr/bin/python"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/Users/testuser/.npm-global/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
@liubiantao
liubiantao / background-script.js
Created June 18, 2019 06:01
chrome screen share extenstion demo
// this background script is used to invoke desktopCapture API
// to capture screen-MediaStream.
var screenOptions = ['screen', 'window'];
chrome.runtime.onConnect.addListener(function (port) {
port.onMessage.addListener(portOnMessageHanlder);
// this one is called for each message from "content-script.js"
function portOnMessageHanlder(message) {
@liubiantao
liubiantao / cloudSettings
Last active December 3, 2018 11:18
vscode_sync
{"lastUpload":"2018-12-03T11:18:25.495Z","extensionVersion":"v3.2.2"}
# 规则配置仅供参考,适用于 Surge Mac (1.1.0) 及其后续版本;
# 包含 Proxy Group、URL Rewrite 特性;
# 包含 Reject 规则,用于拦截广告、行为分析、数据统计;
# 屏蔽 Hao123、百度搜索,放行百度地图、百度外卖、百度音乐、百度云盘、百度百科。
# Surge for Mac 简明指南 http://bit.ly/1TATRaG
[General]
# warning, notify, info, verbose
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local
bypass-tun = 0.0.0.0/8, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
loglevel = notify