Skip to content

Instantly share code, notes, and snippets.

View yusuke-konishi's full-sized avatar
:octocat:
Writing some codes...

Yusuke Konishi yusuke-konishi

:octocat:
Writing some codes...
View GitHub Profile
@yusuke-konishi
yusuke-konishi / file0.txt
Last active April 20, 2017 12:06
Bash on Ubuntu on Windows で Rails/PostgreSQL の開発環境を構築する [Creators Update 編] ref: http://qiita.com/yusuke_konishi/items/bb99faceada542ce2017
> command
@yusuke-konishi
yusuke-konishi / file0.txt
Created March 13, 2017 13:07
GUI を使わずにコマンドで GitHub に公開鍵を登録する ref: http://qiita.com/yusuke_konishi/items/6fa51372a895c831ab2b
$ curl -u "<GitHub のユーザー名>" --data '{"title":"'"$(whoami)@$(hostname)"'","key":"'"$(cat ~/.ssh/id_rsa.pub)"'"}' https://api.github.com/user/keys
Enter host password for user '<GitHub のユーザー名>': (パスワードを入力)
{
"id": 222...,
"key": "ssh-rsa AAA...",
"url": "https://api.github.com/user/keys/222...",
"title": "bowuser@BOWHOST",
"verified": true,
"created_at": "2017-03-13T12:44:28Z",
"read_only": false
@yusuke-konishi
yusuke-konishi / file0.txt
Last active April 10, 2017 03:10
Bash on Ubuntu on Windows で Rails/PostgreSQL の開発環境を構築する [Anniversary Update 編] ref: http://qiita.com/yusuke_konishi/items/80d8a89b83ce17718f76
> command
@yusuke-konishi
yusuke-konishi / file0.txt
Created September 22, 2016 23:37
VMware Fusion の仮想マシンに macOS Sierra をインストールする ref: http://qiita.com/yusuke_konishi/items/86c04b1697fc6da515b7
$ sudo diskutil resizeVolume / R
@yusuke-konishi
yusuke-konishi / file0.txt
Created September 4, 2016 13:25
VMware Fusion の仮想マシンに OS X をインストールする 2 つの方法 ref: http://qiita.com/yusuke_konishi/items/62b94209fa329d9d3efa
$ sudo diskutil resizeVolume / R
@yusuke-konishi
yusuke-konishi / file0.txt
Created August 28, 2016 07:21
ThinkPad 8 を Docker for Windows 用のタブレットとして延命させる ref: http://qiita.com/yusuke_konishi/items/c5498e527cffea5a3ce7
PS C:\Windows\system32> systeminfo
...
物理メモリの合計: 3,992 MB
...
Hyper-V の要件: VM モニター モード拡張機能: はい
ファームウェアで仮想化が有効になっています: はい
第 2 レベルのアドレス変換: はい
データ実行防止が使用できます: はい