Skip to content

Instantly share code, notes, and snippets.

View tompazourek's full-sized avatar
👨‍💻
Busy

Tom Pažourek tompazourek

👨‍💻
Busy
View GitHub Profile
@tompazourek
tompazourek / Program.cs
Last active August 29, 2015 14:01 — forked from nramsbottom/Program.cs
DetectUTFBom
//
// Finds and displays the filenames of all UTF8 files that contain a byte order mark
// in a specified directory tree.
//
// based on information from the following URL
//
// http://stackoverflow.com/questions/4520184/how-to-detect-the-character-encoding-of-a-text-file
//
using System;
@tompazourek
tompazourek / commit-config.sh
Last active April 15, 2020 13:59 — forked from tqheel/commit-config.sh
Prevent ASP.Net Web.Config From Being Committed By Git
#Run this to reverse ignoring of changes to web.config so it gets committed.
git update-index --no-assume-unchanged path_to_file/web.config
@tompazourek
tompazourek / gist:347436920bfaa5fb2bb2
Created October 16, 2015 08:32 — forked from lontivero/gist:593fc51f1208555112e0
Generates Markdown from VS XML documentation file
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;
namespace GithubWikiDoc
{