Skip to content

Instantly share code, notes, and snippets.

View xgqfrms's full-sized avatar
πŸ’­
πŸŽ‰ πŸ‘» πŸ’» πŸ•΅οΈβ€β™‚οΈ

xgqfrms xgqfrms

πŸ’­
πŸŽ‰ πŸ‘» πŸ’» πŸ•΅οΈβ€β™‚οΈ
View GitHub Profile
@xgqfrms
xgqfrms / GitHub-GraphQL-API-v4.md
Created June 10, 2017 09:31
REST API v3 & GitHub GraphQL API v4
// only for Angular2 dist
//
// # SimpleServer
//
// A simple chat server using Socket.IO, Express, and Async.
//
var http = require('http');
var path = require('path');
var async = require('async');
@xgqfrms
xgqfrms / git hooks & husky & eslint.md
Created May 6, 2020 09:35
git hooks & husky & eslint
@xgqfrms
xgqfrms / async await errorCaptured.md
Created May 17, 2020 17:02
async /await errorCaptured

async /await errorCaptured

"use strict";

/**
 *
 * @author xgqfrms
 * @license MIT
 * @copyright xgqfrms
@xgqfrms
xgqfrms / js repeatify.md
Created June 2, 2020 15:16
js repeatify

ES6 version

repeatify

String.prototype.repeatify = function (times = 1) {
  console.log(this)
 // StringΒ {"abx"}

html5 tempalte all in one

<!DOCTYPE html>
<html lang="zh-Hans" manifest="manifest.appcache">
<!-- manifest.json -->

<head>
    <!--
@xgqfrms
xgqfrms / main.dart
Last active July 7, 2020 09:46
dart date types 🎯
/// dart block comments
// https://dart.dev/guides/language/effective-dart/documentation#doc-comments
// https://dart.dev/samples#comments
/**
*
* @author xgqfrms
* @license MIT
* @copyright xgqfrms
* @created 2020-07-07
@xgqfrms
xgqfrms / index.html
Last active July 8, 2020 07:16
Flutter in DartPad live app
<h1>Flutter in DartPad live app</h1>
<div>
<canvas id="canvas" width="300" height="300"></canvas>
</div>