- Drop the
Gemfile
and theGuardfile
in your project - Run
bundle install
- Run
bundle exec guard
<?php | |
public function waitForAjax() { | |
$timeoutMicroSeconds = 2000000; | |
$isAjaxActive = ' | |
var isAngularAjaxActive = false; | |
try { | |
var http = angular.element(".ng-scope").injector().get("$http"); | |
isAngularAjaxActive = !!(http.pendingRequests.length); | |
} |
<?php | |
# Need Composer with PHPUnit | |
require 'vendor/autoload.php'; | |
function cantor($x, $y) | |
{ | |
// ((x + y) * (x + y + 1)) / 2 + y; | |
return bcadd(bcdiv(bcmul(bcadd($x, $y), bcadd(bcadd($x, $y), 1)), 2), $y); | |
} |
Example usage:
In a template:
<element focus-on="modelUpdated">
</element>
In a controller:
- Your Mac with OS X
- Homebrew
- Brutuscat's homebrew games fork
El calendario laboral de 2014 recoge un total de nueve fiestas nacionales comunes a todas las comunidades autónomas, según se aprobó en Noviembre del 2013 por la Dirección General de Empleo.
En total, en España suele haber diez festivos nacionales, dos de las comunidades autónomas y dos fiestas locales.
En concreto, las nueve fiestas nacionales son el 1 de enero (Año Nuevo), el 6 de enero (Epifanía del Señor), el 18 de abril (Viernes Santo), el 1 de mayo (Fiesta del Trabajo), el 15 de agosto (Asunción de la Virgen), el 1 de noviembre (Día de Todos los Santos), el 6 de diciembre (Día de la Constitución española), el 8 de diciembre (La Inmaculada Concepción) y el 25 de diciembre (Natividad del Señor).
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, |
# 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= |
## 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 |