Skip to content

Instantly share code, notes, and snippets.

@nobonobo
nobonobo / install.sh
Last active December 6, 2015 03:17
Goで子供向けピアノを作ってみた。iOS/Android/Desktopで動くよ!
go get -u golang.org/x/mobile/cmd/...
go get -u github.com/nobonobo/gomobileapp
gomobileapp init
go get -d github.com/nobonobo/nobopiano
# for iOS
gomobileapp build -target ios github.com/nobonobo/nobopiano
# 実機にnobopiano.appをインストール
# for Android
@kamipo
kamipo / gist:61ee662ee0b1127f0989
Last active August 28, 2018 01:51
MySQL Unicode Collation Behavior

MySQL Unicode character set has following collations mainly:

  • xxx_bin: compare all characters by these code point as weight.
  • xxx_general_ci: compare almost characters by these code point as weight.
  • xxx_unicode_ci: compare all characters by these collating weight.

ref. http://dev.mysql.com/doc/refman/5.6/en/charset-unicode-sets.html

When xxx is utf8, can treat only BMP characters.

@Onigirium
Onigirium / IntelliJメモ1
Created June 27, 2014 01:10
インストールしたてのIntelliJ IDEAにおいて、エディタのフォントを変更する方法
手こずったのでメモ。
Settings → Editor → Color & Font → Font の画面で変えようと思ってもグレーアウトしている。
一度、Save As..ボタンを押してSchemeを自分のSchemeとして保存することで、変更できるようになる。