Skip to content

Instantly share code, notes, and snippets.

View 2357gi's full-sized avatar
進捗こそ神勅

2357gi 2357gi

進捗こそ神勅
View GitHub Profile
@nownabe
nownabe / .commit_template
Created July 5, 2016 06:54
Emojiで楽しく綺麗なコミットを手に入れる
# ==== Emojis ====
# 🐛 :bug: バグ修正
# 👍 :+1: 機能改善
# ✨ :sparkles: 部分的な機能追加
# 🎉 :tada: 盛大に祝うべき大きな機能追加
# ♻️ :recycle: リファクタリング
# 🚿 :shower: 不要な機能・使われなくなった機能の削除
# 💚 :green_heart: テストやCIの修正・改善
@joker1007
joker1007 / docker_build_cap.rb
Created May 11, 2016 10:16
capistranoでビルドサーバーにdocker buildを実行してもらう処理のサンプル
namespace :docker do
desc "build and push docker image on remote host"
task :build do
docker_registry_host = SSHKit::Host.new(fetch(:docker_registry_host))
docker_registry_host.ssh_options = {
user: "ec2-user",
keys: ENV['SSH_KEY'],
}
sha1 = `git rev-parse #{fetch(:branch)}`.chomp
@parmentf
parmentf / GitCommitEmoji.md
Last active July 23, 2024 11:27
Git Commit message Emoji
@Stanback
Stanback / nginx.conf
Last active July 24, 2024 18:44 — forked from michiel/cors-nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which
@joemaygist
joemaygist / applescript_spotify_next_track.applescript
Created April 29, 2013 15:18
AppleScript: Spotify Next track
tell application "Spotify"
next track
end tell