Skip to content

Instantly share code, notes, and snippets.

View yutkat's full-sized avatar
🤣
I'm looking for interesting things to do

Yuta Katayama yutkat

🤣
I'm looking for interesting things to do
View GitHub Profile
@yutkat
yutkat / index.haml
Created March 9, 2021 15:27
VoCSSels - Easily create 3D CSS & HTML Voxel Models
._audio
.l
.p3d{"@mousemove" => "colorPicker($event)"}
.p3d_colorPicker{"v-if" => "picker.active", ":style" => "`background: #${picker.color};left: ${picker.x}px; top: ${picker.y}px;`", "@click" => "picker.active = !picker.active, picker.color = '#25273E'"}
.p3d_loader
.p3d_loader__inner
%img{:src => 'https://assets.codepen.io/217233/p3d_logoLoading_2.svg'}
.b
.f
.p3d_main
@yutkat
yutkat / keybase.md
Last active February 23, 2021 05:07

Keybase proof

I hereby claim:

  • I am yutkat on github.
  • I am yutkat (https://keybase.io/yutkat) on keybase.
  • I have a public key ASCM0aPyRmC0c6tpv0zskvaht-tyKZvkn_csNEIuxIya4Qo

To claim this, I am signing this object:

@yutkat
yutkat / 71-trackpoint.hwdb
Created May 17, 2020 04:59
trackpoint speed setting by udev hwdb (but doesn't work)
# thinkpad trackpoint
evdev:name:TPPS/2 Elan TrackPoint:dmi:*
POINTINGSTICK_SENSITIVITY=250
POINTINGSTICK_CONST_ACCEL=25
@yutkat
yutkat / .vimrc.local
Last active May 28, 2020 11:08
Vim C++ local env
function! GetCurrentFunctionName() abort
if empty(get(g:vista, 'raw'))
throw 'Please execute `:Vista`'
endif
let sig = vista#util#BinarySearch(g:vista.raw, line('.'), 'line', 'signature')
let func_name = split(substitute(substitute(sig, '(', '', 'g'), ')', '', 'g'), ',')
return func_name[0] . "." . func_name[1]
endfunction
command! TestCurrent :execute 'AsyncRun ./bin/' . expand('%:p:h:t') . '.test --gtest_filter=' . GetCurrentFunctionName()

Keybase proof

I hereby claim:

  • I am yutakatay on github.
  • I am yutakatay (https://keybase.io/yutakatay) on keybase.
  • I have a public key ASByZcG8eKdrc8c2HgUuJCkBjpVwphcmxvFsPzgH03FFVgo

To claim this, I am signing this object:

@yutkat
yutkat / ascii_avatar_60.txt
Last active May 27, 2018 12:55
ascii avatar
#####
### ####
## ###
# ##
# # #
# # #
# # #
### #
## ## #