Skip to content

Instantly share code, notes, and snippets.

View ranveeraggarwal's full-sized avatar
👋
Hej!

Ranveer Aggarwal ranveeraggarwal

👋
Hej!
View GitHub Profile
@ranveeraggarwal
ranveeraggarwal / ignore_file.example.txt
Created August 21, 2017 09:23
Powershell script to find LoC differences between commits with wildcard ignores.
*.txt
a/b/*.txt
*.xml
*.csproj
public static void WriteToFile(string writeData, string fileExtension)
{
string defaultExtension, extensionFilter;
switch (fileExtension)
{
case "json":
defaultExtension = "json";
extensionFilter = "json files (*.json)|*.json";
break;
default:
# from https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind | split-window -h
bind - split-window -v