2014年2月23日 星期日

Waldorf school in California

Google "waldorf school in california"

Waldorf Schools | California | K12 Academics
http://www.k12academics.com/national-directories/waldorf-school/California#.UwkoSNt4ib4

Waldorf of the Peninsula | A RENAISSANCE EDUCATION… in the Silicon Valley
http://waldorfpeninsula.org/

Google "public waldorf school in california"

Charter school - Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/Charter_school

Find a School | Alliance for Public Waldorf Education
http://www.allianceforpublicwaldorfeducation.org/find-a-school/

特許學校(Charter Schools)不是公辦民營,而是公費補助、民辦民營 - 思考者的網誌:成就仁德、智慧、正義、與公理的社會 - udn部落格
http://blog.udn.com/ubhuang/4941622

美國特許學校(Charter school)的美麗與哀愁 @ 閱讀與生活筆記 :: 隨意窩 Xuite日誌
http://blog.xuite.net/kc6191/study/29320861-%E7%BE%8E%E5%9C%8B%E7%89%B9%E8%A8%B1%E5%AD%B8%E6%A0%A1%28Charter+school%29%E7%9A%84%E7%BE%8E%E9%BA%97%E8%88%87%E5%93%80%E6%84%81

2014年2月11日 星期二

Install Adobe Flash Player

Download Adobe flash player

Adobe - Install Adobe Flash Player
get.adobe.com/flashplayer/

Then do the following:

