Skip to content

Instantly share code, notes, and snippets.

View kdaigle's full-sized avatar

Kyle Daigle kdaigle

View GitHub Profile
GitHub’s API is used by organizations around the world to integrate their tools and processes with GitHub. During this session, I’ll focus on how GitHub and other organizations use the GitHub's API and webhooks to enhance their existing workflows within GitHub and allow for some new ones too.
Examples of how GitHub uses our own platform that we’ll work through:
* How to get started with the GitHub API in your organization.
* Create tracking issues from Nagios alerts that include diagnostic information, and alert engineers with team mentions.
* Track test output, code coverage, and more with commit statuses.
* Automate repository setup with organization webhooks.
* Track deployments of pull requests across multiple environments and deployment schemes.
<test></test>
@kdaigle
kdaigle / keybase.md
Created September 25, 2014 02:41
keybase.md

Keybase proof

I hereby claim:

  • I am kdaigle on github.
  • I am kdaigle (https://keybase.io/kdaigle) on keybase.
  • I have a public key whose fingerprint is 1ED2 FE0B 6F6E 2407 12EA 99A4 584A 2D72 4444 D194

To claim this, I am signing this object:

Week Monday Tuesday Wednesday Thursday Friday Saturday Sunday
1 Rest/Walk 1 m Run Rest/Walk 1 m Run Rest 1 m Run 30 - 60 walk
2 Rest/Walk 1.25 m Run Rest/Walk 1.25 m Run Rest 1.25 m Run 30 - 60 walk
3 Rest/Walk 1.5 m Run Rest/Walk 1.5 m Run Rest 1.5 m Run 30 - 60 walk
4 Rest/Walk 1.75 m Run Rest/Walk 1.5 m Run Rest 1.75 m Run 35 - 60 walk
5 Rest/Walk 2 m Run Rest/Walk 1.5 m Run Rest 2 m Run 40 - 60 walk
6 Rest/Walk 2.25 m Run Rest/Walk 1.5 m Run Rest 2.25 m Run 45 - 60 walk
7 Rest/Walk 2.5 m Run Rest/Walk 2 m Run Rest 2.5 m Run 50 - 60 walk
8 Rest/Walk 2.75 m Run Rest/Walk 2 m Run Rest 2.75 m Run 55 - 60 walk
def bit
"%0160b" % to_i(16)
end
def distance(word1, word2)
word1, word2 = word1.bit, word2.bit
distance = 0
word1.chars.zip(word2.chars) do |char1, char2|
puts "#{char1} | #{char2}"
distance += 1 unless char1 == char2
/usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:92:in `execute_non_query': (mysql_errno=1064, sql_state=42000) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`id` serial PRIMARY KEY, `name` VARCHAR(50) NOT NULL, `permalink` VARCHAR(50), `' at line 1 (MysqlError)