Skip to content

Instantly share code, notes, and snippets.

Fumiya Shibusawa FumiyaShibusawa

  • Tokyo
Block or report user

Report or block FumiyaShibusawa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:0b8466c2bb863f9b72d3ee32145e7c57
# スクリプト読み込み
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
another test case for https://github.com/rails/rails/issues/36199 in case of ActiveRecord::Type::Time, ActiveRecord::Type::Integer
View test_case_36199_int.rb
# 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 Nov 6, 2018
tweaking git config so `git fetch` would also get remote PRs
View git config
[remote "upstream"]
-url = git@github.com:organization/repository.git
-fetch = +refs/heads/*:refs/remotes/upstream/*
-fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*
You can’t perform that action at this time.