rm flash -p
mkdir flash -p
tar xf install_flash_player_11_linux.x86_64.tar.gz  -C flash/
sudo cp -v libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo cp usr/* /usr/ -a
Restart Firefox.

In Firefox, type about:plugins in the Location bar to confirm that the Adobe Flash Player is loaded.

3TB USB HD is showing up as 801GB

64-bit Ubuntu 13.10

I have 2 eSense USB to IDE/SATA adaptor, and I thought they do support 3T HD, for I used it to connect to PC/Windows and my movie player, and both works fine.

I want to use it to access a 3T HD used to store data in Linux on a 64-bit Ubuntu 13.10. But it cannot get the size correctly.

With eSense USB ;to IDE & SATA Adaptor 07-ESJ985

usb 2-1: new high-speed USB device number 8 using xhci_hcd
usb 2-1: New USB device found, idVendor=152d, idProduct=2338
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
usb 2-1: Product: USB to ATA/ATAPI Bridge
usb 2-1: Manufacturer: JMicron
usb 2-1: SerialNumber: 222271F14582

usb-storage 2-1:1.0: USB Mass Storage device detected
scsi9 : usb-storage 2-1:1.0
scsi 9:0:0:0: Direct-Access     ST3000DM 001-1CH166            PQ: 0 ANSI: 2 CCS
sd 9:0:0:0: Attached scsi generic sg1 type 0
sd 9:0:0:0: [sdb] 1565565872 512-byte logical blocks: (801 GB/746 GiB)
sd 9:0:0:0: [sdb] Write Protect is off
sd 9:0:0:0: [sdb] Mode Sense: 00 38 00 00
sd 9:0:0:0: [sdb] Asking for cache data failed
sd 9:0:0:0: [sdb] Assuming drive cache: write through
sd 9:0:0:0: [sdb] Asking for cache data failed
sd 9:0:0:0: [sdb] Assuming drive cache: write through
 sdb:
sd 9:0:0:0: [sdb] Asking for cache data failed
sd 9:0:0:0: [sdb] Assuming drive cache: write through
sd 9:0:0:0: [sdb] Attached SCSI disk
My Win8 still can identify the 3T HD with the eSense adaptor, but partition not identified.

After some googling, the following is the one seems most likely to my case:

Gentoo Forums :: View topic - 3TB USB HD is showing up as 801GB
http://forums.gentoo.org/viewtopic-p-6653133.html

Same behavior with 32-bit Ubuntu 12.04, with CONFIG_LBDAF enabled. So I don't think CONFIG_LBDAF is the root cause.
 
Finally I decided to buy a new adaptor that do claim 3TB support. And it just works!!!

DigiFusion USB3.0 To IDE & SATA (U3I-692) Support 4TB wih 5Gbps(?)
usb 3-2: new SuperSpeed USB device number 3 using xhci_hcd
usb 3-2: New USB device found, idVendor=067b, idProduct=2773
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: ATAPI-6 Bridge Controller
usb 3-2: Manufacturer: Prolific Technology Inc.
usb 3-2: SerialNumber: 0123456789000000005

usb 3-2: Set SEL for device-initiated U1 failed.
usb 3-2: Set SEL for device-initiated U2 failed.
usb-storage 3-2:1.0: USB Mass Storage device detected
scsi8 : usb-storage 3-2:1.0
usb 3-2: Set SEL for device-initiated U1 failed.
usb 3-2: Set SEL for device-initiated U2 failed.
scsi 8:0:0:0: Direct-Access     ST3000DM 001-1CH166       CC43 PQ: 0 ANSI: 0
sd 8:0:0:0: Attached scsi generic sg1 type 0
sd 8:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
sd 8:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
sd 8:0:0:0: [sdb] Write Protect is off
sd 8:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 8:0:0:0: [sdb] No Caching mode page found
sd 8:0:0:0: [sdb] Assuming drive cache: write through
sd 8:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
sd 8:0:0:0: [sdb] No Caching mode page found
sd 8:0:0:0: [sdb] Assuming drive cache: write through
GPT:Primary header thinks Alt. header is not at the end of the disk.
GPT:1565565871 != 5860533167
GPT:Alternate GPT header not at the end of the disk.
GPT:1565565871 != 5860533167
GPT: Use GNU Parted to correct GPT errors.
 sdb: sdb1
sd 8:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
sd 8:0:0:0: [sdb] No Caching mode page found
sd 8:0:0:0: [sdb] Assuming drive cache: write through
sd 8:0:0:0: [sdb] Attached SCSI disk
EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)

Ubuntu 13.10, 14.04, 15.10, 16.04

[System Settings] -> [Appearance] -> [Behavior] -> [Enable Workspaces]
(14.04)[System Settings] -> [Appearance] -> [Behavior] -> [Show the menu for a widow] -> [Set to "In the window's title bar"]
[System Settings] -> [Languagu Support] -> (install all package) -> [Install/Remove Language] -> (add Traditional Chinese, Japanese)

sudo apt-get install
vim htop tree rpm2cpio meld unrar tofrodos tmux

minicom tftp-hpa tftpd-hpa openssh-server samba lftp

git-core git-svn git-cvs git-email tig subversion cvs exuberant-ctags gitk tig

bison cpp flex g++ gcc gettext texinfo patch patchutils libncurses5-dev u-boot-tools python-xcbgen automake texlive libtool build-essential libncurses5-dev zlib1g-dev gawk ccache gettext libssl-dev xsltproc g++ zlib1g-dev gawk libncurses5-dev libc6:i386 mtd-utils

virtualbox

firefox addon
xmark, Block ads

Ubuntu 13.10 中文輸入法
http://mkl-note.blogspot.tw/2014/02/ubuntu-1310.html
Ubuntu 14.04 的中文輸入法...唉
http://mkl-note.blogspot.tw/2015/01/ubuntu-1404.html
為什麼的「麼」打不出來?? - Google Groups
https://groups.google.com/forum/#!topic/chewing-devel/8VnzaqsniRI
剛才看了一下新酷音給的字檔、辭檔,「麼」有這些讀音:
ㄇㄚˊ, ㄇㄚ˙, ㄇㄛˊ, ㄇㄜ˙

sudo apt-get install ibus-chewing
Reboot is needed.
[System Settings] -> [Text Entry] 
Or go to the top-right corner to click [En] -> [Text Entry Settings]
Click on [+] -> [Select Chinese (Chewing)]
Japanese (Mozc) 有羅馬拼音輸入法

Config gitmkl Note: Learning GIT
http://mkl-note.blogspot.com/2008/12/learning-git.html
git config --global user.name "Your Name Comes Here"
git config --global user.email you@yourdomain.example.com

git config --global color.diff auto;
git config --global color.status auto;
git config --global color.branch auto;

git config --global alias.r rebase;
git config --global alias.rc "rebase --continue";
git config --global alias.ra "rebase --abort";
git config --global alias.rk "rebase --skip";
git config --global alias.st status;
git config --global alias.bi bisect;
git config --global alias.br branch;
git config --global alias.ci commit;
git config --global alias.cia "commit --amend";
git config --global alias.co checkout;
git config --global alias.f fetch;
git config --global alias.cp cherry-pick;
git config --global alias.ap "add -p";

git config --global branch.autosetuprebase always;
git config --global core.autocrlf false
dash -> bash
sudo rm /bin/sh ; sudo ln -s /bin/bash /bin/sh

http://mkl-note.blogspot.tw/search?q=ssh+key
user=user
server=server
ssh-keygen -t rsa
scp ~/.ssh/id_rsa.pub $user@$server:~
ssh $user@$server "mkdir -p ~/.ssh/ ; cat ~/id_rsa.pub >> ~/.ssh/authorized_keys; rm -v ~/id_rsa.pub"

(14.04) /etc/fstab, add the following line for "mount -bind":
/home/tftpboot /var/lib/tftpboot none bind 0 0

Enable subversion save password
http://mkl-note.blogspot.tw/2015/01/save-password-in-subversion.html

mkl Note: Install Adobe Flash Player
http://mkl-note.blogspot.tw/2014/02/install-adobe-flash-player.html

Webex
mkl Note: Download and Install Java on Ubuntu 12.04
http://mkl-note.blogspot.tw/2013/09/download-and-install-java-for-linux.html
(2016.12.23: Now even with 16.04, still cannot connect to Webex, saying my browser is not supported.)

Line
於 Ubuntu Linux 15.04 安裝 LINE - Tsung's Blog
https://blog.longwin.com.tw/2015/07/ubuntu-linux-install-line-2015/

Teamviewer
TeamViewer Linux Download
https://www.teamviewer.com/en/download/linux/
 

2014年2月10日 星期一

Ubuntu 13.10 中文輸入法


右上角點 [Text Entry: En: English (US)] -> [Text Entry Settings] -> ["+"] -> [Chinese (Chewing)]
簡單很多,但是每版都在變,每次都要查

下載 Ubuntu 13.10 每日 ISO 體驗 Ubuntu 13.10 [論壇 - 自由軟體中文翻譯討論] | Ubuntu 正體中文站
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=29942

2014年2月7日 星期五

Booting Ubuntu 13.10 Live CD to command line (recovery mode)


Ubuntu liveUSB(ubuntu-13.10-desktop-amd64.iso)
MSI GE70, i5-4200M, Nvidia GeForce GT 750M / 2GB GDDR5



In GRUB menu on the item "Try Uuntu without installing",  type "e" to edit the boot commands. At the line start with "linux", replace the following:
quiet splash
with
ro recovery nomodeset
Then type "F10" to boot.

After it boot, screen black out. I thought it crashed again, but it's just in virtual terminal 7 without X initialized. I got command line after switching to other virtual terminals (Ctrl-Alt-F1 to F6)


Kernel Command Line Parameters
http://distro.ibiblio.org/fatdog/web/faqs/boot-options.html

grub2 - How to boot to the recovery mode if it is not listed in Grub? - Ask Ubuntu
http://askubuntu.com/questions/326528/how-to-boot-to-the-recovery-mode-if-it-is-not-listed-in-grub

10 boot time parameters you should know about the Linux kernel - nixCraft
http://www.cyberciti.biz/tips/10-boot-time-parameters-you-should-know-about-the-linux-kernel.html

Ubuntu 14.04 (Trusty Tahr) Daily Build
http://cdimage.ubuntu.com/daily-live/current/

2014年2月4日 星期二

JFFS2: "Magic bitmask 0x1985 not found"

mkfs.jffs2  -s 0x20000 -e 0x20000 -p 0x400000 -d  ./rootfs -o rootfs.jffs2

flash_eraseall -j /dev/mtd2
dd if=rootfs.jffs2 of=/dev/mtdblock2

mount -t jffs2 /dev/mtdblock2 /mnt


I cannot mount JFFS2 and see "Magic bitmask 0x1985 not found" messages

http://www.linux-mtd.infradead.org/faq/jffs2.html
http://www.linux-mtd.infradead.org/faq/jffs2.html#L_magicnfound