Skip to content

Instantly share code, notes, and snippets.


KITAGAWA Daisuke dogwood008

View GitHub Profile
View spam.txt
From: James Porter
My name is James from I am a specialist recruiter for software engineering. I speak Japanese and English and can write a little bit of code. Our goal is to tell you about the newest tech companies in Tokyo.
Global Fintech Company - Fastest Growing Engineering Team in Japan
Global team spread across North America and Asia
Office is located inside of a WeWork office
Very competitive salaries
Startup atmosphere
Modern tech stack
3panda /
Last active Apr 1, 2022
AWS SAM( Serverless Framework Model)の基本的な実装方法のメモ (随時更新)


AWS CLIのインストールなどはこちら



├── functions
│   └──
└── template.yaml
View gitでマージ済みの(リモート|ローカル)ブランチを全て削除.md


git branch -r --merged master | grep -v -e master -e develop | sed -e 's% *origin/%%' | xargs -I% git push --delete origin %
  1. remote の master に merge済み の branch をすべて表示して
  2. master と develop は消えてほしくないので除外して
  3. origin/ を削除して
  4. xargs (-I% % で ブランチ名を渡しつつ、全て削除する)
anon5r / iOS絵文字抽出用正規表現
Last active Oct 11, 2018
iOSで扱われるUnicode 6.0絵文字の判定をする正規表現
View iOS絵文字抽出用正規表現
# 実際の利用時には、途中の改行、および # で始まるコメント行は削除してね
# 合成文字系
# 数値
# 国旗
# 合成文字ここまで
# 以下単体文字(絵文字)
bsodmike / gist:1369419
Created Nov 16, 2011
Subdomain Routing with Rails 3.1
View gist:1369419

Implement Routing for Subdomains

Rails 3.0 introduced support for routing constrained by subdomains.

A subdomain can be specified explicitly, like this:

match '/' => 'home#index', :constraints => { :subdomain => 'www' }