A Brief Introduction to Multi-Threading in PHP
- Foreword
- Execution
- Sharing
- Synchronization
- Pitfalls
#!/bin/bash -ex | |
# Paste this into ssh | |
# curl -sL https://gist.github.com/andsens/2913223/raw/bootstrap_homeshick.sh | tar -xzO | /bin/bash -ex | |
# When forking, you can get the URL from the raw (<>) button. | |
### Set some command variables depending on whether we are root or not ### | |
# This assumes you use a debian derivate, replace with yum, pacman etc. | |
aptget='sudo apt-get' | |
chsh='sudo chsh' |
I'm be using DreamCompute as my OpenStack provider, but there are dozens to choose from. I assume you already have Ansible and the OpenStack CLI tools installed.
With the proliferation of OpenStack public clouds offering free and intro tiers, it's becoming very easy to effectively run a simple application for free or nearly free. Also with the emergence of Ansible, you don't need to learn and deploy complicated tools to do configuration management.
<?xml version="1.0" encoding="UTF-8"?> | |
<PCMS xmlns="http://www.auspost.com.au/xml/pcms"> | |
<SendPCMSManifest> | |
<header> | |
<TransactionDateTime>2010>01-13T16:30:00.0Z</TransactionDateTime> | |
<TransactionId>1</TransactionId> | |
<TransactionSequence>1</TransactionSequence> | |
<ApplicationId>MERCHANT</ApplicationId> | |
</header> | |
<body> |