Moved to https://github.com/kbilsted/Functional-core-imperative-shell/blob/master/README.md
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
# remember to change the $gitHubApiKey | |
# remember to change the $uri username | |
$git="C:\Program Files\Git\bin\git.exe" | |
$gitHubApiKey = convertto-securestring "ghp_sdafsdfsdaf..." -asplaintext -force | |
function PullOrCloneAll($path="c:\src") | |
{ | |
cd $path | |
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
Call `COMMAND` on all `.foo` files and output it to `.bar` files. | |
dir *.foo | foreach-object { $newname = $_.Name.Remove($_.Name.Length - $_.Extension.Length) + ".bar"; COMMAND -vn -n -i "$_" $newname } |
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 System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
namespace gitafterstat | |
{ | |
/// <summary> |
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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var xml = GetXmlData(); | |
WriteToFiles(xml, "xml"); | |
var xsd = GetXsdData(); | |
WriteToFiles(xsd, "xsd"); | |
} | |
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 System; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
namespace CSharpCompression | |
{ | |
class Program | |
{ |
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
½::Click 2 |
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.IO; | |
using System.Text; | |
namespace MarkDownTableReformatter | |
{ | |
class Program | |
{ |
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
; To use this script first install http://www.autohotkey.com/ | |
; ------------------------------------------------------------ | |
; | |
; This script remaps your keyboard so it is more convenient to code | |
; while under the slavery of the nordic QWERTY mapping | |
; | |
; The script will do the following | |
; * Remap alt-j, alt-k. alt-l. alt-i to become cursor movements | |
; * Remap å and ¨ to imulate the nice position of []{} on US-QWERTY | |
; * Remap alt-h to be ";\n" since that is a very frequent sequence for C#. Java, C, ... programmers |
NewerOlder