| 更新: | 2014-05-14 |
|---|---|
| バージョン: | 0.0.12 |
| 作者: | @voluntas |
| URL: | http://voluntas.github.io/ |
とても詳しいまとめがありますので、ますはそちらを見ることをオススメします。
| 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 |
| 更新: | 2014-05-14 |
|---|---|
| バージョン: | 0.0.12 |
| 作者: | @voluntas |
| URL: | http://voluntas.github.io/ |
とても詳しいまとめがありますので、ますはそちらを見ることをオススメします。
| 更新: | 2025-10-15 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2025.3 |
| URL: | https://voluntas.github.io/ |
typo などは https://x.com/voluntas までご連絡ください。
| 日時: | 2014-06-15 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 1.0.4 |
| url: | http://shiguredo.jp/ |
| 日時: | 2025-05-13 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.3 |
| URL: | https://shiguredo.jp/ |
言語
| # | |
| # 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; |
| # | |
| # 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 |
| # 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, |