Skip to content

Instantly share code, notes, and snippets.

View xgqfrms's full-sized avatar
💭
🎉 👻 💻 🕵️‍♂️

xgqfrms xgqfrms

💭
🎉 👻 💻 🕵️‍♂️
View GitHub Profile
@xgqfrms
xgqfrms / readme.md
Created July 17, 2020 04:21
xgqfrms github stats

xgqfrms github stats

function login(n) {
return account.login(n)
}
function logout() {
return account.logout()
}
function register() {
return account.register()
}
function deliverT2() {
@xgqfrms
xgqfrms / Redis-macOS.md
Last active August 19, 2020 09:57
how to install Redis on macOS

how to install Redis on macOS

brew

# update & install
$ brew update
$ brew install redis
@xgqfrms
xgqfrms / url-query-string-params-parser.md
Created August 21, 2020 07:09
URL Query String Params Parser in JavaScript

URL Query String Params Parser in JavaScript

ES6 vanilla version

"use strict";

/**
 *
 * @author xgqfrms
/**
* express static server for react build/dist test!
*/
// simple express server for HTML pages!
// ES6 style
const express = require('express');
const fs = require('fs');
const hostname = '127.0.0.1';
@xgqfrms
xgqfrms / node.js-module.exports-exports.md
Created August 31, 2020 14:43
node.js & module.exports & exports

module.exports & exports

CJS Modules

// CJS Modules

/*
exports.a = 1;
@xgqfrms
xgqfrms / jest-ignore.md
Created September 1, 2020 14:13
jest ignore

jest ignore

jest.config.js

// jest.config.js
@xgqfrms
xgqfrms / live-2d.md
Last active September 2, 2020 07:52
Live 2D / Live 3D

Live 2D

https://www.live2d.com/en/about/

What is Live2D?Live2D is a software technology that allows you to create dynamic expressions that breathe life into an original 2D illustration.

什么是Live2D?Live2D是一种软件技术 允许您创建动态表达式 将生命带入原始的2D插图中

demo

@xgqfrms
xgqfrms / dev.sh-app.sh.md
Created September 5, 2020 16:26
dev.sh & app.sh