Skip to content

Instantly share code, notes, and snippets.

View iSkore's full-sized avatar
Vue + Vuetify + AWS Amplify = Power Overwhelming

Nick Soggin iSkore

Vue + Vuetify + AWS Amplify = Power Overwhelming
View GitHub Profile
@iSkore
iSkore / 0Option2ConstructorSummary.md
Created November 10, 2017 12:17 — forked from allenwb/0Option2ConstructorSummary.md
New ES6 constructor features and semantics: Alternative 2 manual super in derived classes

New ES6 Constructor Semantics and Usage Examples

Manual super: Alternative Design where subclass constructors do not automatically call superclass constructors

This Gist presents a new design of class-based object construction in ES6 that does not require use of the two-phase @@create protocol.

One of the characteristics of this proposal is that subclass constructors must explicitly super invoke their superclass's constructor if they wish to use the base class' object allocation and initialization logic.

An alternative version of this design automatically invokes the base constructor in most situations.

@iSkore
iSkore / index.html
Created October 15, 2016 15:28 — forked from stesie/index.html
AWS IoT-based serverless JS-Webapp Pub/Sub demo
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>AWS IoT Pub/Sub Demo</title>
</head>
<body>
<h1>AWS IoT Pub/Sub Demo</h1>
<form>
<button type="button" id="connect">connect!</button>
@iSkore
iSkore / recursiveRemoveFiles.js
Last active May 5, 2016 15:27 — forked from liangzan/recursiveRemoveFiles.js
A Node.js script to remove all files in a directory recursively
const fs = require( 'fs' )
, path = require( 'path' )
, _ = require( 'lodash' );
let rootPath = "/path/to/remove";
rmRF(rootPath);
function rmRF( dirPath ) {
fs.readdir( dirPath, ( err, files ) => {
if ( err ) console.log( JSON.stringify( err ) );