Skip to content

Instantly share code, notes, and snippets.

View maxrevilo's full-sized avatar

Oliver Perez maxrevilo

  • Dead Monkey
  • Medellín
View GitHub Profile
@maxrevilo
maxrevilo / BaseComponent.cs
Created January 15, 2017 23:22
Class that serves as base class for any Unity3d's component
using UnityEngine;
namespace Game.Core
{
public class BaseComponent : MonoBehaviour
{
protected virtual void Awake() { }
protected virtual void OnEnable() { }
protected virtual void Start() { }
@maxrevilo
maxrevilo / AndroidManifest.xml
Last active August 29, 2015 14:06 — forked from vikrum/AndroidManifest.xml
Firebase+Android sample app with background Service + local notifications. (FORKED)
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.bgfirebaseapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="17" />
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" />
<title>untitled</title>
<link rel="stylesheet" href="" />
</head>
<body>
@maxrevilo
maxrevilo / Git Commands
Last active August 29, 2015 14:04
Useful git commands
# Use HTTPs instead of Git protocol
# https://coderwall.com/p/sitezg
git config --global url."https://".insteadOf git://
angular.module('gps-test').factory('googleMapsLoader',
function($window, $q, $timeout) {
"use strict"
var loaded = false,
listeners = [];
function load_script(params, api_base_url) {
var url = api_base_url || 'https://maps.googleapis.com/maps/api/js?',