brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
# watch a file changes in the current directory, | |
# execute all tests when a file is changed or renamed | |
$watcher = New-Object System.IO.FileSystemWatcher | |
$watcher.Path = get-location | |
$watcher.IncludeSubdirectories = $true | |
$watcher.EnableRaisingEvents = $false | |
$watcher.NotifyFilter = [System.IO.NotifyFilters]::LastWrite -bor [System.IO.NotifyFilters]::FileName | |
while($TRUE){ |
using BoDi; | |
using Coypu; | |
using OpenQA.Selenium; | |
using TechTalk.SpecFlow; | |
namespace SpecflowContainerContext | |
{ | |
[Binding] | |
public class Hooks | |
{ |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Set-ExecutionPolicy -ExecutionPolicy Unrestricted;$a=new-object net.webclient;$a.proxy.credentials=[system.net.credentialcache]::defaultnetworkcredentials;$a.downloadstring('http://bit.ly/OKgXHP')|iex |
#requires -version 2.0 | |
Add-Type @" | |
public class Shift { | |
public static int Right(int x, int count) { return x >> count; } | |
public static uint Right(uint x, int count) { return x >> count; } | |
public static long Right(long x, int count) { return x >> count; } | |
public static ulong Right(ulong x, int count) { return x >> count; } | |
public static int Left(int x, int count) { return x << count; } | |
public static uint Left(uint x, int count) { return x << count; } | |
public static long Left(long x, int count) { return x << count; } |
namespace Newtonsoft.Json.Converters | |
open Microsoft.FSharp.Reflection | |
open Newtonsoft.Json | |
open System | |
type IdiomaticDuConverter() = | |
inherit JsonConverter() | |
[<Literal>] |
/* | |
d8888 .d8888b. 888b 888 | |
d88888 d88P Y88b 8888b 888 | |
d88P888 888 888 88888b 888 | |
.d8888b d88P 888 888 888Y88b 888 | |
88K d88P 888 888 888 Y88b888 | |
"Y8888b. d88P 888 888 888 888 Y88888 | |
X88 d8888888888 Y88b d88P 888 Y8888 | |
88888P' d88P 888 "Y8888P" 888 Y888 | |
<# | |
.Synopsis | |
Returns the install .NET Framework versions. | |
.Description | |
The script looks through the registry using the notes from the below | |
MSDN links to determine which versions of .NET are installed. |
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name ForceLog | |
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogFailures | |
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogResourceBinds | |
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Fusion -Name LogPath |
source /etc/bash_completion.d/git-prompt | |
GIT_PS1_SHOWCOLORHINTS=true | |
GIT_PS1_SHOWDIRTYSTATE=true | |
PROMPT_COMMAND='__git_ps1 "${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w" "\$\[\033[00m\] "' | |