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
@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>
@xyzdata
xyzdata / cookie-all-in-one.js
Last active March 20, 2018 08:45
cookies & cookie all in one & xgqfrms
@xyzdata
xyzdata / express static web server & Linux node.js.md
Created March 5, 2018 02:00
express static web server & Linux node.js

express static web server & Linux node.js

image

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

const express = require('express');
@xyzdata
xyzdata / emial-tel.md
Last active November 13, 2020 03:13
emial : auto template& tel

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 / 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"));
}
}
anonymous
anonymous / test.js
Created August 22, 2017 06:00
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 / xgqfrms react-e.preventDefault()-e.stopPropagation().md
Created August 2, 2017 08:01
xgqfrms , react & e.preventDefault(); & e.stopPropagation();

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

xgqfrms react

    


e.preventDefault();
e.stopPropagation();
@xgqfrms-GitHub
xgqfrms-GitHub / redux-simple-tutorial.md
Last active December 22, 2021 18:32
redux-simple-tutorial
@xgqfrms-GitHub
xgqfrms-GitHub / React-Templates.md
Last active September 20, 2017 06:26
React Templates