Skip to content

Instantly share code, notes, and snippets.

View StanAngeloff's full-sized avatar

Stan Angeloff StanAngeloff

View GitHub Profile
@StanAngeloff
StanAngeloff / README.md
Last active August 29, 2015 13:57
Vim Fuzzy completions
@StanAngeloff
StanAngeloff / .vromerc
Last active August 29, 2015 13:57
Personal Vrome preferences
map j 8j
map k 8k
" Use default Find from Chrome.
map <C-f> <C-v><C-f>
<?php
/**
* (c) PSP UK Group Ltd. <hello@psp-group.co.uk>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace Psp\Query\Aggregate;

Keybase proof

I hereby claim:

  • I am stanangeloff on github.
  • I am stanangeloff (https://keybase.io/stanangeloff) on keybase.
  • I have a public key whose fingerprint is 6E24 CA2D 687B 7A61 7F6C 1282 00C4 4212 595E A753

To claim this, I am signing this object:

@StanAngeloff
StanAngeloff / bpelunit.xml
Created May 18, 2014 12:05
BPELUnit Date arithmetic
<unit:condition>
<unit:template><![CDATA[(
## Since XPath 1.0 does not support date manipulation functions,
## we rely on Velocity's DateTool to perform the arithmetic involved.
##
## The substring(..) calls build a number from an ISO 8601 string.
## The resulting number is subtracted from the current date/time built using Velocity.
##
## The result of the operation is the duration between the two dates, in seconds.
(
@StanAngeloff
StanAngeloff / ArrayOfTextType.php
Created May 19, 2014 07:04
A quick & dirty Doctrine DBAL type for PostgreSQL text[] column.
<?php
/**
* (c) PSP UK Group Ltd. <hello@psp-group.co.uk>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace Psp\Components\DoctrineTypes\DBAL\Types;
<?php
class Klass
{
# {{{ LoggerAwareInterface
/**
* {@inheritdoc}
*/
public function setLogger(LoggerInterface $logger)
@StanAngeloff
StanAngeloff / parseuri.js
Created July 10, 2014 09:03
parseuri.js
// parseUri 1.2.2
// (c) Steven Levithan <stevenlevithan.com>
// MIT License
function parseUri (str) {
var o = parseUri.options,
m = o.parser[o.strictMode ? "strict" : "loose"].exec(str),
uri = {},
i = 14;
diff --git a/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java b/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
index 621bf00..7dd41e2 100644
see https://github.com/apache/axis2-java/commit/ab6072ef1ecb78e4811e66eae7b6d4e93c765d5b
see https://github.com/apache/axis2-java/commit/b00f147d9e39395b84404b6434e2f63c169f10c8
--- modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
+++ modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
@@ -425,22 +425,11 @@ public class AxisConfiguration extends AxisDescription {
boolean isClientSide = false;
while (services.hasNext()) {
AxisService axisService = (AxisService) services.next();
@StanAngeloff
StanAngeloff / postgresql.feature
Created August 5, 2014 15:43
Feature: PostgreSQL infrastructure integration.
@databases @postgresql
Feature: PostgreSQL infrastructure integration.
In order to have an efficient PostgreSQL server
As a DevOps Engineer
I want to ensure the infrastructure is set up for heavy-loads
Background:
Given the database connection "default" is in use
Scenario: The server must handle thousands of connections