Category Archives: Tweak

Access FTP through SSH tunnel

% ssh -L 9001:destination-server:21 proxy-server -N Run FTP client, access localhost at 9001 port with user name and password for the destination server. That’s it.

Posted in Tweak | Comments closed

Free From Mobile Carrier Contract

Two-year contract with AT&T for iPhone 4, which I bought at the release day, was expired. I don’t use data much (300MB/month) nor phone calls. $70+ per month sounded unreasonable to me. There are some cheaper contract free plans. I had picked Virgin Mobile’s data plan first. Virgin Mobile $35/month Data Plan AT&T termination fee […]

Posted in Tweak | Comments closed

New IE VMs Administrator password: Passw0rd! Ctrl + Alt + Del on VirtualBox: Cmd + Fn + Del Edit etc/hosts: Note: On VirtualBox, Windows Key (right Command key) + Q tries to quit the virtual machine, so I needed to hit Windows Key firstly, right click any app, then hit All Apps on the bottom. Add […]

Posted in Tweak | Comments closed

Installing Japanese font on Windows XP

Install Genuine – Go download page with IE – Install Meiryo and it’s done. When I tried to download it with Chrome, it redirects to ‘Begin genuine Windows validation’ page and Genuine Advantage returns an error ‘This version of the Windows Genuine Advantage validation tool is no longer supported.’

Posted in Tweak | Comments closed

Static IP address on VMware Fusion

On Version 4.1.2: % vi /Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf host dev { hardware ethernet 00:0c:29:1e:93:11; # check HWaddr using ifconfig. fixed-address; } % vi /etc/hosts dev Restart the guest OS (Ubuntu) and VMware itself. It seems when upgrades VMware it’ll be overwritten dhcpd.conf.

Posted in Tweak | Comments closed

35 Live Flipped Classrooms

Here are 35 live examples of Flipped Classroom, and still counting. The order doesn’t mean anything. Table view Open with Google Spreadsheet Hope it saves educators’ research time. I’ve tried to find school/teacher name, location, grade, subject, tools and data/feedback for each example. Some cells are still blank. Please let me know if you’d like […]

Posted in Tweak | Tagged | Comments closed

Upgrade MongoDB 1.8 to 2.0 on CentOS5.7

As 2.0 Release Notes mentions, it required to remove 1.8 first. % sudo yum remove mongo-stable-20110131-mongodb_1 % vi /etc/yum.repos.d/10gen.repo % cat /etc/yum.repos.d/10gen.repo [10gen] name=10gen Repository baseurl= gpgcheck=0 % sudo yum install mongo-10gen-server When I tried to yum update mongo-stable, got conflict error “Error: mongo18-10gen conflicts with mongo-10gen”. I also needed to rewrite yum repository since […]

Posted in Tweak | Comments closed

Watir + Cucumber environment

/Users/nobu/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.9.1/lib/selenium/webdriver/firefox/launcher.rb:77:in `connect_until_stable’: unable to obtain stable firefox connection in 60 seconds ( (Selenium::WebDriver::Error::WebDriverError) I got this error with Firefox 8 (beta channel). With 7.0.1 which is the stable version, works well. On this article it uses Celerity, but it gets the below error: % HEADLESS=1 cucumber Celerity only works on JRuby at the moment. (RuntimeError) […]

Posted in Tweak | Comments closed

“–coverage-html” option doesn’t run on PHPUnit 3.6.0RC4

3.6RC4 has a bug in line 288 of TextUI/Command.php. –coverage-html option isn’t parsed correctly. Even I fixes the misspelling it causes another error, and also the latest source code on Github looks very different from RC4, so I just gave up to use RC4. Upgrade to 3.6RC4 from 3.5 took some time and downgrade as […]

Posted in Tweak | Comments closed

“TypeError: ‘undefined’ is not an object” in JavaScript on Safari

jquery-tmpl causes the below error when wrap is called like {{wrap () “#id”}} on Safari (5.1). It should be {{wrap “#id”}}. No parentheses. On Chrome, it works well either way. jquery-tmpl is no longer actively developed, so I should use jsrender or something else anyways. TypeError: ‘undefined’ is not an object (evaluating ‘call._’)

Posted in Tweak | Comments closed