This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Introduction | |
The mobile games industry is a multi-billion dollar industry - mobile gaming is | |
big business and is set to continue growing at an alarming rate. Smart phone | |
and tablet market penetration is increasing exponentially, with over one billion | |
units sold worldwide in 2013 alone. The power of mobile gaming devices is | |
increasing just as fast: mobile processing power has developed to the extent | |
that smartphones and tablets can produce near console-quality graphics. | |
At the same time, digital marketplaces have become crowded, and the cost of | |
raising your head above the parapet through user acquisition has never been | |
higher. The mobile games industry is under increasing pressure to perform, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure colors, if available. | |
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then | |
c_reset='\[\e[0m\]' | |
c_user='\[\e[0;32m\]' | |
c_path='\[\e[1;34m\]' | |
c_git_clean='\[\e[0;37m\]' | |
c_git_staged='\[\e[0;32m\]' | |
c_git_unstaged='\[\e[0;31m\]' | |
else | |
c_reset= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Setup java | |
if [ `uname -m` == 'x86_64' ]; then | |
PATH="/usr/lib64/jvm/java-7-oracle/jre/bin/" | |
JAVA_HOME="/usr/lib64/jvm/java-7-oracle/" | |
else | |
PATH="/usr/lib/jvm/java-7-oracle/jre/bin/" | |
JAVA_HOME="/usr/lib/jvm/java-7-oracle/" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[client] | |
[mysqld] | |
init-connect='SET NAMES utf8' | |
character-set-server=utf8 | |
collation-server=utf8_general_ci | |
max_allowed_packet='100M' | |
innodb_doublewrite=0 | |
innodb_flush_log_at_trx_commit=2 | |
sql_mode=NO_ENGINE_SUBSTITUTION,NO_AUTO_VALUE_ON_ZERO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Codeception\Module; | |
use Codeception\Lib\Driver\Db as Driver; | |
use Codeception\Exception\Module as ModuleException; | |
use Codeception\Exception\ModuleConfig as ModuleConfigException; | |
use Codeception\Configuration as Configuration; | |
class MysqlHelper extends \Codeception\Module\Db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* tests whether payment matches options | |
* | |
* returns 'true' if matches, 'false' otherwise | |
* | |
* $opts is an array of options to filter the payments by | |
* possible values are | |
* 'withoutPrefix' => 'prefix' - only select payment without this prefix | |
* 'withPrefix' => 'prefix' - only select payment with this prefix | |
* if no options are provided, always returns 'true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Utility for catching PHP errors and converting them to an exception | |
* that can be caught at runtime | |
* @author Jason Hinkle | |
* @copyright 1997-2011 VerySimple, Inc. | |
* @license http://www.gnu.org/licenses/lgpl.html LGPL | |
* @version 1.0 | |
*/ | |
class ExceptionThrower |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Downgrade to use old YAML parser | |
YAML::ENGINE.yamler = "syck" | |
# Lots of other stuff ..... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Neighborhoods from the Autonomous Capital City official ones and some not so. | |
TOWNS_CABA = Set.new ["Agronomía","Almagro","Balvanera","Barracas","Belgrano", | |
"Boedo","Caballito","Chacarita","Coghlan","Colegiales","Constitución","Flores", | |
"Floresta","La Boca","La Paternal","Liniers","Mataderos","Monserrat", | |
"Monte Castro","Nueva Pompeya","Núñez","Palermo,","Parque Avellaneda", | |
"Parque Chacabuco","Parque Chas","Parque Patricios","Puerto Madero","Recoleta", | |
"Retiro","Saavedra","San Cristóbal","San Nicolás","San Telmo","Vélez Sársfield", | |
"Versalles","Villa Crespo","Villa del Parque","Villa Devoto","Villa Gral. Mitre", | |
"Villa Lugano","Villa Luro","Villa Ortúzar","Villa Pueyrredón","Villa Real", | |
"Villa Riachuelo","Villa Santa Rita","Villa Soldati","Villa Urquiza","Abasto", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace the first ".less" with your extension and ".css.less" with the desired one | |
for i in `find . -type f`; do mv "$i" `basename -s .less "$i"`.css.less ; done |
OlderNewer