Skip to content

Instantly share code, notes, and snippets.

View jshearer's full-sized avatar

Joseph Shearer jshearer

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jshearer on github.
  • I am jshearer (https://keybase.io/jshearer) on keybase.
  • I have a public key ASDXK-7epbtYh_U_QD7bt40C-E4lMJHKO1cHBfliPLzyxAo

To claim this, I am signing this object:

@startuml
entity "GO Term" as Term {
+ locus_id (PK)
--
#parents
--
name string
}
@jshearer
jshearer / crackle_pop.py
Last active December 21, 2015 00:43
Recurse Center CracklePop submission.
def cracklePop(n=1):
"""
Write a program that prints out the numbers 1 to 100 (inclusive).
If the number is divisible by 3, print Crackle instead of the number.
If it's divisible by 5, print Pop.
If it's divisible by both 3 and 5, print CracklePop.
"""
print (("Crackle" if n%3==0 else "")+("Pop" if n%5==0 else "")) or str(n)
if n<100:
cracklePop(n+1)
@jshearer
jshearer / index.html
Last active August 29, 2015 14:20 — forked from d3noob/.block
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Collapsible Tree Example</title>
<style>
.node circle {
@jshearer
jshearer / designer.html
Created January 5, 2015 02:53
designer
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;