Skip to content

Instantly share code, notes, and snippets.

Avatar

Florian Dorn derflocki

  • Austria
View GitHub Profile
@derflocki
derflocki / .env
Last active Sep 13, 2018
docker-compse .env file resolution
View .env
COMPOSE_PROJECT_NAME=bug
View PIDChecker.php
<?php
/**
* php PID checker class for linux, using /proc/$PID/ for is-alive-check
* $pidchecker = new PIDChecker("/tmp/boku_accman_set_boku_mailbox.pid");
* try {
* $pidchecker->check();
* } catch(Exception $e) {
* print($e->getMessage())."\n";
* die();
* }
View ssdp.py
# Copyright 2014 Dan Krause
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,