Skip to content

Instantly share code, notes, and snippets.

View steenhulthin's full-sized avatar

Steen Hulthin Rasmussen steenhulthin

View GitHub Profile
#this automates the steps found here: http://docs.nuget.org/docs/workflows/migrating-to-automatic-package-restore
#yes, you could code golf this to about 6 characters if you wanted to
$find= @'
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
'@
foreach ($f in Get-ChildItem -Recurse -Path ".\" -Filter *.csproj | sort-object)
{
$text = Get-Content $f.FullName -Raw
@kentbrew
kentbrew / dogecoin_button.html
Last active January 1, 2016 02:18
dogecoin button ... wow ... such generous!
<html>
<head>
<style>
a.doge {
position: relative;
display: inline-block;
height: 40px;
margin: 0 0 0 20px;
font-size: 12px;
@tony4d
tony4d / p4merge4git.md
Created August 24, 2012 19:00
Setup p4merge as a visual diff and merge tool for git
@judy-zz
judy-zz / variables.css.less
Created June 18, 2012 03:45
Solarized colors for Twitter Bootstrap
@black: #002b36;
@grayDarker: #586e75;
@grayDark: #657b83;
@gray: #839496;
@grayLight: #93a1a1;
@grayLighter: #eee8d5;
@white: #fdf6e3;
@blue: #2aa198;
@blueDark: #268bd2;
@blachniet
blachniet / ClassLogDefClip.cs
Last active November 26, 2019 11:39
Simple log4net configuration
private static readonly log4net.ILog _log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);