Coding Noting

Web Developer becoming...


  • Home

  • Archives

利用mysqlclient模組作為Python DB-API來操作MySQL

Posted on 2018-03-21 | In Python

近期由於在忙一個Web APP,會需要用到爬蟲,並且要存到資料庫裡(剛好這個APP在雲端的資料庫是MySQL),所以就開始研究怎麼爬蟲、怎麼存資料、怎麼操作MySQL…,東西一多就雜、變得難記,因此就把一些瑣碎的事情寫在這吧!

Read more »

使用Devise整合OmniAuth實作第三認證 - Spotify帳號登入 (未完)

Posted on 2018-03-11 | In Ruby-on-Rails

OAuth

An open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications.[1]

Read more »

解決在Rails資料表遷移中,
以non-null為條件進行add_column時會引發的錯誤

Posted on 2018-03-01 | In Ruby-on-Rails

什麼錯誤?

若在新建一張資料表時,希望其中欄位不要有空值,可以在 建立時 輸入null: false以資料庫層級進行資料驗證。但若是在 已經存在 的資料表下,希望新增一欄不為空值的欄位時,就會引發錯誤。

Read more »

求職考題-1 (未完)

Posted on 2018-02-27

從朋友那得到了一份求職的考題,範圍是網頁開發的後端操作:

Read more »

CSS Grid

Posted on 2017-12-29 | In Front-End
可以先參考「CSS-Grid與Bootstrap的比較」以下整理幾個重點 HTML內容更易閱讀 套用Bootstrap會使得html檔案內的每個layout都需要自己的<div class="row">,尤其當網頁是RWD時,更需要放上冗長的套版。然而CSS-Grid並不會隨著layout的需求增多而使得html顯得更複雜(但當然比起Bootstrap就得撰寫css ...
Read more »
123
Lin Chia-Hung

Lin Chia-Hung

11 posts
4 categories
21 tags
© 2018 Lin Chia-Hung
Powered by Hexo
|
Theme — NexT.Muse