2016 年 第 50 週 Facebook 同步週報 (5 篇)

本篇文章更新時間:2019/02/16
如有資訊過時或語誤之處,歡迎使用 Contact 功能通知。
一介資男的 LINE 社群開站囉!歡迎入群聊聊~
如果本站內容對你有幫助,歡迎使用 BFX Pay 加密貨幣新台幣 贊助支持。


本文引用圖文皆取自[來信]告知。

1.

There are various occasions where you would like to search for files that have been changed/created in your Linux system recently or within any time frame. For example, as a system admin, you have done some configuration on your Linux system, but forgot where it was saved. You want to verify whether...(圖片描述:There are various occasions wh...)

[Linux] 找出最近被修改過的檔案

用來追蹤伺服器有高 IO 讀取時的好用方法

http://xmodulo.com/how-to-find-recently-modified-files-on-linux.html

2016-12-15 17:55:52 發佈 | 內文分享連結

2.

I have two webapps WebApp1 and WebApp2 in two different domains. I am setting a cookie in WebApp1 in the HttpResponse. How to read the same cookie from HttpRequest in WebApp2? I know it sounds we...(圖片描述:I have two webapps WebApp1 and...)

#跨網域 處理 這件事首要處理的就是 #安全性,這倒也不是什麼危險的事,就是要照著規則走,下面這篇問答中的操作可以實現:

http://stackoverflow.com/questions/3342140/cross-domain-cookies

或是這篇的做法(用token識別)

https://404it.no/en/blog/javascript_cross-domain_request_with_session

2016-12-14 05:43:41 發佈 | 內文分享連結

3.

Graph API Reference Note node documentation presenting a Facebook Note created by a user or a page(圖片描述:Graph API Reference Note node ...)

{
"error": {
"message": "(#12) notes API is deprecated for versions v2.0 and higher",
"type": "OAuthException",
"code": 12,
"fbtrace_id": "GnhBn6cEy08"
}
}

還想說用 #網誌 來寫東西 #同步 到 #網站 的!

結果在 v2.0 後就掰了...

https://developers.facebook.com/docs/graph-api/reference/note

2016-12-13 14:26:24 發佈 | 內文分享連結

4.

Fix wordpress file permissions(圖片描述:Fix wordpress file permissions...)

看到 #目錄 #權限 #設定 有問題的時候,套這個就對了~

https://gist.github.com/Adirael/3383404

搭配此篇文: https://codex.wordpress.org/Changing_File_Permissions

2016-12-12 16:33:32 發佈 | 內文分享連結

5.

4.7 後核心內建

這就代表應用可以更多了~

http://v2.wp-api.org/extending/adding/

從加入一個路由端點開始

2016-12-11 04:47:41 發佈 | 內文分享連結

以上資訊由 FB轉發機器人V2.0 彙整發佈。


Share:

作者: Chun

資訊愛好人士。主張「人人都該為了偷懶而進步」。期許自己成為斜槓到變進度條 100% 的年輕人。[///////////____36%_________]

文章
Filter
Apply Filters
Mastodon