Skip to content

Instantly share code, notes, and snippets.

Avatar
🤠
Head’em Up, Move’em Out!

Thomas Gelf Thomas-Gelf

🤠
Head’em Up, Move’em Out!
View GitHub Profile
View videokonferenz-allein.html
<html>
<head>
<meta charset="utf-8">
<title>Meine Videokonferenz mit mir selbst</title>
<style type="text/css">
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Helvetica, Arial, sans-serif;
@Thomas-Gelf
Thomas-Gelf / TestQuickForm.php
Created Oct 27, 2016
Constructor for the test form
View TestQuickForm.php
public function __construct($options = null)
{
if (is_array($options)) {
$this->setOptions($options);
} elseif ($options instanceof Zend_Config) {
$this->setConfig($options);
}
$this->init();
$this->loadDefaultDecorators();
$this->setMethod('post');
View 0001-Add-support-for-interface-names.patch
From ab54ed00c06ff857c482c784b99b1833cbee2e68 Mon Sep 17 00:00:00 2001
From: Jean Flach <jean-marcel.flach@netways.de>
Date: Wed, 9 Mar 2016 17:04:49 +0100
Subject: [PATCH] Add support for interface names
This adds the -n/--short-name. When this flag is set check_interfaces
will try to give a short name for all interfaces. It is overridden by
the alias flag, but both can be used at the same time.
---
snmp_bulkget.c | 217 ++++++++++++++++++++++++++++++++-------------------------
View 0002-Fix-argement-help.patch
From 0206fe9b21c07fabbc67e7a1e46dc96430066ef3 Mon Sep 17 00:00:00 2001
From: Jean Flach <jean-marcel.flach@netways.de>
Date: Fri, 11 Mar 2016 11:45:26 +0100
Subject: [PATCH 2/2] Fix argement help
---
snmp_bulkget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/snmp_bulkget.c b/snmp_bulkget.c
View gist:476b124dda8936b2b9c2
public function addHtmlImage($file, $is_filename = true,
$mimetype = null, $name = null)
{
$p_suff = '~\.(jpg|jpeg|png|gif)$~i';
if ($name) {
$filename = $name;
} else {
$filename = 'image' . (count($this->html_images) + 1);