Skip to content

Instantly share code, notes, and snippets.

View masatomo's full-sized avatar

Masatomo Nakano masatomo

View GitHub Profile
diff --git a/spec/functional/embedded_document_spec.rb b/spec/functional/embedded_document_spec.rb
index 22112d5..166eefe 100644
--- a/spec/functional/embedded_document_spec.rb
+++ b/spec/functional/embedded_document_spec.rb
@@ -9,6 +9,7 @@ describe "EmbeddedDocument" do
@pet_klass = EDoc('Pet') do
key :name, String
+ key :flag, Boolean
end
Autodoc.configuration.template = <<-EOF
## <%= method %> <%= path %>
<%= description %>
<%= parameters_section %>
### request
```
<%= method %> <%= path %>
```
<%= request_body_section %>
### response
@masatomo
masatomo / gist:7942405
Last active December 31, 2015 05:39
a bookmarklet to open an issue based on the current issue.
javascript: (function() { var urls = window.location.href.split("/") ; open('https://github.com/' + urls[3] + '/' + urls[4] + '/issues/new?body=' + encodeURIComponent("See #" + urls.pop())) })();
@masatomo
masatomo / github-url.el
Last active December 31, 2015 09:58 — forked from dagezi/github-url.el
Create a url to github from your local code.
moved to https://github.com/quipper/github-url.el

duplicate issue

javascript: (function() { var urls = window.location.href.split("/") ; open('https://github.com/' + urls[3] + '/' + urls[4] + '/issues/new?body=' + encodeURIComponent("See " + window.location)) })();

hide comments (show only references)

javascript: $(".discussion-bubble").not(".discussion-reference").hide();
@masatomo
masatomo / quipper-cto-1.md
Last active March 5, 2016 12:59
CTOより 第1回 「Quipperの今」

これはなに

なんとなく始めてみた短期集中のQuipperのCTOブログ。リクルートグループに入り、ますます日本での活動が増えているQuipperなので、CTOとして、開発、プロダクト、サービス、チームに関わることを書いていこうと思っている。今回は、第1回ということで、Quipperの現状について書いてみようと思う。

最近のQuipper関連記事

まず、最近、世の中に出たQuipperについての記事を。

@masatomo
masatomo / quipper-cto-3.md
Last active February 13, 2018 10:45
CTOより 第3回 「Quipperの開発体制の今」

今回はQuipperの開発体制と進め方について書いてみようと思う。

開発チームの規模

第一回で紹介したように、Quipperは、ロンドン、東京、マニラ、ジャカルタ、メキシコシティにオフィスがあり、そのうちロンドン、東京、マニラが開発拠点になっている。

内訳としては、以下の様な状況だ。

Web iOS/Android Engineering Design Total
@masatomo
masatomo / gist:983a84bad9671dc29213
Last active February 28, 2018 08:49
How to use MongoDB 2.6.x on CircleCI (circle.yml)
dependencies:
cache_directories:
- mongodb-linux-x86_64-2.6.4
pre:
- if [[ ! -d mongodb-linux-x86_64-2.6.4 ]]; then wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-2.6.4.tgz && tar xvzf mongodb-linux-x86_64-2.6.4.tgz; fi
- sudo /etc/init.d/mongodb stop
- sudo cp mongodb-linux-x86_64-2.6.4/bin/* /usr/bin
- sudo /etc/init.d/mongodb start
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="en-note">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="div">
<p>
<xsl:apply-templates/>
</p>
@masatomo
masatomo / issue2markdown.rb
Created December 26, 2018 11:25
issue2markdown.rb
#!/usr/bin/env ruby
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem "octokit", "~> 4.0"
end
url = ARGV[0]