Skip to content

Instantly share code, notes, and snippets.

View kimihito's full-sized avatar
🏠
Working from home

kimihito kimihito

🏠
Working from home
View GitHub Profile
@kimihito
kimihito / pomodoro.rb
Created October 10, 2012 17:45 — forked from hanachin/pomodoro.rb
ボク用ポモドーロbot
#!/usr/bin/env ruby
#-*- coding: utf-8 -*-
require 'twitter'
require 'user_stream'
require 'active_support'
require 'active_support/core_ext'
require 'enumerable/lazy'
UserStream.configure do |config|
config.consumer_key = 'YOUR COMSUMER KEY'
<!DOCTYPE html>
<html lang='ja'>
<head>
<meta charset='UTF-8'>
<title>カレーのレシピ</title>
</head>
<body>
<header>
<h1>カレーのレシピ</h1>
<p>誰でもできる、美味しいカレーの作り方です。旦那も息子もこのカレーが大好物。</p>
@kimihito
kimihito / circleci-coverage-slack.sh
Last active July 8, 2017 07:52 — forked from seriwb/circleci-coverage-slack.sh
カバレッジをSlack通知するスクリプト
###
# Post coverage rate to Slack
#
# Usage: bash circleci-coverage-slack.sh [simplecov|cobertura|jacoco]
#
# Required environment variables:
#
# - CIRCLE_TOKEN: project-specific readonly API token (need to access build artifacts for others)
# - SLACK_ENDPOINT: Slack endpoint url
# - COVERAGE_FILE: coverage filename (default: .last_run.json)