This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def self.create_with_omniauth(auth) | |
| create! do |user| | |
| user.provider = auth["provider"] | |
| user.uid = auth["uid"] | |
| user.name = auth["info"]["name"] | |
| user.email = auth["info"]["email"] | |
| user.email = auth["extra"]["user_hash"]["email"] if auth["extra"] and auth["extra"]["raw_info"] and user.email.nil? | |
| user.nickname = auth["info"]["nickname"] | |
| user.bio = auth["info"]["description"][0..139] if auth["info"]["description"] | |
| user.locale = I18n.locale.to_s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def self.create_with_omniauth(auth, primary_user_id = nil) | |
| u = create! do |user| | |
| user.provider = auth["provider"] | |
| user.uid = auth["uid"] | |
| user.name = auth["user_info"]["name"] | |
| user.name = auth["user_info"][:name] if user.name.nil? | |
| user.email = auth["user_info"]["email"] | |
| user.email = auth["extra"]["user_hash"]["email"] if auth["extra"] and auth["extra"]["user_hash"] and user.email.nil? | |
| user.nickname = auth["user_info"]["nickname"] | |
| user.bio = auth["user_info"]["description"][0..139] if auth["user_info"]["description"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var _aok = _aok || []; | |
| // blank shows generic feed | |
| _aok._flashtag = ''; | |
| </script> | |
| <script type = "text/javascript" src = "http://aok.tv/widget"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git submodule add git://github.com/apotonick/cells | |
| git submodule add git://github.com/apotonick/apotomo | |
| git init | |
| git update |
NewerOlder