Monday, September 23, 2013
Fix ADB Unauthorized(Esp Windows + Wi-fi)
If you get in trouble with unauthorized device message, copy adbkey file to ~/.android
Saturday, September 7, 2013
GPT to MBR(+ext3)
My external HDD is "Seagate Backup Plus 500 GB USB 3.0"
I want to use it for NAS(dd-wrt firmed) , I changed it to MBR and ext3.
-> gdisk and mkfs.ext3 is best solution!
http://www.ehow.com/how_12119053_convert-gpt-mbr-linux.html
* If you want to use only data storage, you can remove reserved space which is 5% of whole disk.
sudo tune2fs -m 0 /dev/sdb1
(http://geekyprojects.com/ubuntu/how-to-format-a-usb-external-hard-drive-for-linux/)
I want to use it for NAS(dd-wrt firmed) , I changed it to MBR and ext3.
-> gdisk and mkfs.ext3 is best solution!
http://www.ehow.com/how_12119053_convert-gpt-mbr-linux.html
* If you want to use only data storage, you can remove reserved space which is 5% of whole disk.
sudo tune2fs -m 0 /dev/sdb1
(http://geekyprojects.com/ubuntu/how-to-format-a-usb-external-hard-drive-for-linux/)
Thursday, September 5, 2013
Raspbian gitlab issue
1. bundle install fail
-> Define highest version of "therubyracer and libv8" in Gemfile, Gemfile.lock
In Gemfile
gem "therubyracer", "0.12.0"
In Gemfile.lock
therubyracer (0.12.0)
libv8 (3.16.14.3)
2. When first connect, very very very slow.
-> You must extend timeout both unicorn and nginx
-> config/unicorn.rb , /etc/nginx/nginx.conf -> timeout 3000
-> Define highest version of "therubyracer and libv8" in Gemfile, Gemfile.lock
In Gemfile
gem "therubyracer", "0.12.0"
In Gemfile.lock
therubyracer (0.12.0)
libv8 (3.16.14.3)
2. When first connect, very very very slow.
-> You must extend timeout both unicorn and nginx
-> config/unicorn.rb , /etc/nginx/nginx.conf -> timeout 3000
Wednesday, September 4, 2013
Raspbian locale problem on OSX
When using raspbian with ssh connect on OSX, you can see error message like belows
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
-> Just comment out "SendEnv LANG LC_*" in /etc/ssh_config on your OSX.
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
-> Just comment out "SendEnv LANG LC_*" in /etc/ssh_config on your OSX.
Subscribe to:
Posts (Atom)