Skip to content

Instantly share code, notes, and snippets.

View Thomas-Gelf's full-sized avatar
🤠
Head’em Up, Move’em Out!

Thomas Gelf Thomas-Gelf

🤠
Head’em Up, Move’em Out!
View GitHub Profile
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);
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
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 ++++++++++++++++++++++++++++++++-------------------------
@Thomas-Gelf
Thomas-Gelf / TestQuickForm.php
Created October 27, 2016 15:47
Constructor for the test form
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');
@Thomas-Gelf
Thomas-Gelf / videokonferenz-allein.html
Created November 5, 2020 12:02
Videokonferenz ganz allein
<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;