All updates now moved over to https://github.com/dconnolly/Chromecast-Backgrounds
This file contains 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
const functions = require('firebase-functions'); | |
const TelegramBot = require('node-telegram-bot-api'); | |
const token = "***" | |
const chatID = 1024 // your telegram id, you must first send a message to your bot | |
exports.notifyIAP = functions.analytics.event('in_app_purchase').onLog((event) => { | |
const purchaseValue = event.valueInUSD; | |
if (purchaseValue > 0) { | |
const bot = new TelegramBot(token, {polling: false}); |
This file contains 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
using UnityEngine; | |
using System.Collections; | |
// Author: Eric Eastwood (ericeastwood.com) | |
// | |
// Description: | |
// Written for this gd.se question: http://gamedev.stackexchange.com/a/75748/16587 | |
// Simulates/Emulates pendulum motion in code | |
// Works in any 3D direction and with any force/direciton of gravity | |
// |
This file contains 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
// | |
// NSString+Hash.h | |
// Orbitink | |
// | |
// Created by mmackh on 5/3/13. | |
// Copyright (c) 2013 Professional Consulting & Trading GmbH. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |