跳到主要內容

發表文章

目前顯示的是 4月, 2017的文章

版號的設計

關於版號,其實我都是隨便打的 今天看到這文章才知道原來有人研究過了~   SemVer:  http://semver.org/lang/zh-TW/ Major.Minor.Patch 主版號:當你做了不相容的 API 修改, 次版號:當你做了向下相容的功能性新增, 修訂號:當你做了向下相容的問題修正。   文章中要大家思考 ( Software Versions are Broken ) Breaking.Feature.Fix Breaking : 任何突破性的變化 Feature : 添加任何新功能時 Fix : 安全問題,Bug 修復等等      

[iOS] Universal Links - 待處理

  問題描述︰ 原URL可以在iPhone中直接打開APP 但在iPad中卻會打開Safari再打開AppStore,而沒有直接打開APP   看了該URL的網頁源始碼後發現他使用了 browser-deeplink 但卻只會打開AppStore   HTML裡面寫法類似 這裡 寫的問題 但用Schema似乎會有問題,解決辦法應該是用通用鏈接,如下 iOS9 Universal Links (通用鏈接)   未完待續…

[書法尖]

買墨水 https://tw.bid.yahoo.com/tw/booth/%E9%9F%93%E9%9D%9E%E5%AD%90%E5%B0%8F%E8%88%96-Y9546467215?userID=Y9546467215&u=:Y9546467215&clf=17 網路上推的墨水 Pilot iroshizuku 夕燒   目前鋼筆︰ 英雄 382 目前墨水︰ PILOT ink Black $118/30ml - 很會暈開…   一些文章 http://blog.xuite.net/nonepp/twblog/215710904 https://www.dcard.tw/f/handicrafts/p/158819303   教學︰ 台南市100年度硬筆書法研習實況教學 https://www.youtube.com/watch?v=W5lUxoIE4ok 侯信永 https://www.youtube.com/user/willson0301/videos ohyayeh 葉曄 https://www.youtube.com/channel/UCpmz_IUom-KQGhaa84z40pg 英雄美工鋼筆示範01-行草書 https://www.youtube.com/watch?v=CeL4m5799pc 英雄美工鋼筆示範02-行書 https://www.youtube.com/watch?v=3G3otvvlnrU

[NodeJS] 網頁應用程式設計 使用 Node 和 Express 筆記

express3-handlebars 這個套件已改名為express-handlebars,所以安裝指令為 $ npm install --save express-handlebars 在app.js中設定︰ // 設定handlebar view引擎 var handlebars = require('express-handlebars') .create({defaultLayout:'main'}); app.engine('handlebars', handlebars.engine); app.set('view engine', 'handlebars'); // 並將副檔名指定為hbs var handlebars = require('express-handlebars') .create({extname:'.hbs', defaultLayout:'main'}); app.engine('hbs', handlebars.engine); // 這裡一定要用hbs!!! app.set('view engine', 'hbs'); // 這裡一定要用hbs!!! 官網︰ https://github.com/ericf/express-handlebars 模擬器︰ http://tryhandlebarsjs.com/ 另外, http://handlebarsjs.com/  這個好像是後續版本,但是設定不起來,說明也不清楚…只好by pass~   書中建議用handlebars,但實在覺得pug比較好用,所以決定還是用pug https://pugjs.org/api/getting-started.html pug to html 工具︰ http://html2pug.com/   關於node_modules被commit到git的問題 gitignore︰ https://github.com/github/gitignore/blob/master/Node.gitignore 將已commit的部份移除︰