Kind of continue from the other gist how to install LAMP on an Amazon AMI
##Install git
sudo yum install git-core
##Create ssh directory since it doesn't exists by default on the Amazon AMI
Kind of continue from the other gist how to install LAMP on an Amazon AMI
##Install git
sudo yum install git-core
##Create ssh directory since it doesn't exists by default on the Amazon AMI
| (function($) { | |
| console.log("facebook loading..."); | |
| var j; | |
| // check facebook available | |
| if($('#fb-root').length === 0) { | |
| // not found fb-root prepend element to body | |
| $('body').prepend("<div id='fb-root'></div>"); | |
| // and load javascript for facebook | |
| j = document.createElement('script'); | |
| j.type = 'text/javascript'; |
| if (!window.FB) window.FB = { | |
| _apiKey: null, | |
| _session: null, | |
| _userStatus: "unknown", | |
| _logging: true, | |
| _inCanvas: window.location.search.indexOf("fb_sig_in_iframe=1") > -1 || window.location.search.indexOf("session=") > -1 || window.location.search.indexOf("signed_request=") > -1 || window.name.indexOf("iframe_canvas") > -1 || window.name.indexOf("app_runner") > -1, | |
| _https: window.name.indexOf("_fb_https") > -1, | |
| _domain: { | |
| api: "https://api.facebook.com/", | |
| api_read: "https://api-read.facebook.com/", |
| if (!window.FB) window.FB = { | |
| _apiKey: null, | |
| _session: null, | |
| _userStatus: "unknown", | |
| _logging: true, | |
| _inCanvas: window.location.search.indexOf("fb_sig_in_iframe=1") > -1 || window.location.search.indexOf("session=") > -1 || window.location.search.indexOf("signed_request=") > -1 || window.name.indexOf("iframe_canvas") > -1 || window.name.indexOf("app_runner") > -1, | |
| _https: window.name.indexOf("_fb_https") > -1, | |
| _domain: { | |
| api: "https://api.facebook.com/", | |
| api_read: "https://api-read.facebook.com/", |