Skip to content

Instantly share code, notes, and snippets.

@bweff
bweff / asterisk-logfile-analyzer.php
Created October 31, 2012 21:53 — forked from zyphlar/asterisk-logfile-analyzer.php
Cheap and Dirty Asterisk Logfile Analysis
<?php
/* Cheap and Dirty Asterisk Logfile Analysis
* by Will Bradley, http://willbradley.name
* Released to the public domain, 6-26-2012
*
* To install, modify the $dbname and other variables,
* create the MySQL database, user, and permissions,
* and double-check the asterisk logfile paths/formats below.
* This is a very cheap script, use at your own risk!
*
@bweff
bweff / ResetOutlook2010AutoDiscover.reg
Created August 4, 2011 10:48
Reset Outlook 2010 Autodiscovery
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover]
"PreferLocalXML"=dword:1
"ExcludeHttpRedirect"=dword:1
"ExcludeHttpsAutodiscoverDomain"=dword:1
"ExcludeHttpsRootDomain"=dword:1
"ExcludeScpLookup"=dword:0
"ExcludeSrvLookup"=dword:0
"ExcludeSrvRecord"=dword:0
@bweff
bweff / makecentos5_6.sh
Created July 24, 2011 20:48
Creating CentOS 5.6 templates in XenServer
#!/bin/bash
CENTOS=$(xe template-list name-label="CentOS 5 (32-bit)" --minimal)
distro="CentOS 5.6"
arches=("32-bit" "64-bit")
for arch in ${arches[@]} ; do
echo "Attempting $distro ($arch)"