$cred = Get-Credential LLaughlinHV\Admin
$boxVm = Enable-BoxstarterVM -VmName LLaughlinHV -Credential $cred
$scriptUrl = "https://gist.githubusercontent.com/llaughlin/7be7bd8eaccb5edbc8ad16b50977aee9/raw/b543db14178f502bda3f3a0280ed0db7850790ad/HyperVSetup.ps1"
$objectBrowserUrl = "https://gist.githubusercontent.com/llaughlin/7be7bd8eaccb5edbc8ad16b50977aee9/raw/af26c39aca10c7b084fb6fd456a6617e2c157776/PSObjectBrowser.psm1"
This file contains hidden or 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
<div id="app"> | |
<h1>{{ header }}</h1> | |
<p>Feel free to edit the HTML, JavaScript and CSS in this playground. The preview will update in real-time, so that | |
you can visually explore your ideas.</p> | |
<button @click="sayHi">Say Hi <span class="fa fa-heart" /></button> | |
</div> |
This file contains hidden or 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.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using Serilog.Core; | |
using Serilog.Events; | |
namespace Logging.Enrichers | |
{ | |
public class MethodEnricher : ILogEventEnricher | |
{ |
This file contains hidden or 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
#region Execution instructions: | |
# - $cred = Get-Credential LLaughlinHV\Admin | |
# - $boxVm = Enable-BoxstarterVM -VmName LLaughlinHV -Credential $cred | |
# - $scriptUrl = "https://gist.githubusercontent.com/llaughlin/7be7bd8eaccb5edbc8ad16b50977aee9/raw/b543db14178f502bda3f3a0280ed0db7850790ad/HyperVSetup.ps1" | |
# - $objectBrowserUrl = "https://gist.githubusercontent.com/llaughlin/7be7bd8eaccb5edbc8ad16b50977aee9/raw/af26c39aca10c7b084fb6fd456a6617e2c157776/PSObjectBrowser.psm1" | |
# - $boxVm | Install-BoxstarterPackage -PackageName $scriptUrl |
Collection of extensions and code fragments.
There is a test VSTS account set up at penlink-test.visualstudio.com.
This file contains hidden or 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
0 info it worked if it ends with ok | |
1 verbose cli [ 'node', '/usr/local/bin/npm', 'publish' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose node symlink /usr/local/bin/node | |
5 verbose publish [ '.' ] | |
6 silly cache add args [ '.', null ] | |
7 verbose cache add spec . | |
8 silly cache add parsed spec { raw: '.', | |
8 silly cache add scope: null, |
This file contains hidden or 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
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
Update-ExecutionPolicy RemoteSigned | |
#cinst visualstudio2015community | |
cinst sublimetext3 | |
cinst poshgit | |
cinst git.install | |
cinst 7zip.install | |
cinst nodejs.install |
This file contains hidden or 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
#!/bin/bash | |
set -e | |
# Check for nsenter. If not found, install it | |
boot2docker ssh '[ -f /var/lib/boot2docker/nsenter ] || docker run --rm -v /var/lib/boot2docker/:/target jpetazzo/nsenter' | |
# Use bash if no command is specified | |
args=$@ | |
if [[ $# = 1 ]]; then | |
args+=(/bin/bash) |
This file contains hidden or 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
colorscheme:go | |
cs_re:green:.*\[DEBUG\].* | |
cs_re:yellow:.*\[WARNING\].* | |
cs_re:white:.*\[INFO\].* | |
cs_re:cyan:.*\[NOTICE\].* | |
cs_re:red:.*\[ERROR\].* |