Skip to content

Instantly share code, notes, and snippets.

Zizaco Zizaco

Block or report user

Report or block Zizaco

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View react-lumen.php
<?php
// bootstrap/react.php
// Remember, we need to do first: composer require react/react!
$app = include('app.php');
$host = 'localhost';
$port = 9000;
$reactApp = function (\React\Http\Request $request, \React\Http\Response $response) use ($app, $host, $port) {
@padcom
padcom / install-git.sh
Created Jun 19, 2011
Automated install of Git host on Ubuntu 10.04 with authorization and web interface for browsing
View install-git.sh
#!/bin/sh
#
# install required packages
#
apt-get install apache2 git-core gitweb
#
# create folder to host the repositories
#
You can’t perform that action at this time.