Remember you can get help with any UNIX command with man <command>
.
Most Linuxes ship with the bash
shell.
[[inputs.snmp]] | |
agents = ["udp://10.10.0.49:161"] | |
version = 1 | |
community = "public" | |
[[inputs.snmp.field]] | |
name = "battery_capacity_percent" | |
oid = ".1.3.6.1.4.1.318.1.1.1.2.2.1.0" | |
[[inputs.snmp.field]] |
module Appleite(xCount=5, yCount=5, holeSize=20, padding=3, depth=10) { | |
difference() { | |
holeDistance = holeSize + padding; | |
cube([ | |
xCount * holeDistance, | |
yCount * holeDistance - (holeDistance / 2), | |
depth | |
]); |
#!/usr/bin/env python | |
# | |
# Extracts channel information from Virgin Media Super Hub 2 devices | |
# and exports StatsD measurements. | |
# | |
import statsd | |
import urllib2 | |
import re | |
from bs4 import BeautifulSoup |
<?php | |
include 'vendor/autoload.php'; | |
use ILDA\FrameReader; | |
use ILDA\FrameDrawer; | |
$frameReader = new FrameReader(__DIR__ . '/samples/ILDA12K.ild'); | |
$frame = $frameReader->nextFrame(); | |
$frameDrawer = new FrameDrawer($frame); | |
$frameDrawer->render(500, 500); | |
$frameDrawer->savePNG(__DIR__ . '/ILDA12K.png'); |
<DIALTEMPLATE> | |
<TEMPLATE MATCH="999" Timeout="0"/> <!-- Emergency --> | |
<TEMPLATE MATCH="112" Timeout="0"/> <!-- Emergency --> | |
<TEMPLATE MATCH="101" Timeout="0"/> <!-- Almost an Emergency --> | |
<TEMPLATE MATCH="7..." Timeout="0"/> <!-- Asterisk tools --> | |
<TEMPLATE MATCH="10000" Timeout="0"/> <!-- Sipgate Test --> | |
<TEMPLATE MATCH="118..." Timeout="0"/> <!-- Men with moustaches et al --> | |
<TEMPLATE MATCH="116..." Timeout="0"/> <!-- Pan-European Social Help --> |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
/** | |
* H.264 Network DVR | |
* Settings getter | |
* |
<DIALTEMPLATE> | |
<TEMPLATE MATCH="999" Timeout="0"/> <!-- Emergency --> | |
<TEMPLATE MATCH="112" Timeout="0"/> <!-- Emergency --> | |
<TEMPLATE MATCH="101" Timeout="0"/> <!-- Almost an Emergency --> | |
<TEMPLATE MATCH="100" Timeout="0"/> <!-- Operator --> | |
<TEMPLATE MATCH="155" Timeout="0"/> <!-- International Operator --> | |
<TEMPLATE MATCH="123" Timeout="0"/> <!-- Speaking Clock --> | |
<TEMPLATE MATCH="118..." Timeout="0"/> <!-- Men with moustaches et al --> |
I hereby claim:
To claim this, I am signing this object:
<?php | |
require __DIR__ . '/../vendor/autoload.php'; | |
// Build a schema that defines the structure of the binary file | |
$schema = new Binary\Schema; | |
$schema | |
// 96 bytes of bullshit at the head of the file | |
// Probably does have some meaning, but right now be silly and skip it with a Padding field | |
->addField( |