Skip to content

Instantly share code, notes, and snippets.

View yano3's full-sized avatar
❄️
NO SNOW, NO LIFE.

Teppei Yano yano3

❄️
NO SNOW, NO LIFE.
View GitHub Profile
@yano3
yano3 / gist:2858672
Created June 2, 2012 14:39
Sakura VPS Ubuntu 10.04 amd64 Guided - use entire disk and set up LVM
$ sudo fdisk -l
Disk /dev/vda: 214.7 GB, 214748364800 bytes
16 heads, 63 sectors/track, 416101 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00080477
Device Boot Start End Blocks Id System
@yano3
yano3 / gist:2858555
Created June 2, 2012 14:10
Sakura VPS Ubuntu 10.04 amd64 Guided - use entire disk
$ sudo fdisk -l
Disk /dev/vda: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d09a4
Device Boot Start End Blocks Id System
@yano3
yano3 / Name.txt
Last active October 2, 2015 19:38
Twitter Profile
やのさんさん☆ハイ!

スキー@裏磐梯猫魔スキー場

日程

  • 2012-01-07 (Sat)
  • 2012-01-08 (Sun)

参加者

@yano3
yano3 / gist:1385749
Created November 22, 2011 14:13
Washinomiya.magumo #1

Washinomiya.magumo #1

日程

  • 2011-11-23 (Wed)

集合しそうな場所

  • 11時半くらいに鷲宮神社でいいのかな。
  • 時間が合いそうなら東鷲宮駅でも回収するよ。

来そうな人

testing Gist.vim

@yano3
yano3 / gist:1378948
Created November 19, 2011 15:17
git commit --amend --reset-author
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email [email protected]
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
@yano3
yano3 / gist:1324530
Created October 29, 2011 14:46
Backup iTunes iOS device backup files
cd ~/Library/Application\ Support/MobileSync
tar -czvf /path/to/Backup.tar.gz Backup
@yano3
yano3 / gist:1252960
Created September 30, 2011 07:22
UTF-8 な端末で EUC-JP などのソースの svn diff とか見るやつ
svn diff | nkf -w
@yano3
yano3 / gist:1215947
Created September 14, 2011 05:57
Fix permissions for Homebrew
sudo chmod 'g+w' /usr/local
sudo chgrp staff /usr/local