Skip to content

Instantly share code, notes, and snippets.

View dbeuchler's full-sized avatar

Dennis Beuchler dbeuchler

View GitHub Profile
@dbeuchler
dbeuchler / NetFileSystemWatcher.cs
Created January 12, 2018 10:38
Network file system watcher
using System;
using System.ComponentModel;
using System.IO;
using System.Timers;
namespace NetFileSystemWatcher
{
public enum ConnectionState
{
/// <summary>
@dbeuchler
dbeuchler / AnyEntity.php
Last active December 14, 2015 05:49
This method helps you to sort your entity request in an Symfony2 entity!
/**
* This method helps you to sort your entity request in an Symfony2 entity!
*
* Please, share your tips commenting here:
* https://gist.github.com/5038457
*
* Author: @dbeuchler
*
* (Tested and used with doctrine 2.x and Symfony 2.0.x, 2.1.x)
*/
@dbeuchler
dbeuchler / Plesk_Firewall.sh
Last active December 14, 2015 05:49
This Script is for those who have problems with their Plesk 11.0.9 Firewall (ipv6 errors on activation).
#!/bin/sh
#
####################################################################################################
#
# Plesk Firewall Activation Script
#
# This Script is for those who have problems with their Plesk 11.0.9 Firewall (ipv6 on activation).
# This Script is opening standart ports to the VS.
#
#