Testing the DeviceOrientation API
Test case: http://jsfiddle.net/TPz2G/3/show/
- Alpha increases when rotating device clockwise
absolute: true
absolute: true| #!/bin/bash | |
| # WebSocket shell, start & browse to http://<Host>:6655/ | |
| # Requires bash 4.x, openssl. | |
| # Author: [email protected] (which isn't me, apk) | |
| coproc d { nc -l -p 6656 -q 0; } | |
| nc -l -p 6655 -q 1 > /dev/null <<-ENDOFPAGE | |
| HTTP/1.1 200 OK | |
| <html><head><script language="javascript"> | |
| var url = location.hostname + ':' + (parseInt(location.port) + 1); |
| ;;; undo-tree.el --- Treat undo history as a tree | |
| ;; 2010/2/15 追記. | |
| ;; undo-tree-visualizer-quit のバグを修正しました. | |
| ;; 参考) http://d.hatena.ne.jp/kitokitoki/20100211/p1 | |
| ;; オリジナルからの変更点 | |
| ;; 1. q で *undo-tree* があったウィンドウも削除し,呼び出しもとのウィンドウ・バッファにポイントを移動 | |
| ;; 2. 上下分割から左右分割に変更 |