- What we're building
- Where remote-ui comes in
- Our proposed architecture
- Open questions
Create new filters and create new labels.
from:([email protected]) AND {"Patch Links" "approved this pull request." "requested changes on this pull request." "commented on this pull request." "pushed 1 commit." "pushed 2 commits." "pushed 3 commits."}
label: gh-pull-request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
repository(owner: "banderson", name: "life") { | |
projects(first: 30) { | |
totalCount | |
edges { | |
node { | |
name | |
number | |
url | |
columns(first: 30) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html format=implicit> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> | |
<link rel="stylesheet" type="text/css" href="https://static.ctctcdn.com/galileo/images/templates/Galileo-Template-Images/GalileoExternalCSS.css"> | |
<style> | |
table { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var memoize = function memoize(fn) { | |
var self = this; | |
return function newFn() { | |
newFn.__memo || (newFn.__memo = {}); | |
var args = Array.prototype.slice.call(arguments), | |
hash = JSON.stringify(args); | |
return (hash in newFn.__memo) | |
? newFn.__memo[hash] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (rows) -> | |
result = [] | |
for n in [0..rows] | |
if n is 0 | |
result[n] = [1] | |
else | |
previous = new Array().concat 0, result[n-1], 0 | |
current = [] | |
for val, idx in previous | |
sum = val + previous[idx+1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/usr/bin/env ruby | |
# encoding: UTF-8 | |
# adapted from http://www.leancrew.com/all-this/2009/05/im-feelin-upside-down/ | |
class Flipper | |
CHARS = " abcdefghijklmnopqrstuvwxyz,.?!'()[]{}".split('') | |
FLIPPED_CHARS = " ɐqɔpǝɟƃɥıɾʞlɯuodbɹsʇnʌʍxʎz'˙¿¡,)(][}{".split('') | |
DICTIONARY = Hash[CHARS.zip FLIPPED_CHARS] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MathHelper { | |
// Find the Greatest Common Divisor using Euclid's Algorithm | |
// Adapted from: http://en.wikipedia.org/wiki/Greatest_common_divisor#Using_Euclid.27s_algorithm | |
public static int GreatestCommonDivisor(int a, int b) { | |
// base case: when b is zero, we've found the GCD | |
if (b == 0) { | |
return a; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1: how could you rewrite the following to make it shorter? | |
if (foo) { | |
bar.doSomething(el); | |
} else { | |
bar.doSomethingElse(el); | |
} | |
// answer | |
(foo) | |
? bar.doSomething(el) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* inline-block */ | |
#selector { | |
display: inline-block; | |
zoom: 1; | |
*display: inline; | |
} | |
/* min-width */ | |
#selector { | |
min-width: 80px; |
NewerOlder