Skip to content

Instantly share code, notes, and snippets.

@brettcannon
brettcannon / keybase.md
Created October 24, 2014 21:16
keybase.md

Keybase proof

I hereby claim:

  • I am brettcannon on github.
  • I am brettcannon (https://keybase.io/brettcannon) on keybase.
  • I have a public key whose fingerprint is D78A 1843 8650 EA2D FE58 817F 9668 94F3 4B4E ABA8

To claim this, I am signing this object:

<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
@brettcannon
brettcannon / designer.html
Last active August 29, 2015 14:07
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
import io
import tokenize
from astroid import test_utils
from pylint import testutils
import py6_checker
class SixCheckerTest(testutils.CheckerTestCase):
@brettcannon
brettcannon / gist:40af38646cdc959dffbf
Created June 12, 2014 19:48
Python 2/3 syntax checker
from __future__ import print_function
import symbol
import token
import astroid
from pylint import checkers, interfaces
from pylint.checkers import utils
# http://python3porting.com/differences.html
66 total dependencies need to be ported to Python 3.
63 dependencies have no other dependencies blocking a port to Python 3:
boto
cmd2
pulp <- coinor.pulp
ddt
diskimage-builder
django-bootstrap-form
django-compressor
django-openstack-auth