- a/o 2015-05-27 *
—
- Restart with cmd-R or cmd-D
- Erase drive / 3x if second-handk
- Reinstall MacOS
| backend default { | |
| .host = "127.0.0.1"; | |
| .port = "80"; | |
| } | |
| sub vcl_recv { | |
| if (req.http.Cache-Control ~ "no-cache") { | |
| return (pass); | |
| } |
| <?php | |
| class ActivitiService{ | |
| const BASE_URL = 'http://localhost:8080/activiti-rest/service/'; | |
| const ADMIN_USERNAME = 'kermit'; | |
| private $_services = array( | |
| 'processDefinitions' => 'process-definitions', | |
| 'processDefinition' => 'process-definition/', |
| #!/bin/bash | |
| sudo apt-get remove phantomjs | |
| sudo unlink /usr/local/bin/phantomjs | |
| sudo unlink /usr/local/share/phantomjs | |
| sudo unlink /usr/bin/phantomjs | |
| sudo apt-get install fontconfig |
| sudo su - | |
| # stuff we need to build from source | |
| apt-get install libpcre3-dev build-essential libssl-dev libssl0.9.8 zlib1g lsb-base | |
| # get the nginx source | |
| cd /opt/ | |
| wget http://nginx.org/download/nginx-1.4.4.tar.gz | |
| tar -zxvf nginx* |
| # Default backend definition. Set this to point to your content server. | |
| backend default { | |
| .host = "127.0.0.1"; | |
| .port = "8080"; | |
| .connect_timeout = 60s; | |
| .first_byte_timeout = 60s; | |
| .between_bytes_timeout = 60s; | |
| .max_connections = 800; | |
| } |
| <?php | |
| namespace Acme\PeopleSoftBundle\Listener; | |
| use Doctrine\DBAL\Event\ConnectionEventArgs; | |
| use Doctrine\DBAL\Events; | |
| use Doctrine\Common\EventSubscriber; | |
| /** | |
| * Changes Doctrine's default Oracle-specific column type mapping to Doctrine |
This procedure is tested on Mac OS X 10.8 with Developpers tools installed (xCode).
Download the following files from Oracle website (yes, you need to create an account and accept terms):
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
This procedure is tested on Mac OS X 10.10.5 with Developpers tools installed (xCode).
PHP 5.6 installed with Homebrew.
Download the following files from Oracle website (yes, you need to create an account and accept terms):