Skip to content

Instantly share code, notes, and snippets.

View nilsmunch's full-sized avatar

Nils Munch nilsmunch

View GitHub Profile
$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...
[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
@nilsmunch
nilsmunch / Assets.php
Last active July 18, 2016 11:25
Changes to the like.st to accomodate the new image server.
/var/www/app/Horsebook/Core/Nodes/Assets/Facades/Assets.php
<?php namespace Horsebook\Core\Nodes\Assets\Facades;
use Illuminate\Support\Facades\Facade;
/**
@nilsmunch
nilsmunch / Reddit AMA with Jason Bulmahn
Last active March 14, 2017 14:20
Pathfinder Lead Gamemaster AMA
How many animals and companion creatures can I have at any given time?
At the beginning of each adventure, you may select one companion creature to be your active pet.
This creature may be a class-granted creature, such as an animal companion, familiar, eidolon, or phantom, or it may be a creature that you purchase, such as a combat-trained bison.
This creature may participate fully in combat, skill checks, and other challenges in the scenario.
In addition to the active pet, you may bring up to two additional creatures.
The first is a mount or beast of burden, such as a horse or mule, which may only take move actions.
The second is a familiar or mundane pet that does not participate in combat or other challenges.
Such familiars grant their basic special ability, such as a bat's +3 bonus on Fly checks, the Alertness feat, and access a witch's spells.
You can switch your active pet between your three pets between encounters, or using a Standard commanding actions if you are
{"mycard":"vampire","myname":"Gecko","gamephase":"night","gameround":190,"timetoround":11,"players":{"8":{"id":8,"name":"Gecko","present":true,"hp":3,"role":"vampire"},"14":{"id":14,"name":"Jango07","present":false,"hp":3,"role":"???"},"15":{"id":15,"name":"Sebastian","present":false,"hp":3,"role":"???"},"16":{"id":16,"name":"ZenWreth","present":false,"hp":3,"role":"???"},"17":{"id":17,"name":"Testbob","present":false,"hp":3,"role":"(spectator)"}}}
@nilsmunch
nilsmunch / gist:2ed4e0a96ab80ba16f373a878dac2b30
Last active June 26, 2018 21:55
Ludum Dare 40 : Greedy Dungeon STEAM keys
NEW BATCH: 25th December 2017:
88B99-8I50I-XH8WL
XFNY9-XH349-HXFLQ
0Y5QL-CLBQ8-CMBK7
V7WRG-B89HH-3NF5L
XR3T2-9ZHZA-VZ8GD
J0G9A-GY5BW-JI7E3
MDNDY-RTHI6-9YTWV
NBD2T-ZN7IM-3TT5T
H8NFB-JWMNA-I25E0
butler push Direwolf_win lizardfactory/direwolf:win-beta --userversion-file ../Assets/Resources/manager/v.txt
@nilsmunch
nilsmunch / gist:ac57e34ee8074848688b53de6909caf8
Last active June 20, 2023 12:29
GGJ 18 - "Xmit" Game - Steam Keys
Our tiny game for GGJ 18 is still being made. (FAR from done)
https://globalgamejam.org/2018/games/xmit
Pluck a key and install our early alpha on steam :D
Only take one each - you are on your honor. Just pick a random one and give it a try.
New batch (26 Feb)
@nilsmunch
nilsmunch / gist:ffa69a7597be8e86f229dfe44d0c8ba7
Last active June 20, 2023 12:29
NGJ 2018 Steam Keys - TELL ME EVERYTHING
Grab a key and install on steam :)
NEW BATCH (15h April)
6PR9V-NTRQH-9WQ4X
VVQE5-HBR7P-4I7EL
JLKKV-G7GGY-4T2ZE
QGI3D-X9TDZ-7WMI5
4K5NG-V2GE6-3Z90L
GWW6M-ABCJV-V50V8
H326C-XKD26-WBF4M
There's a few things I noticed in my line of work, that they don't teach you in the academy.
First... The smell. No aircondition in the interrogation room, and the air is as stale as the weather outside.
Second, being in the room with a person that might be a cold-blooded killer,
is not something that brings up the best icebreakers.
Third, words are fickle. If you don't say the right things at the right time, you might as well throw your casefiles out the window.