Skip to content

Instantly share code, notes, and snippets.

<?php
$test = new \stdClass;
$clone1 = clone $test;
$clone2 = clone $test;
$clone1_0 = clone $clone1;
echo 'TEST hash'.spl_object_hash($test) . PHP_EOL;
echo 'CLONE1 hash'.spl_object_hash($clone1) . PHP_EOL;
@morfie
morfie / flexget.service
Created December 31, 2015 15:57
/lib/systemd/system/flexget.service
[Unit]
Description=Flexget Daemon
After=network.target
[Service]
Type=simple
User=osmc
UMask=000
ExecStart=/usr/local/bin/flexget daemon start
ExecStop=/usr/local/bin/flexget daemon stop