Skip to content

Instantly share code, notes, and snippets.

View nilsmunch's full-sized avatar

Nils Munch nilsmunch

View GitHub Profile
[12:22:58] <getsniped> done
[12:23:12] <nilsmunch> thanks
[12:23:50] <nilsmunch> hmm
[12:24:31] <nilsmunch> did it get flushed recently ?
[12:24:35] <nilsmunch> http://overwatch.perlsec.dk/issues/1150
[12:24:51] <nilsmunch> trying to find http://overwatch.perlsec.dk/attachments/download/239/Comment_error02.PNG but now the list of reports is empty :I
[12:25:06] <nilsmunch> oh well, will try to replicate it somehow :)
[12:25:21] <getsniped> linas site is a resetting test site, so it runs on a minimal data package. she resets the site many time a day, then runs automated tests against it :)
[12:25:29] <nilsmunch> ah makes sense
$comment = $this->order->comment;
if (!empty($comment)) echo '<b>Ved bestilling:</b><p>'.htmlentities($this->order->comment).'</p>';
Echoes normally.
if (!empty($this->order->comment)) echo '<b>Ved bestilling:</b><p>'.htmlentities($this->order->comment).'</p>';
When not put out in another variable, this is empty... becuase f*ck you developer...
if(empty($choices['medic'])){
$choices['medic'] = $choices['medic'];
}
if(empty($choices['treat'])){
$choices['treat'] = $choices['treat'];
}
if(empty($choices['doctor'])){
$choices['doctor'] = $choices['doctor'];
}
This file has been truncated, but you can view the full file.
Debug SOAP calls
Url: http://plan.bios-danmark.dk/gateway/WfpConnector.asmx?wsdl
Call function (via WfpGetData) : Values :
Call result :
array(1) {
["wfpgetdata-response"]=>
array(1) {
switch($this->request->data['read_bydata']['model']){
case 'ambulance':
$this->ambulance_view_file_status($this->request->data['read_bydata']['file_id'],(isset($this->request->data['understand']) ? 2:3));
break;
case 'daily':
$this->daily_view_file_status($this->request->data['read_bydata']['file_id'],(isset($this->request->data['understand']) ? 2:3));
break;
}
@nilsmunch
nilsmunch / Now
Last active August 27, 2015 12:14
$seal_id = $this->SealItem->sealItemId($code['Seal']['id']);
URL : https://secure.steamads.com/track/investimonials/
Values (POST)
- ip (string)
- split (intiger)
- value (intiger)
- customer_id (string)
@nilsmunch
nilsmunch / gist:4af71db7e3aa7133327c
Created September 30, 2014 14:41
"Bad" name gone popular
Cecilia — blind
Claudia – lame
Deirdre – sorrowful
Emily – rival
Kennedy – misshapen head
<?
session_start();
if ($_GET['action'] == 'reset') {
$_SESSION['SCORE'] = 0;
}
if ($_GET['action'] == 'up') {
$_SESSION['SCORE'] ++;
}
Annika Conneley: Hey, kan jeg snakke lidt med dig, angående Torn ?
Morten Engemand: Det kan du sagtens
Morten Engemand: Hvad tænkte du på? Noget, vi skal se på inden mit teams næste eventyr?
Annika Conneley: well... snarere modsat
jeg forstår at jeg er blevet evakueret om bord på jeres skib, yes ?
hvilket betyder denne samtale kan vi have i enrum
(selv hvis jeg er confined to quaters tror jeg du er en kvik nok mand til at finde en måde at kunne komme i snak med mig)
Sunday
Morten Engemand: Det kan jeg helt sikkert. Jeg er ikke påkrævet under 'action sekvenser', og jeg kan sagtens finde en måde at få adgang fortroligt til andre på. Frøken Conneley skal helt sikkert have brug for lægehjælp for det chock, jeg er 100% overbevist om, at hun fakede, da hun blev slæbt ombord