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/awk -f | |
BEGIN { | |
FS = "\t" | |
print "\n" | |
} | |
$9 ~ /heroku\/router/ { | |
split($10, c, " ") | |
path = c[3] |
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
require 'childprocess' | |
if (!ENV['CI_ENV'] && ENV['CI_ENV'] != 'false') | |
namespace :test do | |
task :prepare do | |
puts 'foreman start -f Procfile.test' | |
Thread.new do | |
begin | |
ChildProcess.posix_spawn = true | |
puts "foreman starting ..." |
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
class ForceTimeout extends Error { | |
get name () { return 'ForceTimeout' } | |
} | |
async function forceTimeout (time, cb) { | |
const intervalId = setInterval(() => { | |
throw new ForceTimeout() | |
}, time) | |
try { |
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 | |
require 'json' | |
# | |
# [param] Proc filter | |
# | |
def main(&filter) | |
puts projects.select { |project| | |
functionEnabled?(services(project['projectId'])) |
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
<html> | |
<head> | |
<script crossorigin type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mobx/4.15.0/mobx.umd.min.js"></script> | |
<script crossorigin type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js"></script> | |
<script type="text/javascript"> | |
controller = { | |
$el: undefined, | |
init: function ($el) { | |
this.$el = $el | |
this.render() |
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
const assert = require('assert') | |
class Klass { | |
// correct | |
methodWithCall (val, cb) { | |
this.val = val | |
return cb.call(this, val) | |
} |
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
wtnabe : 写真の管理をGoogle Photos + Cloud Storageに移行した | |
wtnane : エディタでエディットしたい | |
shirokuro331: チームビルディングの話 | |
shiget84: 引き継ぎの話 | |
ryusei : ベトナムエンジニアと仲良く仕事をするには? | |
izawa: 2019買い物ベスト8 | |
shirokuro331: 非エンジニアがプロダクトマネージャーになって1年経ちました | |
t11a:俺とさいごのKanazawa.rb | |
shiget84: 最近読んだ本の話 | |
kentarom: Slackアプリ開発を通してTypeScriptの学習に挑戦してみた |
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
# -*- coding: utf-8 -*- | |
puts DATA.read.lines.map(&:chomp).select {|e| e.size > 0}.shuffle | |
__END__ | |
@wtnabe 2018年KPT | |
noboru_i 2018年買ったもの | |
noboru_i Charlesでスマホアプリデバッグ | |
shiget84 Ruby入門書を読んだ話 | |
shiget84 2018年買ったもの | |
takayukiatkwsk Bufferに投稿するCLIツールを作ってみた |
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
cotton Rainbow CSVの紹介 | |
tokkie 今年の振り返り | |
noboru_i Charlesでスマホアプリデバッグ | |
kiyohara Rails Fixtures と ActiveStorage と私 | |
minakawa 中間管理職が腐ったミカンだったら組織と現場は間違いなく腐るという話 | |
cotton スクレイピングは茨の道 | |
shiget84 Ruby入門書を読んだ話 | |
noboru_i 2018年買ったもの | |
takayukiatkwsk Bufferに投稿するCLIツールを作ってみた | |
shiget84 2018年買ったもの |
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
it { | |
post :path, params: <hash>, headers: {content_type: :json} | |
} | |
or | |
it { | |
post "#{path}.json", params: <hash> | |
} |