Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

xyzdata xyzdata

🏠
Working from home
View GitHub Profile
@xyzdata
xyzdata / index.html
Created Jul 7, 2020 — forked from xgqfrms/index.html
Flutter in DartPad live app
View index.html
<h1>Flutter in DartPad live app</h1>
<div>
<canvas id="canvas" width="300" height="300"></canvas>
</div>
@xyzdata
xyzdata / cookie-all-in-one.js
Last active Mar 20, 2018
cookies & cookie all in one & xgqfrms
View cookie-all-in-one.js
@xyzdata
xyzdata / express static web server & Linux node.js.md
Created Mar 5, 2018
express static web server & Linux node.js
View express static web server & Linux node.js.md

express static web server & Linux node.js

image

// simple express server for HTML pages!
// ES6 style

const express = require('express');
View bash-error.md

Ctrl + Alt + P 复制节点 URL

emmet

View React-Templates.md
@xyzdata
xyzdata / emial-tel.md
Last active Nov 13, 2020
emial : auto template& tel
View emial-tel.md

emial

auto template

    

<a 
   href="mailto:xgqfrms@gmail.com?cc=xgqfrms@xgqfrms.xyz&amp;subject=Newsletter%20subscription&amp;body=Please%20subscribe%20me%20to%20your%20newsletter!">
  xgqfrms@xgqfrms.xyz
@xyzdata
xyzdata / tree.css
Created Aug 23, 2017 — forked from dylancwood/tree.css
CSS to create a simple tree structure with connecting lines. No images or JS required.
View tree.css
ul.tree, ul.tree ul {
list-style: none;
margin: 0;
padding: 0;
}
ul.tree ul {
margin-left: 10px;
}
ul.tree li {
margin: 0;
@xyzdata
xyzdata / test.js
Created Aug 22, 2017 — forked from anonymous/test.js
Fetch API Post example
View test.js
const promise = new Promise(
(resolve, reject) => {
// do a thing, possibly async, then…
if (/* everything turned out fine */) {
resolve("Stuff worked!");
}
else {
reject(Error("It broke"));
}
}
@xyzdata
xyzdata / GitHub-API.md
Created Aug 3, 2017 — forked from xgqfrms-GitHub/GitHub-API.md
GitHub GraphQL API
View GitHub-API.md

github API

GitHub GraphQL API

let username = `xgqfrms-GitHub`;
    repo = `Node-CLI-Tools/commits`;
@xyzdata
xyzdata / xgqfrms react-e.preventDefault()-e.stopPropagation().md
Created Aug 2, 2017
xgqfrms , react & e.preventDefault(); & e.stopPropagation();
View xgqfrms react-e.preventDefault()-e.stopPropagation().md

react & e.preventDefault(); & e.stopPropagation();

xgqfrms react

    


e.preventDefault();
e.stopPropagation();