A Pen by Captain Anonymous on CodePen.
This file contains hidden or 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
// Original | |
PayPal\Core\PPHttpConnection: Connecting to https://api.sandbox.paypal.com/v1/payments/payment/PAY-3R545450RU530944LKNVWV3I | |
PayPal\Core\PPHttpConnection: Payload | |
PayPal\Core\PPHttpConnection: Adding header Content-Type: application/json | |
PayPal\Core\PPHttpConnection: Adding header User-Agent: PayPalSDK/rest-sdk-php 0.6.0 (lang=PHP;v=5.5.12;bit=64;os=Darwin_13.1.0;machine=x86_64;openssl=0.9.8y;curl=7.30.0) | |
PayPal\Core\PPHttpConnection: Adding header Authorization: Bearer rHgQ9VP9mNc-c8l5LpibstMVNKd4dkBUa2FW1K-bD.Y | |
PayPal\Transport\PPRestCall: {"id":"PAY-3R545450RU530944LKNVWV3I","create_time":"2014-05-08T11:30:53Z","update_time":"2014-05-08T11:30:53Z","state":"created","intent":"sale","payer":{"payment_method":"paypal","payer_info":{"shipping_address":{}}},"transactions":[{"amount":{"total":"64.95","currency":"AUD","details":{"subtotal":"64.95"}},"description":"Test: Superb Clean","item_list":{"items":[{"name":"2 Bedroom 1 Bathroom Mini Deluxe: Vacuum all carpets Mop and clean all floors Thoroughly |
This file contains hidden or 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
ALTER TABLE `tbl_fields_date` CHANGE `pre_populate` `pre_populate` varchar(80) COLLATE utf8_unicode_ci DEFAULT NULL; |
This file contains hidden or 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
diff --git a/symphony/lib/core/class.databasesessionhandler.php b/symphony/lib/core/class.databasesessionhandler.php | |
index 5a4d517..6d480a5 100644 | |
--- a/symphony/lib/core/class.databasesessionhandler.php | |
+++ b/symphony/lib/core/class.databasesessionhandler.php | |
@@ -88,7 +88,7 @@ class DatabaseSessionHandler implements SessionHandlerInterface | |
"DELETE | |
FROM `tbl_sessions` | |
WHERE `session` = '%s'", | |
- $this->database->cleanValue($session_id) | |
+ $this->database->cleanValue($key) |
This file contains hidden or 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 | |
require __DIR__ . '/vendor/autoload.php'; | |
use Symfony\Component\Routing\Route; | |
use Symfony\Component\Routing\RouteCollection; | |
$masterRoutes = new RouteCollection(); | |
$routesA = new RouteCollection(); |
This file contains hidden or 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/bash | |
DOZIP=false | |
DODELETE=false | |
DODOCS=false | |
while getopts "v:zrd" opt; do | |
case $opt in | |
v) | |
VERSION=$OPTARG |
- Remove the
httpd.conf
file and replace it with the prexisting one - Remove the
NameVirtualHost
setting form thehttpd.conf
- Remove the symlink for
authz_host.load
frommods-enabled
- Update the
authz_host.load
to include:LoadModule authz_core_module /usr/libexec/apache2/mod_authz_core.so
(at the top) - Remove PHP 5.6, and reinstall with Homebrew
- Symlink
mod_filter
ln -s ../mods-available/filter.load filter.load
- Update
deflate.conf
and replace themod_deflate
withmod_filter
- Update
status.conf
and remove theOrder
stuff (don't even bother adding it back? Not sure what I'm even using this for) - Create a
unixd.load
file inmods-available
with the contents:LoadModule unixd_module /usr/libexec/apache2/mod_unixd.so
- Symlink this into
mods-enabled
The everyday developer will clone the workspace to create their project. This repository accepts Issues, Wiki and Pull Requests.
All resources in here are custom to the specific project, all the dependencies will be resolved into /vendor
. There are a few boilerplate files such conductor
and index.php
.
Favour convention approach, commands, datasources, events and sections are autodiscovered where possible, however some configuration may be required for the service container (if the items have dependencies). Needs fleshing out.
It will include:
This file contains hidden or 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
<!ENTITY world "world"> | |
<!ENTITY copy "©"> |