Skip to content

Instantly share code, notes, and snippets.

tebe tbreuss

Block or report user

Report or block tbreuss

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tbreuss
tbreuss / readme.md
Created Aug 3, 2018
README.md Template
View readme.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@tbreuss
tbreuss / TextareaUpload.vue
Last active Dec 31, 2017 — forked from stevebauman/TextareaUpload.vue
Markdown Text Area Upload VueJS 2 Component
View TextareaUpload.vue
<template>
<textarea
:id="id"
:name="name"
:value="value"
:placeholder="placeholder"
:rows="rows"
:cols="cols"
class="form-control"
@dragover.prevent
@tbreuss
tbreuss / php_object_to_array.php
Created Jul 5, 2017 — forked from victorbstan/php_object_to_array.php
recursively cast a PHP object to array
View php_object_to_array.php
<?php
/*
This function saved my life.
found on: http://www.sitepoint.com/forums//showthread.php?t=438748
by: crvandyke
It takes an object, and when all else if/else/recursive functions fail to convert the object into an associative array, this one goes for the kill. Who would'a thunk it?!
*/
$array = json_decode(json_encode($object), true);
@tbreuss
tbreuss / Application.php
Created Jun 30, 2017 — forked from shameerc/Application.php
Simple plugin system using Reflection api
View Application.php
<?php
/**
* Application class
*
* @author Shameer
*/
class Application {
private $plugins = array();
public function __construct() {
// Constructor
@tbreuss
tbreuss / zabbix-installation.md
Last active May 25, 2017
Zabbix Installations-Anleitung
View zabbix-installation.md

Zabbix Installationsanleitung

Diese Anleitung orientiert sich im wesentlichen an http://c64-online.com/?page_id=4707. Sie unterscheidet sich aber in der eingesetzten Zabbix Version (LTS-Version 3.0.8) und der Server Infrastruktur (Raspberry Pi 3).

Zabbix Server installieren

Das Raspbian Betriebssystem aktualisieren:

@tbreuss
tbreuss / .bash_profile
Last active Jun 17, 2017 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
View .bash_profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@tbreuss
tbreuss / dnsbl.php
Last active Jul 6, 2019
IP Blacklist Check Script - This is a simple PHP script to lookup for blacklisted IP against multiple DNSBLs at once.
View dnsbl.php
<?php // Simple PHP script to lookup for blacklisted IP against multiple DNSBLs at once. ?>
<html>
<head>
<title>DNSBL Lookup Tool - IP Blacklist Check Script</title>
</head>
<body>
<h2>IP Blacklist Check Script</h2>
<form action="" method="get">
<input type="text" value="" name="ip"/>
<input type="submit" value="LOOKUP"/>
@tbreuss
tbreuss / markdown.css
Created May 23, 2016
Default styling for Markdown files.
View markdown.css
body{
margin: 0 auto;
font-family: Georgia, Palatino, serif;
color: #444444;
line-height: 1;
max-width: 960px;
padding: 30px;
}
h1, h2, h3, h4 {
color: #111111;
@tbreuss
tbreuss / regex-multiline-colon-separated-key-value-pairs.php
Last active Apr 5, 2016
Regex to capture colon-separated key-value pairs, with multi-line values
View regex-multiline-colon-separated-key-value-pairs.php
<?php
$contents = "
@title: Tests / Variablen
@menu: Variablen
@layout: default.html
@format: md
@twig: 1
@date: 1388102400
@keep_extension: 0
@tbreuss
tbreuss / linux-kommandos.md
Last active Mar 24, 2016
LINUX - Kommandos
View linux-kommandos.md

LINUX - Kommandos

Befehl Beschreibung Art
at Ausführen eines Programms Scheduler
atq Anzeigen der einmalig geplanten Programmen Scheduler
atrm Löschen eines einmalig geplanten Programms Scheduler
batch Ausführen eines Programms bei niedriger Systemlast Scheduler
cal Kalender anzeigen
cat Verknüpfung von Dateien ("concatenate") Allgemein
You can’t perform that action at this time.