Skip to content

Instantly share code, notes, and snippets.

View tarunlalwani's full-sized avatar

Tarun Lalwani tarunlalwani

View GitHub Profile
@tarunlalwani
tarunlalwani / install_apache_qpid.sh
Last active August 29, 2015 14:20
This script will help you compile qpid 0.32 on Ubuntu LTS 14.04
#!/bin/sh
export DEBIAN_FRONTEND=noninteractive
QPID_VERSION=0.32
cd $HOME
echo "Creating new folder for qpid - $HOME/qpid"
mkdir qpid
cd qpid
echo "Downloading QPID Packages"
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-cpp-$QPID_VERSION.tar.gz &
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-tools-$QPID_VERSION.tar.gz &
<?php
$pid = pcntl_fork();
if ($pid == -1) {
die('could not fork');
} else if ($pid) {
// we are the parent
declare(ticks=1);
//pcntl_async_signals(true);