Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am johnpryan on github.
  • I am jpryan (https://keybase.io/jpryan) on keybase.
  • I have a public key ASDOX-dRfNjzQZqfSZVTEaqkyxs9jtNtuca8WLsL-oKmVgo

To claim this, I am signing this object:

@johnpryan
johnpryan / .sh
Created December 7, 2016 21:38
Install an old version of a Homebrew Cask
cd /usr/local/Homebrew/Library/Taps/dart-lang/homebrew-dart
git remote rm origin
git checkout -B master OLD_COMMIT_HASH
brew unlink dart
brew install dart --with-dartium --with-content-shell
@johnpryan
johnpryan / designer.html
Created August 30, 2016 22:03
designer
<link rel="import" href="../ace-element/ace-element.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@johnpryan
johnpryan / index.html
Last active August 9, 2016 21:13
js interop enumerable properties
<!DOCTYPE html>
<html>
<head>
<title>js_interop_bug</title>
<link rel="stylesheet" href="styles.css">
<script src="index.js" type="text/javascript"></script>
<script defer src="main.dart" type="application/dart"></script>
<script defer src="packages/browser/dart.js"></script>
</head>
<body>