Skip to content

Instantly share code, notes, and snippets.

View bernhard-hofmann's full-sized avatar
🏠
Working from home

Bernhard Hofmann bernhard-hofmann

🏠
Working from home
View GitHub Profile
@bernhard-hofmann
bernhard-hofmann / Stopwatch.snippet
Last active July 12, 2018 15:17
C# snippet to surround code with a stopwatch
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Stopwatch</Title>
<Shortcut>SW</Shortcut>
<Description>Code snippet for Stopwatch</Description>
<Author>Bernhard Hofmann</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
@bernhard-hofmann
bernhard-hofmann / SVG Graph "icon"
Last active October 12, 2015 11:28
A little graph icon done in SVG.
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="45" height="45" viewBox="0 0 45 45">
<rect x="5" y="33" width="10" height="12" fill="blue" stroke="grey" stroke-width="1" />
<rect x="15" y="21" width="10" height="24" fill="lightgrey" stroke="grey" stroke-width="1" />
<rect x="25" y="12" width="10" height="33" fill="lightgrey" stroke="grey" stroke-width="1" />
<rect x="35" y="0" width="10" height="45" fill="lightgrey" stroke="grey" stroke-width="1" />
</svg>