I hereby claim:
- I am yowcow on github.
 - I am yowcow (https://keybase.io/yowcow) on keybase.
 - I have a public key whose fingerprint is 4E54 4FA3 A411 C0E2 FA93 346A 1C52 C77C 6A2B 498F
 
To claim this, I am signing this object:
| # sudo required | |
| # stop indexing | |
| mdutil -a -i off | |
| # start indexing | |
| mdutil -a -i on | 
| const url = require('url') | |
| const qs = require('querystring') | |
| const givenURL = 'http://hogefuga.com/?foo=bar&hoge=fuga' | |
| qs.parse(url.parse(givneURL).query) | 
I hereby claim:
To claim this, I am signing this object:
| docker run --rm --name test-mysql -e MYSQL_ROOT_PASSWORD=hogehoge -p 3336:3306 -d mysql:5.7 | 
| VERSION ?= 8.0.0705 | |
| ARCHIVE = v$(VERSION).tar.gz | |
| UNARCHIVED = vim-$(VERSION) | |
| PREFIX = /usr/local/$(UNARCHIVED) | |
| .PHONY: all install current | |
| all: $(UNARCHIVED) | |
| cd $< && \ | |
| ./configure \ | 
| var createVideoElement = function (w, h) { | |
| var videoEl = document.createElement('video'); | |
| videoEl.setAttribute('width', w); | |
| videoEl.setAttribute('height', h); | |
| videoEl.setAttribute('muted', true); | |
| videoEl.style.cssText = 'cursor: pointer; background-color: #000;'; | |
| return videoEl; | |
| }; | |
| var createSourceElement = function (src, type) { | 
| # Local Forwarding | |
| # For instance, connect to target mysql from localhost via proxying remote host: | |
| # ssh -L <Local Port>:<Tartet Host>:<Target Host Port> Proxying Remote Host | |
| ssh -L 3307:my-database-server:3306 my-app-server | |
| # Remote Forwarding | |
| # For instance, forwarding remote host port to target host port: | |
| # ssh -R <Target Host Port>:<Target Host>:<Remote Host Port> Remote Host | |
| ssh -R 5001:my-another-app-server:5000 my-app-server | 
| for file in $(find /proc -maxdepth 2 -type f -name "status"); do /proc | |
| cat $file | awk '/Name|Swap/ { printf $2 " " $3 "\t" } END { print "" }'; | |
| done | 
| use strict; | |
| use warnings; | |
| use Benchmark qw(cmpthese); | |
| use DateTime; | |
| use POSIX; | |
| cmpthese( | |
| 200_000 => { | |
| 'DateTime' => sub { | |
| DateTime->from_epoch( | 
| use strict; | |
| use warnings; | |
| use Benchmark qw(cmpthese); | |
| sub hv { | |
| my ($ref, $key, $default) = @_; | |
| defined $ref && exists $ref->{$key} ? $ref->{$key} : $default; | |
| } | |
| my $hash = { |