Skip to content

Instantly share code, notes, and snippets.

View miketrebilcock's full-sized avatar

Mike Trebilcock miketrebilcock

View GitHub Profile
@miketrebilcock
miketrebilcock / gist:5814235
Last active December 18, 2015 16:49
DatabaseRequestLogger for ServiceStack
using ServiceStack.Common.Web;
using ServiceStack.Logging;
using ServiceStack.OrmLite;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface;
using ServiceStack.ServiceInterface.ServiceModel;
using ServiceStack.ServiceModel;
using System;
using System.Collections.Generic;
using System.Data;
using System;
namespace ClassLibrary
{
public interface IDependency
{
void SomeMethod(string s);
}
public class MyClass
<?php
/**
* This script is for easily deploying updates to Github repos to your local server. It will automatically git clone or
* git pull in your repo directory every time an update is pushed to your $BRANCH (configured below).
*
* Read more about how to use this script at http://behindcompanies.com/2014/01/a-simple-script-for-deploying-code-with-githubs-webhooks/
*
* INSTRUCTIONS:
* 1. Edit the variables below
* 2. Upload this script to your server somewhere it can be publicly accessed