Skip to content

Instantly share code, notes, and snippets.

View sankitch's full-sized avatar
🏠

Kiyoshi Sakata sankitch

🏠
  • Tokyo, Japan
  • 18:39 (UTC +09:00)
  • X @sankitch
View GitHub Profile
@rummelonp
rummelonp / Capfile
Created January 22, 2015 11:22
capistrano 3 でサブディレクトリをデプロイするやつ
require 'capistrano/git'
class Capistrano::Git
module SubDirectoryStrategy
include DefaultStrategy
def release
git :archive, fetch(:branch), fetch(:project_root), '| tar -x -C', release_path, "--strip=#{fetch(:project_root).count('/')+1}"
end
end
@voluntas
voluntas / mqtt.rst
Last active February 16, 2018 00:03
MQTT コトハジメ

MQTT コトハジメ

更新:2014-05-14
バージョン:0.0.12
作者:@voluntas
URL:http://voluntas.github.io/

とても詳しいまとめがありますので、ますはそちらを見ることをオススメします。

@voluntas
voluntas / shiguredo.rst
Last active August 29, 2024 11:42
時雨堂コトハジメ
@sigmavirus24
sigmavirus24 / madison.geojson
Last active December 26, 2015 13:49
Madison test
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@voluntas
voluntas / shiguredojo.rst
Last active February 22, 2020 09:33
時雨道場
@voluntas
voluntas / shiguredo_tech.rst
Last active November 10, 2024 05:11
時雨堂を支える技術

時雨堂を支える技術

日時:2024-11-10
作:時雨堂
バージョン:2024.5
URL:https://shiguredo.jp/

時雨堂クラウドサービスを支える技術

@mochiz
mochiz / gist:4736183
Last active April 16, 2023 03:56
rbenvとruby-buildでRuby環境を最新に保つ

rbenvとruby-buildでRuby環境を最新に保つ

更新日:2014/11/19

rbenv, ruby-buildを更新

$ cd ~/.rbenv
$ git pull origin master
$ cd ~/.rbenv/plugins/ruby-build
$ git pull origin master
@nateware
nateware / nginx.conf
Last active November 23, 2021 10:54
Nginx sample config for EC2
#
# Sample nginx.conf optimized for EC2 c1.medium to xlarge instances.
# Also look at the haproxy.conf file for how the backend is balanced.
#
user "nginx" "nginx";
worker_processes 10;
error_log /var/log/nginx_error.log info;
@yuuan
yuuan / git-rprompt.zsh
Last active February 24, 2016 14:59 — forked from uasi/gist:214109
Non zsh/pcre version.
#
# Show branch name in Zsh's right prompt
#
autoload -Uz VCS_INFO_get_data_git; VCS_INFO_get_data_git 2> /dev/null
setopt prompt_subst
function rprompt-git-current-branch {
local name st color gitdir action
@suer
suer / init.rb
Created May 11, 2012 05:14
Redmine Plugin: add link to overall activities page
# Redmine Plugin: Add Link To Overall Activities.
#
# License:
# The MIT License (MIT) Copyright (c) 2012 suer
#
# Permission is hereby granted, free of charge, to
# any person obtaining a copy of this software and
# associated documentation files (the "Software"),
# to deal in the Software without restricti on,
# including without limitation the rights to use,