Skip to content

Instantly share code, notes, and snippets.

suraya shivji surayashivji

View GitHub Profile
@surayashivji
surayashivji / Timer.cs
Created Apr 26, 2017
Timer is a countdown
View Timer.cs
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 Apr 26, 2017
Game Manager manages my game and controls pause
View GameManager.cs
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 Jan 30, 2017
setting root view controller in app delegate
View AppDelegate.swift
class AppDelegate: UIResponder, UIApplicationDelegate, SpotifyAuthDelegate {
var window: UIWindow?
var navigationController: UINavigationController = UINavigationController()
private var auth: SpotifyAuth {
return SpotifyAuth.shared
}
View herokulogs.txt
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
You can’t perform that action at this time.