Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🎉 👻 💻 🕵️‍♂️

xgqfrms xgqfrms

💭
🎉 👻 💻 🕵️‍♂️
View GitHub Profile
@xgqfrms
xgqfrms / 微信公众号代码高亮美化工具.md
Created Nov 20, 2020
微信公众号代码高亮美化工具
View 微信公众号代码高亮美化工具.md

微信公众号代码高亮美化工具

使用 Chrome 浏览器把右侧生成的页面直接拷贝到微信中即可。

https://www.mdnice.com/

@xgqfrms
xgqfrms / protips.js
Created Nov 16, 2020 — forked from nolanlawson/protips.js
Promise protips - stuff I wish I had known when I started with Promises
View protips.js
// Promise.all is good for executing many promises at once
Promise.all([
promise1,
promise2
]);
// Promise.resolve is good for wrapping synchronous code
Promise.resolve().then(function () {
if (somethingIsNotRight()) {
throw new Error("I will be rejected asynchronously!");
@xgqfrms
xgqfrms / auto open dingtalk.md
Last active Nov 13, 2020
auto open dingtalk
View auto open dingtalk.md

auto open dingtalk

自动打开钉钉 App

DD link & 钉钉 & URL Scheme

<a href="dingtalk://dingtalkclient/action/sendmsg?dingtalk_id=webgeeker">
@xgqfrms
xgqfrms / email-tel.md
Created Nov 13, 2020
custom URL scheme / custom URL protocol
View email-tel.md

custom URL scheme / custom URL protocol

matilto:

<h1>mailto: & E-mail links</h1>

<a href="mailto:support@xgqfrms.xyz">send an email for support</a>
View koa-https-server.md

koa-https-server

{
  "name": "koa-server",
  "version": "1.0.0",
  "description": "koa https server",
  "main": "src/index.js",
  "scripts": {
You can’t perform that action at this time.