Skip to content

Instantly share code, notes, and snippets.

View arielmagbanua's full-sized avatar
🏠
Working from home

Ariel Magbanua arielmagbanua

🏠
Working from home
View GitHub Profile
@arielmagbanua
arielmagbanua / hi-satellite.md
Created August 11, 2019 06:20 — forked from MariadeAnton/hi-satellite.md
Travis CI Demo Examples - GitHub Satellite 2019
@arielmagbanua
arielmagbanua / workbox.md
Created August 6, 2019 16:44 — forked from addyosmani/workbox.md
Workbox recipes

Workbox runtime caching recipes

Your Service Worker script will need to import in Workbox and initialize it before calling any of the routes documented in this write-up, similar to the below:

importScripts('workbox-sw.prod.v1.3.0.js');
const workbox = new WorkboxSW();

// Placeholder array populated automatically by workboxBuild.injectManifest()
@arielmagbanua
arielmagbanua / lorem-ipsum.js
Created July 2, 2018 03:38 — forked from rviscomi/lorem-ipsum.js
JavaScript Lorem Ipsum Generator
/**
* @fileOverview Generates "Lorem ipsum" style text.
* @author rviscomi@gmail.com Rick Viscomi,
* tinsley@tinsology.net Mathew Tinsley
* @version 1.0
*/
/**
* Copyright (c) 2009, Mathew Tinsley (tinsley@tinsology.net)
* All rights reserved.
<?php
///////////////////////////////////////////////////
// STEP 1 - CREATE CLASS THAT WILL BE USED GLOBALY
///////////////////////////////////////////////////
namespace App\MyApp;
class MyApp {
public function sayHello($data = [])
{
echo "Hello World from Facade!";
}
@arielmagbanua
arielmagbanua / http_response_code.php
Created May 9, 2018 02:47 — forked from ewwink/http_response_code.php
PHP Class for HTTP Response Status Codes
<?php
/**
* StatusCodes provides named constants for
* HTTP protocol status codes. Written for the
* Recess Framework (http://www.recessframework.com/)
*
* @author Kris Jordan
* @license MIT
* @package recess.http
*
@arielmagbanua
arielmagbanua / simpleimage.php
Created March 7, 2016 00:14 — forked from maxumiv/simpleimage.php
SimpleImage PHP Class
<?php
/**
* File: SimpleImage.php
* Author: Simon Jarvis
* Modified by: Miguel Fermín
* Based in: http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@arielmagbanua
arielmagbanua / nationalities.php
Created October 13, 2015 15:12 — forked from zspine/nationalities.php
PHP Nationalities Array
$nationals = array(
'Afghan',
'Albanian',
'Algerian',
'American',
'Andorran',
'Angolan',
'Antiguans',
'Argentinean',
'Armenian',
XDA - guide
http://forum.xda-developers.com/showthread.php?t=2528952
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip)