Skip to content

Instantly share code, notes, and snippets.

View stibiumz's full-sized avatar

Óscar Enríquez Carmona stibiumz

View GitHub Profile
@stibiumz
stibiumz / genymotionwithplay.txt
Last active August 29, 2015 14:27 — forked from wbroek/genymotionwithplay.txt
Genymotion with Google Play Services
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.1 (https://www.androidfilehost.com/?fid=96042739161892865 - gapps-L-4-21-15.zip)
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)
Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip)
Google Apps for Android 4.2 (https://www.androidfilehost.com/?fid=23060877490000128 - gapps-jb-20130812-signed.zip)
<?php
use Phalcon\Db\RawValue,
Phalcon\Mvc\Model\Message,
Phalcon\Mvc\Model\Relation;
abstract class Model extends \Phalcon\Mvc\Model {
/**
* @see https://github.com/phalcon/cphalcon/issues/2039
*/
@stibiumz
stibiumz / CIDR.php
Last active April 30, 2024 14:23 — forked from jonavon/CIDR.php
<?php
/**
* CIDR.php
*
* Utility Functions for IPv4 ip addresses.
* Supports PHP 5.3+ (32 & 64 bit)
* @author Jonavon Wilcox <[email protected]>
* @revision Carlos Guimarães <[email protected]>
* @version Wed Mar 12 13:00:00 EDT 2014
*/
<?php
/**
* Ve a http://panel.adtual.com/offers/offers_api y solicita la clave para la API
* En la url que hay abajo pega tu clave entre apy_key= y &limt
* Configura los países de los que no quieras ver ofertas dentro de $stopCountries
* (los códigos de estos los puedes sacar de http://en.wikipedia.org/wiki/ISO_3166-1
* , son los Alpha-2)
* Por último ejecuta el archivo en un servidor con PHP o en tu ordenador si tienes PHP instalado
*/