Skip to content

Instantly share code, notes, and snippets.

View probablycorey's full-sized avatar
👯‍♂️
Dancing with my twin

Corey Johnson probablycorey

👯‍♂️
Dancing with my twin
View GitHub Profile
  • Notifications

    • They don't have enough context (is it closed, what are the labels, has someone else handled this issue)
    • If you click on the notification and then press back it disappears FOREVER.
  • Issues on repo page

    • It has an unread state which is nice
    • I don't know if someone else is handling this issue
    • Labels are the only way to prioritize the issues (milestones work for a single repo but we are dealing with 140+ repos)
<div class="i-am-error container">
<h1>Whoops.</h1>
<p>We seem to have missed the <em>gist</em> of that <em>gist</em> you were looking for.</p>
</div>
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: red;
}
</style>
</head>
<body>
func main() {
flag.Parse()
for _, filename := range flag.Args() {
if isDir(filename) {
lintDir(filename)
} else {
lintFile(filename)
}
}
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<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-menu/core-submenu.html">
<polymer-element name="my-element">
@probablycorey
probablycorey / to-promise.coffee
Created September 16, 2014 22:04
Convert Stream to a ES6 Promise
stream = require 'stream'
class ToPromise extends stream.Writable
constructor: ->
@promise = new Promise (resolve, reject) =>
@on 'finish', resolve
@on 'error', reject
super(objectMode: true)
@probablycorey
probablycorey / designer.html
Created September 26, 2014 03:41
designer
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@probablycorey
probablycorey / designer.html
Last active August 29, 2015 14:06
designer
<link rel="import" href="../paper-slider/paper-slider.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@probablycorey
probablycorey / nodegit-bug.js
Created October 13, 2014 21:38
Nodegit bug
var git = require('nodegit');
var repo = null;
var repoPath = process.argv[2]
if(!repoPath) {
console.log("Usage: node nodegit-bug.js PATH_GIT_REPO")
process.exit(1)
}
git.Repository.open(repoPath)