How to build html link to a google calendar event?

There is a way! To view a public calendar event, use a link of the form: https://www.google.com/calendar/event?eid={event-id}&ctz={timezone} where {event-id} is the unique event id, and {timezone} is one of these time zones. Here’s an example: link to a specific public calendar event. If you have editing rights to the calendar this event is from, you … Read more

How do I connect to the Google Calendar API without the oAuth authentication?

If I’m not wrong, they’ve launched Service Account for this now: https://developers.google.com/accounts/docs/OAuth2ServiceAccount Edit: Here’s the modification from their Prediction API session_start(); require_once “google-api-php-client/src/Google_Client.php”; require_once “google-api-php-client/src/contrib/Google_CalendarService.php”; const CLIENT_ID = ‘…’; const SERVICE_ACCOUNT_NAME = ‘…’; // Make sure you keep your key.p12 file in a secure location, and isn’t // readable by others. const KEY_FILE = ‘…’; … Read more

Am I getting the steps right for verifying a user’s Android in-app subscription?

As it turns out, my steps were not correct. It took me weeks to figure this out and it doesn’t seem to be documented anywhere else. You’re welcome: Create a Web Application account in the Google APIs Console. Put any website as a “redirect URI”; it doesn’t matter since you will not really be using … Read more

simple hit counter for page views in rails

UPDATE The code in this answer was used as a basis for http://github.com/charlotte-ruby/impressionist Try it out It would probably take you less time to code this into your app then it would to pull the data from Analytics using their API. This data would most likely be more accurate and you would not have to … Read more

How to use CORS to implement JavaScript Google Places API request

You are trying to use the Google Places API Web Service on client side whereas it is designed for server side applications. That’s probably why appropriate CORS response headers are not set by the server. As explained in the Notes at the beginning of the Place Details documentation, you should use the Places Library in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)