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>
View React-Templates.md
@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`;