Skip to content

Instantly share code, notes, and snippets.

View FumiyaShibusawa's full-sized avatar

Fumiya Shibusawa FumiyaShibusawa

  • Tokyo
View GitHub Profile
# スクリプト読み込み
source $HOME/.git-completion.bash
source $HOME/.git-prompt.sh
function dc() { docker-compose exec -e COLUMNS=$COLUMNS -e LINES=$LINES -e TERM=$TERM $@ bash; }
# プロンプトに各種情報を表示
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWUPSTREAM=1
GIT_PS1_SHOWUNTRACKEDFILES=
@FumiyaShibusawa
FumiyaShibusawa / test_case_36199_int.rb
Created May 9, 2019 16:45
another test case for https://github.com/rails/rails/issues/36199 in case of ActiveRecord::Type::Time, ActiveRecord::Type::Integer
# frozen_string_literal: true
require 'bundler/inline'
gemfile(true) do
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# Activate the gem you are reporting the issue against.
@FumiyaShibusawa
FumiyaShibusawa / git config
Last active November 6, 2018 07:20
tweaking git config so `git fetch` would also get remote PRs
[remote "upstream"]
-url = git@github.com:organization/repository.git
-fetch = +refs/heads/*:refs/remotes/upstream/*
-fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*