Skip to content

Instantly share code, notes, and snippets.

@dfiel
dfiel / PBS-IPTV
Last active September 3, 2022 23:37
PBS-IPTV
#EXTM3U x-tvg-url="https://iptv-org.github.io/epg/guides/af/arianaafgtv.com.epg.xml.gz,https://iptv-org.github.io/epg/guides/ar/directv.com.ar.epg.xml.gz,https://iptv-org.github.io/epg/guides/ar/mi.tv.epg.xml.gz,https://iptv-org.github.io/epg/guides/at/magentatv.at.epg.xml.gz,https://iptv-org.github.io/epg/guides/bf/canalplus-afrique.com.epg.xml.gz,https://iptv-org.github.io/epg/guides/bo/comteco.com.bo.epg.xml.gz,https://iptv-org.github.io/epg/guides/br/mi.tv.epg.xml.gz,https://iptv-org.github.io/epg/guides/bs/rev.bs.epg.xml.gz,https://iptv-org.github.io/epg/guides/ca/tvhebdo.com.epg.xml.gz,https://iptv-org.github.io/epg/guides/co/mi.tv.epg.xml.gz,https://iptv-org.github.io/epg/guides/cz/m.tv.sms.cz.epg.xml.gz,https://iptv-org.github.io/epg/guides/dk/allente.se.epg.xml.gz,https://iptv-org.github.io/epg/guides/fr/chaines-tv.orange.fr.epg.xml.gz,https://iptv-org.github.io/epg/guides/gr/cosmote.gr.epg.xml.gz,https://iptv-org.github.io/epg/guides/id-en/mncvision.id.epg.xml.gz,https://iptv-org.github.io/epg/guide
@dfiel
dfiel / librenms_linux_mon_nosudo.sh
Last active October 23, 2018 21:46 — forked from axemann/librenms_linux_mon_setup.txt
LibreNMS Linux server monitoring setup (Ubuntu)
apt-get install snmpd -y
mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.old
cat > /etc/snmp/snmpd.conf << EOF
# Change public below to your preferred SNMP community string
com2sec readonly default public
group MyROGroup v2c readonly
view all included .1 80
access MyROGroup "" any noauth exact all none none
@dfiel
dfiel / b5590798211453023e56a9c385d33c7cff08419c6094e1c6ea7852a97c02650f.php
Created March 14, 2017 19:40
b5590798211453023e56a9c385d33c7cff08419c6094e1c6ea7852a97c02650f.php
<?php
/* /srv/web/firefly/resources/views/index.twig */
class __TwigTemplate_8ca2ed93046fc5d820ac0fc2b0ee8cd10b8937a3e77e2e2dad2e6024a27aa1b6 extends TwigBridge\Twig\Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
Error
This error occured in file /srv/web/firefly/app/Support/Amount.php on line 133 with code 0.
Stack trace
#0 /srv/web/firefly/app/Support/Amount.php(133): number_format(324.1, NULL, '.', ',')
#1 /srv/web/firefly/app/Support/Amount.php(113): FireflyIII\Support\Amount->formatAnything(Object(FireflyIII\Models\TransactionCurrency), '324.10000000000...', false)
#2 /srv/web/firefly/app/Support/Twig/General.php(198): FireflyIII\Support\Amount->format('324.10000000000...', false)
#3 /srv/web/firefly/storage/framework/views/twig/b5/b5590798211453023e56a9c385d33c7cff08419c6094e1c6ea7852a97c02650f.php(225): FireflyIII\Support\Twig\General->FireflyIII\Support\Twig\{closure}('324.10000000000...')
#!/bin/bash
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
echo ':: Installing repo key'
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo ':: Adding repo entry'