Skip to content

Instantly share code, notes, and snippets.

View ktamas77's full-sized avatar
🏠
Working from home

Tamas Kalman ktamas77

🏠
Working from home
View GitHub Profile
@ktamas77
ktamas77 / phpunit-verbose.sh
Created January 23, 2019 22:40
Display PHPUnit Errors
php -d display_errors=On vendor/bin/phpunit -c phpunit.xml
@ktamas77
ktamas77 / update_query_param.php
Last active December 21, 2018 20:56
Update Query Parameter
<?php
function update_query_param($url, $name, $value) {
$parsed_url = parse_url($url);
list($scheme, $host) = array_values($parsed_url);
$path = '';
if (isset($parsed_url['path'])) {
$path = $parsed_url['path'];
}

Keybase proof

I hereby claim:

  • I am ktamas77 on github.
  • I am ktamas77 (https://keybase.io/ktamas77) on keybase.
  • I have a public key ASA9Ba7vITK7jZv1Q8XmQxTmHTx-4obCSiDADqzgcEgvHgo

To claim this, I am signing this object:

@ktamas77
ktamas77 / gist:3101679
Created July 12, 2012 22:56
AT&T API HTTP POST REQUEST HEADER for ALL SOAP Actions
<?php
$headers = Array(
'Content-Type: text/xml;charset=UTF-8',
'SOAPAction: ""'
);
?>