This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git branch | grep -v "master" | xargs git branch -D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static List<CustomClassOfColumns> ParseCsv(string csvData) | |
{ | |
csvData = csvData.TrimEnd('\r', '\n'); //Remove last CRLF | |
var items = from line in csvData | |
.Split(new string[] { Environment.NewLine }, StringSplitOptions.None) //Split each row | |
.Skip(1) //Skip column names | |
let col = line.Split(',') //split each column | |
select new CustomClassOfColumns() | |
{ | |
col1 = col[0], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Newtonsoft.Json; | |
using System; | |
using System.Collections.Specialized; | |
using System.Net; | |
using System.Text; | |
//A simple C# class to post messages to a Slack channel | |
//Note: This class uses the Newtonsoft Json.NET serializer available via NuGet | |
public class SlackClient | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Use PC Style Undo</name> | |
<appendix>(Control+Z to Command_L+Z)</appendix> | |
<appendix>(Except in Vi, Terminal, VM, RDC, Emacs, X11)</appendix> | |
<identifier>remap.undo_winstyle_no_term_vi_firefox</identifier> | |
<not>VI, EMACS, TERMINAL, VIRTUALMACHINE, REMOTEDESKTOPCONNECTION, TEAMVIEWER, X11</not> | |
<autogen>--KeyToKey-- KeyCode::Z, VK_CONTROL, KeyCode::Z, ModifierFlag::COMMAND_L</autogen> | |
</item> |