Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🎉 👻 💻 🕵️‍♂️

xgqfrms xgqfrms

💭
🎉 👻 💻 🕵️‍♂️
View GitHub Profile
@xgqfrms
xgqfrms / JsBlobSaveJson
Created Apr 8, 2021 — forked from yiwenl/JsBlobSaveJson
Javascript using Blob to save json file
View JsBlobSaveJson
var saveJson = function(obj) {
var str = JSON.stringify(obj);
var data = encode( str );
var blob = new Blob( [ data ], {
type: 'application/octet-stream'
});
var url = URL.createObjectURL( blob );
var link = document.createElement( 'a' );
View echats 千分位.md
@xgqfrms
xgqfrms / 企业微信 robot & jira.md
Last active Mar 31, 2021
企业微信 robot & Jira (js 版)
View 企业微信 robot & jira.md

企业微信 robot & Jira (js 版)

const wxRobot = () => {
  const url = `https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=555a887d-c247-4808-a850-xyz`;
  const fetchPOST = (url, obj) => {
    return fetch(
        url,
View daily-notes bash script.md

daily-notes bash script

#!/usr/bin/env bash

echo "^-v-^ app is running in production env!"
# read args
# date="$1"
# date=$1
View gitlab 发版流程图.md

gitlab 发版流程图

git workflow 发版流程

  1. 正常流程
# feature-xyz
$ git checkout feature-xyz
$ git pull