Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<title>Query Chat</title>
<script src="https://cdn.goinstant.net/v1/platform.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<div>
<h2>Chat Messages</h2>
<html>
<head>
<title>Query Chat</title>
<script src="https://cdn.goinstant.net/v1/platform.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<!-- This application really needs to look a little better -->
<style type="text/css">
body {
margin: 0;
<html>
<head>
<title>Monad Example</title>
<script src="https://cdn.goinstant.net/v1/platform.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<script>
function dumpTheMessages(messages) {
for (messageId in messages) {
<html>
<head>
<title>Monad Promises</title>
<script src="https://cdn.goinstant.net/v1/platform.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<script>
function dumpTheMessages(messages) {
for (messageId in messages) {

Keybase proof

I hereby claim:

  • I am gordienoye on github.
  • I am gordienoye (https://keybase.io/gordienoye) on keybase.
  • I have a public key whose fingerprint is 8688 7DF2 DCF9 60E3 5E2D BA8F 184E E43B 1EA8 4096

To claim this, I am signing this object:

@gordienoye
gordienoye / destructuring.js
Created March 22, 2019 12:56 — forked from mikaelbr/destructuring.js
Several demos and usages for ES6 destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];