Skip to content

Instantly share code, notes, and snippets.

:atom:
writing code everyday

Junya Ogura juno

:atom:
writing code everyday
Block or report user

Report or block juno

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
@juno
juno / 📊 Weekly development breakdown
Last active Feb 17, 2020
📊 Weekly development breakdown
View 📊 Weekly development breakdown
Ruby 3 hrs 41 mins ███████████▌░░░░░░░░░ 55.1%
Other 2 hrs 12 mins ██████▉░░░░░░░░░░░░░░ 33.1%
Git 29 mins █▌░░░░░░░░░░░░░░░░░░░ 7.4%
JSX 14 mins ▊░░░░░░░░░░░░░░░░░░░░ 3.7%
ERB 2 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.6%
@juno
juno / devdocs.json
Last active Feb 4, 2020
My exported preferences for DevDocs.
View devdocs.json
{
"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 / custom.json
Last active Jan 26, 2020
My ~/.config/karabiner/karabiner.json
View custom.json
{
"title": "My Customize for Dvorak",
"rules": [
{
"description": "Ctrl+i to Tab",
"manipulators": [
{
"description": "Dvorakでは物理キーgがiとなる",
"type": "basic",
"from": {
@juno
juno / homebrew-zsh-completions.md
Last active Dec 30, 2019
Homebrewでzsh-completionsを利用する手順。
View homebrew-zsh-completions.md

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

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

$ brew install zsh-completions

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

@juno
juno / circleci-config.yml
Created Sep 6, 2019
CircleCI config step to install bundler which compatible BUNDLED_WITH in Gemfile (workaround for bundler 2)
View circleci-config.yml
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 / github-flow.ja.md
Last active Jul 9, 2019
GitHub Flow (Japanese translation) Latest version is here: https://gist.github.com/Gab-km/3705015
View github-flow.ja.md

GitHub Flow

31 Aug 2011

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

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

@juno
juno / rails-api-links.md
Last active Jul 3, 2019
Resources for implementing REST API with Rails.
View rails-api-links.md
@juno
juno / system_test_driven_by_headless_chrome.rb
Created Nov 13, 2017
Rails 5.1 System Test driven by headless chrome.
View system_test_driven_by_headless_chrome.rb
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 / my-favorite-nice-small-companies.md
Last active Jan 23, 2019
My favorite ( small business | profitable | bootstrapped ) companies. 💕
View my-favorite-nice-small-companies.md
  • Basecamp
    • Founded: 1999
    • Location: Chicago and remote
    • Team: ~50
    • Customers: Over 100,000 companies
    • Wikipedia
  • Aetrion LLC.
    • Founded: 2010
    • Team: 12
    • Product: DNSimple
You can’t perform that action at this time.