- download the
git-clean_branch
and place it in a directory included in your PATH - (optional) set your default branch name to environment variable
GIT_DEFAULT_BRANCH
- when each repository has a different default branch, it might be convenient to use direnv
- (optional) set alias ex.
git config alias.cb "clean_branch"
- use
git clean_branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# how to use | |
# 1. download this file (e.g. ~/.git_alias) | |
# 2. include this file from .gitconfig | |
# [include] | |
# path = ~/.git_alias | |
[alias] | |
# Delete all merged local branch | |
cleanbranch = !"git switch develop && git pull --prune && git branch --merged | egrep -v '(accept|develop|production|master|main)' | xargs -n1 git branch -d" | |
cb = cleanbranch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
[int]$ExitCode = 0, | |
[int]$WaitSeconds = 60 | |
) | |
Write-Output("Start awesome-batch (WaitSeconds: {0})" -f $WaitSeconds) | |
# wait 1 minute | |
Start-Sleep -Seconds $WaitSeconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pixela2img import Pixela2Img | |
from PIL import Image | |
converter = Pixela2Img() | |
congratul = converter.convert('ryosms', 'congratulations', date='20180210') | |
ations = converter.convert('ryosms', 'congratulations', date='20190216') | |
width = congratul.width + ations.width + 1 | |
height = congratul.height |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[normal] | |
vagrant ansible_ssh_host=192.168.33.10 ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key | |
[loopback] | |
vagrant ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key | |
[ip_address] | |
192.168.33.10 ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key | |
[loopback_ip] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jp.sumasu.rakutenapi; | |
import org.springframework.http.MediaType; | |
import org.springframework.http.converter.json.GsonHttpMessageConverter; | |
/** | |
* @author ryosms - ryo.sms at gmail.com | |
*/ | |
public class RakutenGsonConverter extends GsonHttpMessageConverter { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# .gitignore template for Android development | |
# | |
# This template is combined the following files in github/gitignore | |
# https://github.com/github/gitignore | |
# | |
# 1. Android.gitignore | |
# 2. Global/Eclipse.gitignore | |
# 3. Global/OSX.gitignore | |
# 4. Global/Windows.gitignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
・好きな言語は? | |
・好きなメソッドは? | |
・好きなアニメは? | |
・好きなガンダムシリーズは? | |
・githubアカウントは? | |
・英語しゃべれる? | |
・最近気になるテクノロジーは? | |
・最近行った勉強会は? | |
・最近登壇した勉強会は? | |
・iPhone落とした事ある? |
- サーバー:Ubunt 12.04(on さくらのVPS)
- GitLab 4.1インストール済み
- Ruby、mySQL、Nginxはインストール済み
- 詳しくは GitLab4.1のインストール手順 見れ
-
さくらの [VPSコントロールパネル][vps_home] から
OS再インストール
→カスタムOSインストールへ
-
カスタムOSインストール の
OS選択
でUbuntu 12.04 amd64
を選択 -
注意事項を読んで
確認
ボタン →実行
ボタン -
VNCコンソールでインストーラーが起動するので [インストールガイド][install_guid] を参考にインストールを進める
NewerOlder