原创 數據庫性能優化

http://blog.csdn.net/u011225629/article/details/50492403 點贊 收藏 分享 文章舉報 haoran_gao 發佈

原创 雞湯

激情 激情是做棒一件事的元素,當你做一件事有了激情,就一定勢不可擋。 工作不外乎爲了三件事:金錢、興趣、理想。 你必須在這三件事裏找出你的激情,而且像開手動車似的,不斷的在各排檔中因地制宜地變檔,使你的工作激情永不減! 以正守之,以奇攻之

原创 sbt的源配置

activator中採用sbt構建項目結構。 可以編輯activator-launch-1.3.7.jar更改sbt的配置 [repositories] local activator-launcher-local: file

原创 nodejs

https://www.npmjs.com/package/fekit

原创 play SMTP Configuratoin

Use a mock mailer, by entering the following in conf/application.conf smtp.mock=true The mock option will render email

原创 postgreSql on windows

blog.sina.com.cn/s/blog_7ba995330101bfov.html

原创 play silhoutte

https://blog.knoldus.com/2015/05/11/play-framework-security-with-silhouette/ http://blog.csdn.net/i6448038/article/de

原创 Understanding Play2 Iteratees for Normal Humans

You may have remarked that Play2 provides an intriguing feature called Iteratee (and its counterparts Enumerator and En

原创 hostname的一些記錄

hostname參數是存在如下文件中的 /proc/sys/kernel/hostname 修改hostname的方式: 重啓生效 /etc/sysconfig/network hostname與/etc/hosts的關係 ho

原创 scala筆記

http://blog.csdn.net/lyrebing/article/details/20446061

原创 Play framework REST API

在PLay中怎麼寫REST API呢,文檔裏沒有說明。在Play中處處都是REST API。就像冰箱是一個工具,它可以冷凍食物。假如你買了一個冰箱,你能找到一頁紙說明怎麼冷凍食物嗎?答案基本是否定的,冰箱的手冊會介紹安裝,調節溫度…。爲什

原创 scala中的method和function的區別

狹義上:方法(Method)是指在tail/class/object中的def關鍵字聲明的,它不能被直接傳遞。函數(Function)是指類型ParamsType=>ResultType的變量,這些變量背後是用FunctionN對象來封裝

原创 curl常用命令及參數

常用參數 -X/--request [GET|POST|PUT|DELETE|] 使用http method發出request -H/--header 設定request中的header

原创 play的Json測試

上代碼 import play.api.libs.json.{Json, JsValue, Writes} /** * Created by DGA on 2016/3/31. */ case class Bar(x:String,

原创 play framework authentification

http://iankent.uk/blog/action-composition-in-play-framework/