Very rough script to aid with migrating controllers presently from Slim 2.x to 3.x.
For 1.x move code to controllers first.
src
amphp/amp v2.4.4 v2.5.0 A non-blocking concurrency framework for PHP applications. | |
amphp/byte-stream v1.7.3 v1.8.0 A stream abstraction to make working with non-blocking I/O simple. | |
beberlei/assert v2.9.9 v3.2.7 Thin assertion library for input validation in business models. | |
brianium/paratest 4.0.0 4.2.0 Parallel testing for PHP | |
colinmollenhour/credis 1.11.1 1.11.2 Credis is a lightweight interface to the Redis key-value store which wraps the phpredis library when available for better performance. | |
composer/package-versions-deprecated 1.8.0 1.10.99.1 Composer plugin that provides efficient querying for installed package versions (no runtime IO) | |
composer/semver 1.5.1 3.0.0 Semver library that offers utilities, version constra |
amphp/amp v2.4.4 v2.5.0 A non-blocking concurrency framework for PHP applications. | |
amphp/byte-stream v1.7.3 v1.8.0 A stream abstraction to make working with non-blocking I/O simple. | |
beberlei/assert v2.9.9 v3.2.7 Thin assertion library for input validation in business models. | |
bensampo/laravel-enum v1.38.0 v2.1.0 Simple, extensible and powerful enumeration implementation for Laravel. | |
brick/varexporter 0.2.1 0.3.2 A powerful alternative to var_export(), which can export closures and objects without __set_s... | |
designsecurity/progpilot v0.6.0 v0.8.0 A Static Analyser for security | |
doctrine/collections 1.6.5 1.6.6 PHP Doctrine Collections library that adds additional functionality on top of PHP arrays. | |
doctrine/inf |
<?php declare(strict_types=1); | |
/** | |
* Smartcall auth experimentation. | |
* | |
* @author Jacques Marneweck <[email protected]> | |
* @copyright 2019 Jacques Marneweck. All rights strictly reserved. | |
*/ | |
require_once __DIR__.'/vendor/autoload.php'; |
#!/bin/bash | |
# | |
# This script is an attempt to rewrite the Ubuntu setup script for Redash along with supervisor, nginx, | |
# PostgreSQL and Redis. | |
# | |
# This script is not idempotent and if it stops in the middle, you can't just run it again. You should either | |
# understand what parts of it to exclude or just start over on a new VM (assuming you're using a VM). | |
# This sets to immediately exit on a non-zero return status and also | |
# any unset Environment Variables are flagged as an error |
/** | |
* Exports the Standard Two-Day Debit Order Service File | |
*/ | |
$app->get('/admin/debitorders/:batch_id/exportgalaxy', $authenticate($app), $is_admin($app), function ($batch_id) use ($app, $dsns) { | |
$batch = $dsns['bank']->prepare("SELECT * FROM company_debitorder_batches WHERE id=?")->execute([$batch_id])->fetchRow(); | |
/** | |
* Only batches which have been finalised can be exported. | |
*/ | |
#if ($batch['processed_at'] == '0000-00-00 00:00:00') { | |
# die ("You cannot export a batch that is still open."); |
Parameter | Value |
---|---|
Routing: Receiving Institution | 10000000001 |
Please see http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4513568 which explains how to correctly do this in JAVA.
# | |
# Varnish AWS S3 Gateway VCL | |
# | |
# Allows global read (GET, HEAD) and ACL protected writes (POST, PUT, DELETE). | |
# When writing, pass in Content-Type and Content-MD5, both are optional. | |
# | |
# Params: | |
# | |
# %BUCKET% - S3 bucket name, S3 host may be regional | |
# %ACCESS_ID% - IAM access ID for bucket |
# Author: Aram Grigorian <[email protected]> | |
# https://github.com/aramg | |
# https://github.com/opendns | |
# | |
# By default, nginx will close upstream connections after every request. | |
# The upstream-keepalive module tries to remedy this by keeping a certain minimum number of | |
# persistent connections open at all times to upstreams. These connections are re-used for | |
# all requests, regardless of downstream connection source. There are options available | |
# for load balacing clients to the same upstreams more consistently. | |
# This is all designed around the reverse proxy case, which is nginxs main purpose. |