Remember you can get help with any UNIX command with man <command>
.
Most Linuxes ship with the bash
shell.
<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 --> |
/* | |
mediaboxAdvanced v1.3.4b - The ultimate extension of Slimbox and Mediabox; an all-media script | |
updated 2010.09.21 | |
(c) 2007-2010 John Einselen <http://iaian7.com> | |
based on Slimbox v1.64 - The ultimate lightweight Lightbox clone | |
(c) 2007-2008 Christophe Beyls <http://www.digitalia.be> | |
MIT-style license. | |
*/ | |
var Mediabox; |
[[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 | |
/** | |
* Extract the messages from that awful HTML file Facebook gives you when | |
* you request an archive of your data. | |
* | |
* Writes them to a database. | |
* | |
* @author Damien Walsh <me@damow.net> | |
* @license MIT | |
*/ |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
/** | |
* H.264 Network DVR | |
* Settings getter | |
* |
LMG7401PLBC Display Module | |
160x60 graphic dot-matrix LCD | |
Chips: | |
1 x Hitachi HD61830B Dot Controller | |
1 x Winbond W24655 Static RAM (SRAM) 1KB | |
5 x SANYO LC7940N Segment Driver | |
Schematic: |
<?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'); |