Skip to content

Instantly share code, notes, and snippets.

View seanedwards's full-sized avatar
🙃
Measure twice, cut once.

Sean Edwards seanedwards

🙃
Measure twice, cut once.
View GitHub Profile
1) I assign an issue to myself.
2) I make changes, commit to the "staging" branch, and push as many times as I want. Each commit must have an issue tagged. Note: CI should pull, build and test every time any code is pushed.
3) The issue is marked reviewable, which causes the full issue diff (all commits tagged with that issue) to be posted to review board.
4) Someone else assigns the reviewable ticket to themselves, logs into reviewboard, and makes comments.
5) If the code fails review, the ticket is marked open again. Go to step 1.
@seanedwards
seanedwards / gist:4361216
Created December 22, 2012 21:17
A somewhat contrived Ides program demonstrating functions as first-class variables.
def main(val argc: int32, val argv: int8**) : int32 {
return call(getsum, 5, 10);
}
def getsum() : (function(int32, int32):int32) {
return sum;
}
def call(val func : function() : function(int32, int32) : int32, val x: int32, val y: int32) : int32 {
return func()(x, y);
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
* by the Xiph.Org Foundation http://www.xiph.org/ *
* *
#!/usr/bin/env scala
import scala.xml._
val pattern = args(0);
val data =
if (args.size == 2)
XML.load(args(1));
else
XML.load(System.in);
#!/usr/bin/env ruby
require 'trello'
require 'date'
Trello.configure do |config|
config.developer_public_key = "*****"
config.member_token = "*****"
end
package com.ides_lang.test.syntax
import com.ides_lang.syntax._
import com.ides_lang.test.IdesSpec
import org.scalatest._
/**
* Created by sedwards on 8/31/14.
*/
class SyntaxSpec extends IdesSpec {
require 'sinatra'
require 'slackbotsy'
set :bind, '0.0.0.0'
config = {
'channel' => '#default',
'name' => 'botsy',
'incoming_webhook' => 'https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX',
'outgoing_token' => 'XXXXXXXXXXXXXXXXXXXXXXXX'
.HeartAnimation {
display: none;
}
.HeartAnimationContainer {
background: url('//ton.twitter.com/i/ton/data/dm/714844886189649923/714844886210576384/XxVE7tuL.png') no-repeat;
background-size: contain;
}
@seanedwards
seanedwards / help.md
Last active May 26, 2016 17:42
Asking for help in a helpful way.

IRC and Slack channels can be a great resource for debugging confusing problems, and people are often very willing to jump in and work through it with you, however there are some things you should provide upfront when asking a question. Filling out this template will help you get an answer faster, and will make it easier for someone to jump in and help.

Goal

Describe what you expect to happen when the problem is solved.

Problem

Describe the specific problem you're seeing. Start with the thing that made you notice there was a problem and follow your investigation forward from there.

### Keybase proof
I hereby claim:
* I am seanedwards on github.
* I am tilmonedwards (https://keybase.io/tilmonedwards) on keybase.
* I have a public key whose fingerprint is 35BF A615 12A0 00E9 CE87 2502 B693 6F39 572C FA6B
To claim this, I am signing this object: