Skip to content

Instantly share code, notes, and snippets.

View qrg's full-sized avatar
🏠
Working from home

Qurage qrg

🏠
Working from home
View GitHub Profile
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i');
::selection {
background-color: #d0dee4;
}
:root {
--fg: #11264d;
--fg-muted: #6e7b84;
--bg: #f3f4f7;
@qrg
qrg / devdocio.png
Last active December 11, 2018 01:54
devdocs.io custom style
devdocio.png
@qrg
qrg / _preview.png
Last active December 11, 2018 21:15
Custom style typescriptlang.org
_preview.png

2018-10-04 creating-gif-animation

Windows 10

  1. 録画
    • OBS
  2. クロッピング
    • Avidemux
      • 30 fps で書き出す
  3. 画像作成
@qrg
qrg / copy-shared-google-photo-image-url.js
Last active July 31, 2019 08:24
A bookmarklet to copy shared image's source url on Google Photo.
javascript: (function() {
const isSharedPage = url => url.startsWith("https://photos.google.com/share/");
if (!isSharedPage(location.href)) {
alert(
"Cannot run this script.\nTry opening a shared Google Photo page that has following URL.\n\n* https://photos.google.com/share/...\n"
);
return;
}

Keybase proof

I hereby claim:

  • I am qrg on github.
  • I am qurage (https://keybase.io/qurage) on keybase.
  • I have a public key ASDCatDJQ8N2siCV85GREHFyksQFy4lzb0LztVVh1eQw8wo

To claim this, I am signing this object:

// https://github.com/zeit/next.js/blob/42cff0a09c4ae42016500b1797ae4f0bd8438e88/packages/next-bundle-analyzer/index.js
module.exports = ({ enabled = true } = {}) => (nextConfig = {}) => {
return Object.assign({}, nextConfig, {
webpack (config, options) {
if (enabled) {
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer')
config.plugins.push(
new BundleAnalyzerPlugin({
analyzerMode: 'static',
reportFilename: options.isServer ? '../analyze/server.html' : './analyze/client.html'
@qrg
qrg / keyboard-numa.md
Created June 7, 2020 07:31
2018年頃にキーボード沼をみにいったときのメモです

ちょっとキーボード沼見てくる

キーボード自作の流れが楽しそうだなーと思いながら眺めているだけだったけど、そろそろちょっとずつ調べていきたいなと思った。

よくみかける

おおまかに次のような小さいはやりの流れがあるのを見た

(話題になってるのを自分がみかけた順であって、リリース順とかではない)

karabiner-elements

Install

ln -Fisv ~/webstorage/Dropbox/preferences/karabiner ~/.config/karabiner

Key names

#!/usr/bin/env fish
echo \nfisher
fisher
echo \nz --clean
z --clean