https://avatars.githubusercontent.com/u/6058558

程式狂想筆記

AngularJS讀取載入檔案資訊

http://www.dotblogs.com.tw/regionbbs/archive/2012/06/28/html5.file.api.aspx http://odetocode.com/blogs/scott/archive/2013/07/05/a-file-input-directive-for-angularjs.aspx http://stackoverflow.com/questions/16579427/html5-file-upload-with-angularjs http://plnkr.co/edit/JPxSCyrxosVXfZnzEIuS?p=preview http://plnkr.co/edit/HEA7wYq8Uv0Ee0J4SX7u?p=preview html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <!doctype html> <html ng-app="plunker" > <head> <meta charset="utf-8"> <title>AngularJS Plunker</title> <script>document.write('<base href="' + document.location + '" />');</script> <link rel="stylesheet" href="style.css"> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.js"></script> <script src="app.js"></script> </head> <body ng-controller="MainCtrl"> <input type="file" filelist-bind multiple="multiple" name="files"/> <br> files : <pre>{{ files | json }}</pre> </body> </html> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 var app = angular.

last登入資訊不見了!!!

今天在宿舍連家裡的動物機連不進去,後來就用真實IP連線去了
登入後馬上下意識用last去看一下登入狀況
結果發現只有一條剛剛登入的訊息!!!

瀏覽器播放影片控制開始時間和結束時間

最近在想有沒有瀏覽器播放MP4控制播放時間
結果一搜尋還真的有耶!!!

在(Start HTML5 video at a particular position when loading?)[http://stackoverflow.com/questions/5981427/start-html5-video-at-a-particular-position-when-loading]這篇找到相關方法

重啟Linux桌面方法

最近使用Ezgo 11有時都會當機不動… 最後都跳到tty1直接sudo reboot 後來在想有沒有重啟桌面不重新開機方法… 在經過一直Google下最終找到了方法 :D 1 2 ps aux |grep tty 7 sudo kill {tty7 id} 原來就殺掉tty就會自動重啟!!!!

Markdown新手小試

在前幾年有Markdown這個東西,有嘗試著練習。不過…太久沒用了,也沒有實戰用到…,所以全部忘光光囧,但最近看到LogDown這個玩意,就突然想寫寫看。
LogDown是台灣xdite大大做的,也算是台灣之光,所以也來支持一下^^

webix-強大WEB UI Framework

#webix 這個白俄羅斯人寫的 UI Framework 有點強大呀!整合了 Backbone.js 與 AngularJS ,光看首頁的 Demo (不是圖片動畫喔) 就讓人好熱血! http://webix.com/ 在Jace Ju的FB看到不錯好工具,先記錄一下,有空去實作看看。^^