Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

xyzdata xyzdata

🏠
Working from home
View GitHub Profile
@xgqfrms
xgqfrms / index.html
Last active Jul 8, 2020
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');
@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 / 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"));
}
}
anonymous
anonymous / test.js
Created Aug 22, 2017
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 / 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();
View React-Templates.md