Skip to content

Instantly share code, notes, and snippets.

View nathantsoi's full-sized avatar

Nathan nathantsoi

View GitHub Profile
#!/usr/bin/python
import sys
import os
import glob
import subprocess
import getopt
def parse_project_option(keys, value, target):
key = keys.pop(0)
@ebidel
ebidel / app.html
Last active May 1, 2021 15:42
Fast Polymer app loading - optimized for first render, progressively enhanced lazy loading
<!DOCTYPE html>
<html>
<head>
<style>
body.loading #splash {
opacity: 1;
}
#splash {
position: absolute;
top: 0;