Skip to content

Instantly share code, notes, and snippets.

@csik
csik / gist:090b404408cb6b8d1a62
Last active May 16, 2018 00:41
Freeswitch_Install
#!/bin/bash
# FreeSWITCH Installation script for CentOS 5.5/5.6
# and Debian based distros (Debian 5.0 , Ubuntu 10.04 and above)
# Copyright (c) 2011 Plivo Team. See LICENSE for details.
FS_CONF_PATH=https://github.com/plivo/plivoframework/raw/master/freeswitch
FS_GIT_REPO=https://stash.freeswitch.org/scm/fs/freeswitch.git
FS_INSTALLED_PATH=/usr/local/freeswitch
@nconder
nconder / glasshole.bat
Last active March 6, 2018 04:42
glasshole.bat
@echo off
ECHO Created by Opulent Computing
ECHO Version 0.1
ECHO glasshole.bat with Windows Server 2012 R2, 2012, 2008 R2, 2008 DHCP Server.
ECHO This batch fill will block any device with in the a MAC address range from obtaining an IP from the servers.
ECHO We assume you already have a Windows Server 2012 R2, 2012, 2008 R2, 2008 DHCP Server running.
@pklaus
pklaus / dnsupdate.py
Last active November 14, 2023 23:50
dnsupdate is meant to replace nsupdate, the standard DDNS update tool created by BIND authors ISC. While nsupdate does the job it is awkward to wrap in scripts and its usage in general is just not very intuitive. dnsupdate is meant to work well from the command line or from scripts and easy to use. It also does some nice things like automaticall…
#!/usr/bin/env python2.7
# Matt's DNS management tool
# Manage DNS using DDNS features
#
# See http://planetfoo.org/blog/archive/2012/01/24/a-better-nsupdate/
#
# Usage: dnsupdate -s server -k key -t ttl add _minecraft._tcp.mc.example.com SRV 0 0 25566 mc.example.com.
# -h HELP!
# -s the server
# -k the key