Skip to content

Instantly share code, notes, and snippets.

View fmy's full-sized avatar

Fumiya Karasawa fmy

  • MeetsMore Inc.
  • Tokyo, JAPAN
  • 01:59 (UTC +09:00)
View GitHub Profile
@fmy
fmy / webhook.md
Last active June 24, 2016 11:04
How to implement webhook support for concourse

How to implement webhook support for concourse

Concept

  • Concourse needs webhook support because ...
    • quick response
    • service provider firendly
  • Webhook needs authorization of request and each service providers have different authorization ways.
    • authorization should be implemented in resouce because atc should keep abstraction from resource.
  • so we need new execution in resoruce.
@fmy
fmy / markdown_extra_table.php
Created January 23, 2013 15:22
Markdown Extra の table 部分
function doTables($text) {
#
# Form HTML tables.
#
$less_than_tab = $this->tab_width - 1;
#
# Find tables with leading pipe.
#
# | Header 1 | Header 2
# | -------- | --------