Facebook 打卡時,沒有 Place 的解決方法
最近在幫好兄弟救火,碰到的一個 Facebook 打卡方面的問題。原本設計是在 Facebook 若找不到景點資訊時,就新建一筆。但 Facebook API 並不允許直接建立 Place 的資料,所以無法解決。
後來在 Stackoverflow 上看到了「Can a developer add “Places” to Facebook Checkin?」這篇文章,裡面有稍微討論到一些解決方法,改天再來試試看~~ :)
git - fatal: The remote end hung up unexpectedly
使用 git push 資料到 HTTP 的 remote 時,如果發生下列的問題:
Counting objects: 1026, done. Delta compression using up to 4 threads. Compressing objects: 100% (1012/1012), done. error: RPC failed; result=22, HTTP code = 501 fatal: The remote end hung up unexpectedly Writing objects: 100% (1026/1026), 3.73 MiB | 4.37 MiB/s, done. Total 1026 (delta 345), reused 0 (delta 0) fatal: The remote end hung up unexpectedly Everything up-to-date
可以這樣處理:
git config http.postBuffer 524288000
。完美,結束。
[TUTORIAL] RUN OS X MOUNTAIN LION 10.8 ON A PC (HACKINTOSH/OSX86) – FROM START TO FINISH
好了,別再問我如何裝黑蘋果了,有興趣的朋友自己 try-try-see 吧!!
Howto: javascript popup form returning value for select like Django admin for foreign keys
這裡有一篇文章,在介紹如何實作類似 Django 的彈出視窗,以便讓使用者選擇 Foreign Key 的資料。寫的非常棒,所以收藏起來。