發表文章

目前顯示的是 2月, 2012的文章

【台灣百岳】帶山友爬百岳的一些照片~玉山、雪山、嘉明湖、奇萊連峰、南湖大山、武陵四秀、合歡群峰

圖片
彙整紀錄一下過去帶團的一些記錄。 ▼▼▼2020年玉山主峰_研究所同學團▼▼▼ ▼▼▼2020年玉山主峰台灣團▼▼▼ ▼▼▼2020年玉山主峰台灣團▼▼▼ ▼▼▼2020年玉山主峰台灣團▼▼ ▼▼▼2020年玉山主峰台灣團▼▼▼ ▼▼▼2019年玉山主峰台灣團▼▼▼ ▼▼▼2019年玉山主峰台灣團▼▼▼ ▼▼▼2019年玉山主峰台灣團▼▼▼ ▼▼▼2019年玉山主峰台灣團▼▼▼ ▼▼▼2019年玉山主峰香港團▼▼▼ ▼▼▼2019年玉山主峰台灣團▼▼▼ ▼▼▼2019年雪山主峰澳門團▼▼▼ ▼▼▼2019年玉山香港團▼▼▼ ▼▼▼2019年玉山香港團▼▼▼ ▼▼▼2019年玉山香港團▼▼▼ ▼▼▼ 嘉明湖團(含登頂三叉山、向陽山) ▼▼▼

FbGraph + OmniAuth + Facebook Graph API on Rails application

圖片
OAuth is often described as a 'valet key for the web'. In the same way as a valet key gives restricted access to a car, allowing the valet to drive it but not open the trunk or glovebox, OAuth allows a client application restricted access to your data at a resource server via tokens issued by an authorization server in response to your access grant. Facebook Platform uses the OAuth 2.0 protocol for authentication and authorization. Suppose your Rails application allows users to share content with their Facebook friends. To support this, a connection needs to be established between a user's local account and her Facebook account. Once established, a Facebook instance can be obtained and used to post content to the user's wall. The basic idea is to store the access_token during an OAuth2 login process and later on use the token to fetch more data. The last days I was working on letting user sign-up/sign-in using Facebook account. I'm planning to integrate some so

Connect to the Foursquare API via OAuth in your Rails application

圖片
OAuth  is an open authentication protocol that allows secure API communication without the necessity of continually passing a username and password with each request. The idea for OAuth was conceived in 2006 by a group of individuals working on the Twitter implementation of OpenID.  After reviewing both OpenID and other existing industry practices, such as Amazon Web Services API and Flickr API, it was decided that a proposal should be written for a new open protocol for application authentication. OAuth has been widely adopted among major web services. Twitter, not only implementing OAuth as its primary API authentication method, but using it as the basis for its “ Sign in with Twitter ” service. Today, you’ll also find the protocol used by Facebook, Google, Yahoo, LinkedIn, and many others. Foursquare is a new and rapidly growing social utility whose potential for mash-ups with other applications is limited only by one’s own imagination. The Foursquare platform implements the OAut

Running PHP application on Heroku (Mac OS X)

圖片
Heroku is a very popular PaaS ( Platform as a Service ) cloud hosting service which allows you to deploy various applications, especially Ruby on Rails application. Heroku doesn't charge anything to sign up and has a free service upto 5 MB usage of PostgreSQL database, that's enough to used for your development environment. Heroku is majorly to Deploy Ruby on Rails, Node.js, Java, Clojure and Django apps, but you can also run any type of app (like PHP). The PHP support was launched in partnership with Facebook, to attract Facebook application  developers to Heroku's cloud platform ( Heroku support PHP ). In this post, you will learn how to deploy PHP project on Heroku. I assume that you already signed up with Heroku and configured your SSH keys with Heroku servers. If you haven't done it already, follow these instructions . You can try it out for yourself by just creating a new project folder with an index.php file in it, then creating a Heroku project. When you pu

文章列表

聯絡我

名稱

以電子郵件傳送 *

訊息 *