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
server.js | |
var io = require('socket.io').listen(80); | |
io.sockets.on('connection', function (socket) { | |
socket.emit('news', { hello: 'world' }); | |
socket.on('my other event', function (data) { | |
console.log(data); | |
}); | |
}); |
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
path.build = /vol/sys/shared/htdocs/devs-v5/mshwalbe/V5 | |
environment = development | |
database.name = database name here | |
database.host = your host | |
database.login = username | |
database.password = password | |
solr.hostname = host | |
solr.username = |
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
Instructions for installation of Dependencies | |
Remove your Pear Path from .bashrc in your home folder and all dependencies from it | |
#PATH="$PATH:/home/nmartin/pear/pear" | |
#export PATH | |
#alias phpunit='php /home/nmartin/pear/pear/phpunit' | |
#alias pear='/home/nmartin/pear/pear/pear' | |
#alias phpcs='/home/nmartin/pear/pear/phpcs' |
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
install through npm | |
need to include | |
<script src="/socket.io/socket.io.js></script> into runner.html |
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
#!/bin/sh | |
################################################################################ | |
# | |
# Script to determine if composer.lock is updated through git and run an update | |
# | |
############################################################################### | |
diff=`git diff origin/master composer.lock` | |
echo 'Checking for Dependency Updates' |
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 | |
use Doctrine\Common\Annotations\AnnotationRegistry; | |
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { | |
.... | |
public function _registerAnnotations() { | |
AnnotationRegistry::registerNamespace('Annotation'); | |
} | |
} |
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 | |
use Doctrine\ORM\EntityManager, | |
Doctrine\ORM\Configuration, | |
Doctrine\DBAL\Event\Listeners\MysqlSessionInit, | |
Doctrine\Common\Cache\ArrayCache, | |
Doctrine\Common\Annotations\AnnotationRegistry, | |
Doctrine\Common\Annotations\AnnotationReader, | |
Doctrine\Common\Annotations\CachedReader, | |
Doctrine\Common\Annotations\IndexedReader, | |
Doctrine\ORM\Mapping\Driver\Driver, |
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
path: module/Application/config | |
<?php | |
return array( | |
'router' => array( | |
'routes' => array( | |
'default' => array( | |
'type' => 'Zend\Mvc\Router\Http\Segment', | |
'options' => array( | |
'route' => '/[:controller[/:action]]', | |
'constraints' => array( |
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 SiteModuleTest; | |
use Zend\Loader\AutoloaderFactory; | |
use ApplicationModuleTest\ServiceManagerTestCase; | |
$basePath = __DIR__ . '/../../../../'; | |
chdir(__DIR__); |
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
define(["doh/runner", "dojo/_base/xhr", "dojo/_base/connect","dojo/json", "dojo/io-query"], function(doh, xhr, connect, json, ioQuery) { | |
var uri = window.location.search; | |
var query = uri.substring(uri.indexOf("?") + 1, uri.length); | |
var queryObject = ioQuery.queryToObject(query); | |
var data = json.stringify({'doh': 'start', "browser": queryObject.browser}); | |
xhr.post({ | |
url: "/receiver.php", | |
sync:true, |
OlderNewer