Skip to content

Instantly share code, notes, and snippets.

Avatar

Zach Lym indolering

View GitHub Profile
View error-illustration.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Error Illustration</title>
<script defer>
'use strict';
if(window && !window.ACMESessionID){
View error-illustration.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Error Illustration</title>
<script defer>
'use strict';
const env = { //Some global values usually found in window or global...
@indolering
indolering / error-illustration.html
Created Sep 19, 2017
Illustration of error handling in ES6
View error-illustration.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Error Illustration</title>
<script defer>
'use strict';
class CustomError extends Error {}
@indolering
indolering / hello.js
Created Nov 19, 2016
Basic hello world.
View hello.js
console.log("Hello world!")
View Exams.js
var exams = [];
var exam = doc["Exm0"];
while(exam){
exams.push(exam);
exam = doc["Exm" + exam.length];
}
if(exams.length){
View blinker.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View hello.js
if(document){
try {
var h1 = document.createElement("h1");
var text = document.createTextNode("Hello World!");
h1.appendChild(text);
document.body.appendChild(h1);
document.title = "Hello World!";
} catch (error) {}
}
console.log("Hello World!");
View hello.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>loading</title>
</head>
<body style="width: 100%; height: 100%">
<script>
let h1 = document.createElement("h1");
let text = document.createTextNode("Hello World!");
@indolering
indolering / https-setup.md
Last active Jan 17, 2017
Shell script to generate TLS certificates for local development (.test, .example, etc)
View https-setup.md
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

You can’t perform that action at this time.