Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@surayashivji
surayashivji / Timer.cs
Created April 26, 2017 06:21
Timer is a countdown
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Timer : MonoBehaviour {
private Text timerText;
@surayashivji
surayashivji / GameManager.cs
Created April 26, 2017 06:20
Game Manager manages my game and controls pause
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;
public class GameManager : MonoBehaviour {
// Singleton GameManager
public static GameManager Instance { set; get; }
@surayashivji
surayashivji / AppDelegate.swift
Created January 30, 2017 10:16
setting root view controller in app delegate
class AppDelegate: UIResponder, UIApplicationDelegate, SpotifyAuthDelegate {
var window: UIWindow?
var navigationController: UINavigationController = UINavigationController()
private var auth: SpotifyAuth {
return SpotifyAuth.shared
}
@surayashivji
surayashivji / herokulogs.txt
Created December 10, 2016 06:47
heroku logs
2016-12-10T06:14:11.206951+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=serene-crag-40965.herokuapp.com request_id=7299599f-9f86-4d88-be5d-1f4836af29b8 fwd="142.129.115.209" dyno= connect= service= status=502 bytes=
2016-12-10T06:14:11.369697+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=serene-crag-40965.herokuapp.com request_id=7afd5fed-73a2-460e-a08a-812ab73d389f fwd="142.129.115.209" dyno= connect= service= status=502 bytes=
2016-12-10T06:14:36.084501+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=serene-crag-40965.herokuapp.com request_id=af5f8fd2-a903-491b-9299-acc6658d6db9 fwd="142.129.115.209" dyno= connect= service= status=502 bytes=
2016-12-10T06:14:36.245303+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=serene-crag-40965.herokuapp.com request_id=6ca89051-69a3-4495-9b1e-7b62ba2102eb fwd="142.129.115.209" dyno= connect= service= status=502 b