Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am jworley on github.
  • I am jworley (https://keybase.io/jworley) on keybase.
  • I have a public key whose fingerprint is 131C 2EA2 766E E026 243F 5097 36E2 4CB4 6BB8 C647

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am jworley on github.
  • I am jworley (https://keybase.io/jworley) on keybase.
  • I have a public key whose fingerprint is E1A5 7BCF 7278 8CB2 6FFA 6F99 B357 578F EF6A 4D8C

To claim this, I am signing this object:

View designer.html
<link rel="import" href="../notification-elements/notification-alert.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@jworley
jworley / puts_check.rb
Last active Dec 15, 2015
Example custom metric for Square's Cane gem. Checks source code for `puts` and `print` left behind by developers.
View puts_check.rb
require 'cane/file'
require 'cane/task_runner'
class PutsCheck < Struct.new(:opts)
DESCRIPTION =
"Lines output to console using `puts` or `print`"
PUTS_REGEX = /^\s*p(uts|rint)?[\s\(]+(.+?)\s*[\)\s]*$/
PUTS_GLOB = '{app,lib}/**/*.rb'
def self.key; :puts; end
You can’t perform that action at this time.