Skip to content

Instantly share code, notes, and snippets.

writing code everyday

Junya Ogura juno

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 / 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
# ...
- 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 / keymap.diff
Last active Jan 11, 2019
qmk macro definition for refocusing to page from omnibar (Chrome):
View keymap.diff
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 {
juno /
Last active Oct 20, 2018
Setting up QMK firmware for Meishi keyboard.

Add remote repo:

~ ❯❯❯ cd ~/src/qmk_firmware
~/s/qmk_firmware ❯❯❯ git remote add biacco42

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

juno /
Created Jan 27, 2018
Prove for keybase.

Keybase proof

I hereby claim:

  • I am juno on github.
  • I am junya ( on keybase.
  • I have a public key ASC-2wMUGk2qMKvnr_uLT3N-Uo2lASFifGK9z0ZyAi9eQgo

To claim this, I am signing this object:

juno / test.rb
Last active Jan 4, 2018
Test case for "bad value for range" error in activerecord 5.2.0.beta2 with PostgreSQL RANGE type.
View test.rb
# frozen_string_literal: true
PG_DATABASE_NAME = "test_ar_range"
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
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
using: :chrome,
screen_size: [1400, 900],
options: {
desired_capabilities: {
chromeOptions: {
args: %w[headless disable-gpu],
prefs: {
'' => 'Accept-Language',
juno / qiita_slide_preview_scrollbar.css
Created Sep 13, 2017
Always show scrollbar in Qiita's slide preview area while using Chrome/Safari on Mac.
View qiita_slide_preview_scrollbar.css
.slide_preview::-webkit-scrollbar {
background: #eee;
width: 7px;
.slide_preview::-webkit-scrollbar-button {
background: #666;
height: 5px;
width: 5px;
.slide_preview::-webkit-scrollbar-piece {
juno /
Created Apr 21, 2017
Summary of Intercom's RICE: Simple prioritization for product managers (in Japanese).


RICE: Simple prioritization for product managers - Inside Intercom

  • Reach (指定期間内で何人が影響を受けるか)
    • その機能に触れる・利用するユーザー数
    • できるだけ現実的な数字をとる
  • Impact (一人ひとりにどれくらい影響を及ぼすか)
    • 3(とても高い)/2(高い)/1(普通)/0.5(低い)/0.25(最小)
You can’t perform that action at this time.