Skip to content

Instantly share code, notes, and snippets.

View xyzdata's full-sized avatar
🏠
Working from home

xyzdata xyzdata

🏠
Working from home
View GitHub Profile
@xyzdata
xyzdata / GitHub-API.md
Created August 3, 2017 02:23 — forked from xgqfrms-GitHub/GitHub-API.md
GitHub GraphQL API

github API

GitHub GraphQL API

let username = `xgqfrms-GitHub`;
    repo = `Node-CLI-Tools/commits`;
@xyzdata
xyzdata / React-Templates.md
Created September 20, 2017 06:25 — forked from xgqfrms-GitHub/React-Templates.md
React Templates
@xyzdata
xyzdata / test.js
Created August 22, 2017 06:07 — forked from anonymous/test.js
Fetch API Post example
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 / index.html
Created July 7, 2020 09:17 — forked from xgqfrms/index.html
Flutter in DartPad live app
<h1>Flutter in DartPad live app</h1>
<div>
<canvas id="canvas" width="300" height="300"></canvas>
</div>
@xyzdata
xyzdata / tree.css
Created August 23, 2017 07:52 — forked from dylancwood/tree.css
CSS to create a simple tree structure with connecting lines. No images or JS required.
ul.tree, ul.tree ul {
list-style: none;
margin: 0;
padding: 0;
}
ul.tree ul {
margin-left: 10px;
}
ul.tree li {
margin: 0;