- 9月 03 週二 201323:47
【每天都要問孩子的四個問題】-轉載
- 12月 26 週六 201500:50
[學習筆記]嘸蝦米簡易練習攻略

嘸蝦米特色和優勢就是它只用到26個英文字母按鍵,中英打可以一起練習
不使用簡根的話,每個字最多4碼, 按筆劃順序的前三碼和最後一碼
據官方說法:嘸蝦米平均輸入碼數2.2碼 ,選字率低於0.3% 參考 研究報告
以下是學習心得
- 10月 26 週一 201500:31
[開發筆記] Asp.Net WebApi 自動產生Help Page

最近開始使用AngularJS+ASP.NET WebAPI做專案
restful webapi 雖定義了GET/POST/PUT/DELETE 但並無標準web service 的wdsl 可以產生xml 文件
此時需安裝套件以自動產生help page,開發筆記如下:
1.使用nuget安裝套件helppage
- 10月 14 週三 201522:15
[開發筆記] MySQL/MariaDB 表兄弟 Replication 實戰筆記

家中有一台synology nas 內建的是 MariaDB 5.5.43 (mysql 分支)
另外有一fedora linux 的MySQL 5.1
最近嘗試將兩部MySQL 表兄弟做replication,以下為實戰筆記....
區分以下段落
0.replication概要
1.環境說明
2.設定mater
3.設定slave
4.異常處理
0.mysql replication 官方說法
參考: http://dev.mysql.com/doc/refman/5.0/en/replication...
0.1 mysql的replication 單向複寫
可設定一個master,多個slave,靠啟用binary log來將異動資料由master送給slave
0.2 Scale out ,分散讀寫不同作業,提高效能
0.3 master異常時,切換到slave維持運作
mysql>change master to ... 可將master 指到的slave1
正常情況
異常時切換master
1.環境說明
master: MySQL 5.1 on fedora linux , ip=master.mydomain.com
slave : MariaDB 5.5 on Synology Nas (mysql 分支) , dns=slave.mydomain.com ,ip=slave_db_ip_address
2.設定master
2.1.edit my.cnf@master db (/etc/my.cnf)
#master config
[mysqld]
server-id=9419601
log_bin=mysql-bin
log_error=mysql-bin.err
binlog_do_db=db1
binlog_do_db=db2
binlog_do_db=db3
2.2 create replication user @master db
- 10月 07 週三 201523:46
[開發筆記] TechDays 2015 Taiwan 大會課程影片 出爐
- 10月 07 週三 201523:04
[開發筆記] ASP.NET 5
參考:https://channel9.msdn.com/Events/TechDays/TechDays...
TechDays 2015 之 保哥-ASP.NET 5 開發攻略
1.安裝node.js
2.npm install -g yo (安裝套件管理工具 yeoman之全域套件)
3.npm install -g generator-aspnet (安裝aspnet 站台產生套件,類似express)
4.yo aspnet (選擇WebApplication,並輸入應用程式目錄名稱aspnet5, yo會產生範本程式碼)
2.建置
2.1 cd aspnet5
2.2 dnu restore (還元套件,須先安裝aspnet 5 , 參考: http://docs.asp.net/en/latest/getting-started/inst...)
2.3 dnu build
3.開發:
3.1 code . (對目前資料夾, 使用Visual Studio Code 進行開發)
3.2 或使用VS2015 開起專案檔aspnet5/project.json 進行開發建置
3.3 dnx web (啟動站台http://localhost:5000)
TechDays 2015 之 保哥-ASP.NET 5 開發攻略
1.安裝node.js
2.npm install -g yo (安裝套件管理工具 yeoman之全域套件)
3.npm install -g generator-aspnet (安裝aspnet 站台產生套件,類似express)
4.yo aspnet (選擇WebApplication,並輸入應用程式目錄名稱aspnet5, yo會產生範本程式碼)
2.建置
2.1 cd aspnet5
2.2 dnu restore (還元套件,須先安裝aspnet 5 , 參考: http://docs.asp.net/en/latest/getting-started/inst...)
2.3 dnu build
3.開發:
3.1 code . (對目前資料夾, 使用Visual Studio Code 進行開發)
3.2 或使用VS2015 開起專案檔aspnet5/project.json 進行開發建置
3.3 dnx web (啟動站台http://localhost:5000)
- 12月 15 週一 201409:26
[開發筆記] 10 Database Design Best Practices -10數據庫設計最佳實踐
文章出處: http://www.enterpriseappstoday.com/data-management/10-database-design-best-practices.html
Posted July 15, 2014By Ann All Feedback
A well-designed database makes it easier to derive value from enterprise data. We asked three experts for their top database design tips.
- 10月 31 週五 201423:36
Avanset VCE Exam Simulators (V1.1.6)+ http://examsforall.com/
VCE Exam Sumulators 這個工具實在對準備認證的人來說太好用了
搭配http://examsforall.com/ 一堆網友熱騰騰的BrianDump
http://www.examcollection.com/ (之前使用examcollection,但他的*.vce 有加密,目前不推薦使用)
Required:
1.VCE模擬試題工具
搭配http://examsforall.com/ 一堆網友熱騰騰的BrianDump
http://www.examcollection.com/ (之前使用examcollection,但他的*.vce 有加密,目前不推薦使用)
Required:
1.VCE模擬試題工具
- 6月 11 週三 201421:49
2014阿甘盃半馬 21km (No.10) 2014-06-07

第一次參加阿甘盃
參加人員:威益哥,warren,michael
本次沒有練習超過10km,成績乏善可陳
還好沒超過03:30 一路上 苦撐
這天有點陰雨,本來全家都要一起來參加~只好作罷
獎牌不錯,毛巾就差了點,好小條喔...
- 5月 17 週六 201400:28
Google Play APP 電筒王 開發心得
幫好友 阿畢寫的
附贈了電筒的功能~
https://play.google.com/store/apps/details?id=tw.wii.app
server端:
json輸出中文部分,先urlencode,json_encode後再urldecode
避免產生不可閱讀之unicode編碼
app端:
附贈了電筒的功能~
https://play.google.com/store/apps/details?id=tw.wii.app
server端:
json輸出中文部分,先urlencode,json_encode後再urldecode
避免產生不可閱讀之unicode編碼
app端: