Skip to content

Instantly share code, notes, and snippets.

View rikusen0335's full-sized avatar

Soshi Homma rikusen0335

View GitHub Profile
@ldez
ldez / gmail-github-filters.md
Last active April 16, 2025 20:12
Gmail and GitHub - Filters

Gmail and GitHub

How to filter emails from GitHub in Gmail and flag them with labels.

The labels in this document are just examples.

Pull Request

Filter Label
@umamichi
umamichi / Electron 入門.md
Last active October 13, 2023 17:22
Electron 入門
@weotch
weotch / vue-video.md
Created February 3, 2016 22:35
Notes on using <video> with Vue.js
  • When you are ready to play a video, insert the markup into the DOM with autoplay=auto preload on the tag. Don’t add the markup early and load() or play() it later. If you have the markup in there when the Vue component compiles, it will trigger multiple video loads
  • When listening when to show the video (like fade it in), listen for the timeupdate event, not canplaythrough. This ensures that the video will already be playing when you show it. In Safari, the canplaythrough plays too soon and will pause on the first frame for a bit (edited)
  • When you animate the video in, never have it display:none or in Safari it will pause on the first frame. Set the opacity to 0 and then fade it in when ready, for instance
  • Make sure webm is before mp4, it helps FF out a lot
@smison
smison / vagrant_up.bat
Last active August 9, 2019 03:21
ホストOS起動時に自動でvagrant upするbat
cd /d %~dp0
call vagrant up
REM 参考資料
REM http://qiita.com/goldbook@github/items/6445b4fa6bf5704a28bb
@jackielii
jackielii / OpenWithSublimeText3.bat
Last active March 18, 2025 17:22 — forked from mrchief/LICENSE.md
Add "Open with Sublime Text 3" to Windows Explorer Context Menu (including folders)
@echo off
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@mollifier
mollifier / zshrc_useful.sh
Last active November 24, 2024 10:20
少し凝った zshrc
# 少し凝った zshrc
# License : MIT
# http://mollifier.mit-license.org/
########################################
# 環境変数
export LANG=ja_JP.UTF-8
# 色を使用出来るようにする