跳到主要內容

發表文章

目前顯示的是 10月, 2016的文章

[紀錄]小米路由器MINI 安裝套件

參考: http://www.miui.com/thread-2205749-1-1.html *須開啟ssh跟使用USB儲存設備 1.opkg設定 在USB設備上建立目錄 1.建立app資料夾 (app 資料夾可自行更名) 進入app資料夾 在建立bin資料夾 在x:/app/bin 放置 opkg 2.ssh cd /extdisks/sda1/ mkdir app (app 資料夾可自行更名) cd app mkdir bin cd bin wget https://drive.google.com/file/d/0Bx2A-Jefadp8NThYZnpOVWtnaXM/view?usp=sharing (想辦法放到哪裡下載下來吧XD) 確認檔案存在 /extdisks/sda1/app/bin/opkg 修改opkg設定檔 備份 cp /etc/opkg.conf /etc/opkg.conf.bak 編輯 vi /etc/opkg.conf 設定如下 src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/base src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/luci src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/packages src/gz barrier_breaker_routing http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/routing src/gz barrier_breaker_telephony http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt76

Kendo UI Grid 筆記

常用設定         var grid = $("#mygrid").kendoGrid({             dataSource: {                 transport: {                     read: {                         url: "/Home/data"                     }                 }             },             columns: [             { field: "Code", title: "代碼", width: "10%" },             { field: "Name", title: "名稱", width: "50%" },             { field: "", width: "40%", template: '<button class="k-button">按鈕一</button>' }             ],             height: $(document).height() - 200,             toolbar: kendo.template($("#template").html()),             pageable: true,             selectable: "row",             sortable: true,             resizable: true,             noRecords: true,             pageable: {                 refresh: true,                 pageSizes: true,                 pageSize: 50,