Git contrib-scripts and grc
Run commands in install.sh
/** | |
* Maps core module | |
* | |
* @access public | |
* @author Frank Neff | |
*/ | |
define("maps/core", | |
[ | |
// require jQuery | |
"./javascriptlibs/jquery.js", |
/** | |
* Function to fix native charCodeAt() | |
* | |
* Now, we can use fixedCharCodeAt("foo€", 3); for multibyte (non-bmp) chars too. | |
* | |
* @access public | |
* @see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/charCodeAt | |
* @note If you hit a non-bmp surrogate, the function will return false | |
* @param str String Mixed string to get charcodes | |
* @param idx Integer Position of the char to get |
#jsOverlay | |
{ | |
background-color: #ffffff; | |
opacity: 0.7; | |
filter: alpha(opacity=70); | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; |
/** | |
* jQuery plugin pattern | |
* | |
* An example or pattern for jQuery plugin authoring | |
* | |
*/ | |
( function ( $ ) { | |
/** |
<body xmlns="http://jabber.org/protocol/httpbind" | |
sid="e0408bf8d86f0a7f44afda59aa8f81b75d029bb6" | |
wait="60" | |
requests="2" | |
inactivity="30" | |
maxpause="120" | |
polling="2" | |
ver="1.6" | |
from="ymc-pg-ejabberd" | |
secure="true" |
# The test environment we want to use (PHP 5.3) | |
language: php | |
php: | |
- 5.3 | |
- 5.4 | |
before_script: | |
# Packages installation | |
- sudo apt-get install -y --force-yes apache2 libapache2-mod-php5 php5-mysql php5-sqlite | |
# Apache webserver configuration | |
- echo "Alias /behat $(pwd)/web" | sudo tee -a /etc/apache2/sites-available/default |
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="build" default="phpunit"> | |
<target name="phpunit" depends="composer-install"> | |
<exec executable="vendor/bin/phpunit" failonerror="true"> | |
<!-- include group unit --> | |
<arg line="--group unit"/> | |
<!-- arg for test directory --> | |
<arg value="./"/> | |
</exec> |
<?php | |
interface fooplan | |
{ | |
function getReverseName(); | |
} | |
class foo implements fooplan | |
{ | |
private $name; |
<?xml version="1.0" ?> | |
<!-- configuring object repositories as services --> | |
<container xmlns="http://symfony.com/schema/dic/services" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> | |
<services> | |
<service id="entity.repository.facebook_identity" | |
class="Doctrine\ORM\EntityRepository" | |
factory-service="doctrine.orm.entity_manager" |
Git contrib-scripts and grc
Run commands in install.sh