Skip to content

Instantly share code, notes, and snippets.

Avatar
🐈
Fish eating

techmoe dev-techmoe

🐈
Fish eating
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am dev-techmoe on github.
  • I am techmoe (https://keybase.io/techmoe) on keybase.
  • I have a public key whose fingerprint is C3D2 E053 AD01 71B8 8740 D0DB 80DD 7738 A18D 0768

To claim this, I am signing this object:

View nginx_https_conf.conf
# listen
listen 443 https http2;
# cert configure
ssl_certificate /path/to/certs/fullchain.cer;
ssl_certificate_key /path/to/certs/key.key;
# SSL security config
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
@dev-techmoe
dev-techmoe / README.md
Last active Aug 23, 2018
npm-no-bin-link-command-patch
View README.md

npm-no-bin-link-command-patch

This script will help you create scripts to fix the problem caused by enable no-bin-link option of NPM or Yarn.

Usage

Put command_patch.js to your work dir, and run it.

node command_patch.js

And it will create scripts that is associate to CLI scripts of every modules automatic.
All command of modules in your workdir will be usable after that.

@dev-techmoe
dev-techmoe / v2ray_chinaip_router.json
Last active Jul 28, 2020
使用v2ray区分国内外流量实现自动分流
View v2ray_chinaip_router.json
{
"inbound": {
"port": 1081,
"listen": "0.0.0.0",
"protocol": "socks",
"settings": {
"auth": "noauth"
}
},
"inboundDetour": [
View right_click_menu_get_file_hash.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\文件哈希校验]
"SubCommands"="MACTripleDES;MD5;RIPEMD160;SHA1;SHA256;SHA384;SHA512"
"MUIVerb"="Get Hash"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MACTripleDES]
View README.md

thin_vector

某个下午没事闲的写的mediawiki vector的一个userstyle

@dev-techmoe
dev-techmoe / mgDuplicateFilesClean.less
Created Aug 13, 2017
stylesheet of mgDuplicateFilesClean 萌娘共享-重复文件列表js小工具的样式
View mgDuplicateFilesClean.less
.duplicateFilesDeletion-context {
.duplicateFilesDeletion-container {
min-height: 300px;
position: relative;
}
.duplicateFilesDeletion-content-page {
display: none;
}
View jQuery-plugin-authoring.md
译自 jQuery Plugins / Authoring

创建插件


看来 jQuery 你已经用得很爽了,想学习如何自己编写插件。非常好,这篇文档正适合你。用插件和方法来扩展 jQuery 非常强大,把最聪明的功能封装到插件中可以为你及团队节省大量开发时间。

开始

View structure_of_sentry_webhook's_callback.json
METHOD: POST
From 173.193.138.222, 108.162.221.102
Accept-Encoding: gzip
Cf-Connecting-Ip: 173.193.138.222
Host: requestb.in
User-Agent: sentry/8.14.0.dev0 (https://sentry.io)
Total-Route-Time: 0
Accept: */\*
@dev-techmoe
dev-techmoe / 0_reuse_code.js
Created Oct 31, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.