Skip to content

Instantly share code, notes, and snippets.

View juno's full-sized avatar
💰
writing code (almost) every weekday

Junya Ogura juno

💰
writing code (almost) every weekday
View GitHub Profile
@juno
juno / github-flow.ja.md
Last active April 9, 2021 02:20
GitHub Flow (Japanese translation) Latest version is here: https://gist.github.com/Gab-km/3705015

GitHub Flow

31 Aug 2011

git-flowの問題点 (Issues with git-flow)

私は人々にGitを教えるためにあちこちを飛び回っているが、最近のほぼすべてのクラスやワークショップでgit-flowについてどう思うかを尋ねられた。私はいつも、git-flowは素晴らしいと思うと答えている。何百万ものワークフローを持ったシステム(Git)を提供し、ドキュメントもあるし、よくテストされている。フレキシブルなワークフローは、実に容易なやり方で多くの開発者の役に立つ。標準的なものになりつつあり、開発者はプロジェクトや企業の間を移動しつつこの標準的なワークフローに馴染むことができる。

@juno
juno / design-documents.md
Created July 5, 2020 11:15
Awesome design documents on internet.
@juno
juno / devdocs.json
Last active February 4, 2020 06:09
My exported preferences for DevDocs.
{
"analyticsConsentAsked": "1",
"hideIntro": "1",
"docs": "crystal~0.31/css/dom/dom_events/eslint/html/immutable/javascript/jest/jquery/pony/react/redis/ruby~2.6/rails~6.0/rails~5.2/rust/sass",
"hideDisabled": "1",
"tips": "KeyNav",
"analyticsConsent": "1",
"layout": "_max-width",
"theme": "auto"
}
@juno
juno / homebrew-zsh-completions.md
Last active December 30, 2019 09:04
Homebrewでzsh-completionsを利用する手順。

Homebrewでzsh-completionsを利用する手順

Homebrewでzsh-completionsによる補完を使うには、zsh-completionsパッケージをインストールします。

$ brew install zsh-completions

.zshrcに、インストール時に表示された以下のような記述を追加する。既に記述済みの設定がある場合は適宜調整する。

@juno
juno / circleci-config.yml
Created September 6, 2019 01:53
CircleCI config step to install bundler which compatible BUNDLED_WITH in Gemfile (workaround for bundler 2)
steps:
# ...
- run:
name: "Configure Bundler"
command: |
echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
source $BASH_ENV
gem install bundler
@juno
juno / rails-api-links.md
Last active July 3, 2019 19:19
Resources for implementing REST API with Rails.
@juno
juno / system_test_driven_by_headless_chrome.rb
Created November 13, 2017 12:39
Rails 5.1 System Test driven by headless chrome.
driven_by(
:selenium,
using: :chrome,
screen_size: [1400, 900],
options: {
desired_capabilities: {
chromeOptions: {
args: %w[headless disable-gpu],
prefs: {
'modifyheaders.headers.name' => 'Accept-Language',
@juno
juno / keymap.diff
Last active January 11, 2019 03:58
qmk macro definition for refocusing to page from omnibar (Chrome): https://docs.qmk.fm/#/feature_macros
diff --git a/keyboards/crkbd/keymaps/juno/keymap.c b/keyboards/crkbd/keymaps/juno/keymap.c
index 487850951..4893837e9 100644
--- a/keyboards/crkbd/keymaps/juno/keymap.c
+++ b/keyboards/crkbd/keymaps/juno/keymap.c
@@ -32,7 +32,8 @@ enum custom_keycodes {
RAISE,
ADJUST,
BACKLIT,
- RGBRST
+ RGBRST,
@juno
juno / build.md
Last active October 20, 2018 14:08
Setting up QMK firmware for Meishi keyboard.

Add remote repo:

~ ❯❯❯ cd ~/src/qmk_firmware
~/s/qmk_firmware ❯❯❯ git remote add biacco42 https://github.com/Biacco42/qmk_firmware.git

Fetch feature/meishi branch from remote then checking-out it: