Skip to content

Instantly share code, notes, and snippets.

View laurentkempe's full-sized avatar
🚀
❤✨

Laurent Kempé laurentkempe

🚀
❤✨
View GitHub Profile
@laurentkempe
laurentkempe / gist:2371417
Created April 12, 2012 22:19
Sending your Git branch changes as an email attachment
function Get-GitBranch {
$symbolicref = git symbolic-ref HEAD
$branch = $symbolicref.substring($symbolicref.LastIndexOf("/") +1)
return $branch
}
function Zip-GitBranch([string]$zipFilename) {
$branch = Get-GitBranch
@laurentkempe
laurentkempe / RestClientExtensions.cs
Created April 12, 2012 21:59
Couple extensions methods to RestSharp to add Async capabilities
#region using
using System;
using System.Threading;
using System.Threading.Tasks;
using RestSharp;
#endregion
namespace TeamCitySharper