Skip to content

Instantly share code, notes, and snippets.

View georgio's full-sized avatar
🦀
Declaring Lifetimes

Georgio Nicolas georgio

🦀
Declaring Lifetimes
View GitHub Profile
@georgio
georgio / server.js
Last active November 1, 2018 02:02
Recurse Application
const http = require('http');
const url = require('url');
//Database
let database = [];
http.createServer((req, res) => {
//Parsing query from URL
let data = url.parse(req.url);
//set method; takes 2 parameters key and value; response includes web page to confirm transaction;
@georgio
georgio / omnitik.js
Last active August 28, 2018 04:52
Generate Omnitik config files
let saveData = (function(){
let a = document.createElement("a");
document.body.appendChild(a);
a.style = "display: none";
return function (data, fileName){
let blob = new Blob([data], {type: "octet/stream"}),
url = window.URL.createObjectURL(blob);
a.href = url;
a.download = fileName;
a.click();

Keybase proof

I hereby claim:

  • I am georgio on github.
  • I am georgio (https://keybase.io/georgio) on keybase.
  • I have a public key ASDoCwSdyexwrgfO76mD04aEOpdntwI9Ufcu98mThPuaOAo

To claim this, I am signing this object: