This file contains hidden or 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
/* Ismael Celis 2010 | |
Simplified WebSocket events dispatcher (no channels, no users) | |
// conn is an instance of WebSocket | |
var socket = new ServerEventDispatcher(conn); | |
// bind to server events | |
socket.bind('some_event', function(data){ | |
alert(data.name + ' says: ' + data.message) | |
}); |
This file contains hidden or 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 | |
require_once __DIR__ . '/silex.phar'; | |
/** | |
* @desc Add local pear setup. | |
*/ | |
set_include_path(__DIR__ . '/vendor/pear:' . get_include_path()); | |
$app = new Silex\Application(); |
This file contains hidden or 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
sudo apt-get install ruby rubygems | |
sudo gem install compass | |
cd Desktop/techup-mobile/lib/touch/resources/sass | |
/var/lib/gems/1.8/bin/compass watch |
This file contains hidden or 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 | |
require_once __DIR__ . '/../lib/vendor/Silex/silex.phar'; | |
$app = new Silex\Application(); | |
$app['debug'] = true; | |
// Registering Symfony\Yaml and Symfony\Config | |
$app['autoloader']->registerNamespace('Symfony', __DIR__.'/../lib/vendor/symfony/src'); |
This file contains hidden or 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
{ | |
"repositories": { | |
"forms-2.3.4": { | |
"package": { | |
"name": "webfactory/forms", | |
"version": "2.3.4", | |
"source": { | |
"url": "https://webfactory.kilnhg.com/Repo/wflib/Group/forms2", | |
"type": "hg", | |
"reference": "67900fb87017" |
This file contains hidden or 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
{ | |
"require": { | |
"php": ">=5.3.2", | |
"symfony/http-kernel": "2.1-dev", | |
"symfony/routing": "2.1-dev" | |
} | |
} |
This file contains hidden or 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
{ | |
"name": "acme/blog", | |
"type": "phpbb3-extension", | |
"description": "This will add an AI with mind reading capabilities to your board who will post your thoughts to a blog", | |
"homepage": "http://yourdomain.com/", | |
"version": "1.0.0", | |
"time": "2012-02-15", | |
"license": "GPLv2", | |
"authors": [ | |
{ |
This file contains hidden or 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 | |
require_once __DIR__.'/vendor/.composer/autoload.php'; | |
use Silex\Application; | |
$app = new Application; | |
$app['debug'] = true; | |
$app->register(new Silex\Provider\TwigServiceProvider(), array( |
This file contains hidden or 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
{ | |
"name": "any title", | |
"description": "any description", | |
"homepage": "http://www.developerhub.cz", | |
"authors": [ | |
{ | |
"name": "Radim Daniel Panek", | |
"homepage": "http://www.developerhub.cz" | |
} | |
], |
This file contains hidden or 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 React\Stomp; | |
class AckResolver | |
{ | |
private $result; | |
private $client; | |
private $subscriptionId; |
OlderNewer