Skip to content

Instantly share code, notes, and snippets.

# Description: Techsnips-Repave Script
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST>
# OR
@TheBigBear
TheBigBear / Techsnips-Docker-Env-Setup
Created August 19, 2019 15:09
Techsnips-Docker-Env-Setup
# Description: Techsnips-Docker-Env-Setup
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST>
# OR
@TheBigBear
TheBigBear / boxstarter-full-win10.ps1
Created August 19, 2019 15:08
Boxstarter - Full - Windows 10
<#
.SYNOPSIS
BoxStarter script to configure Windows 10 development PC.
.DESCRIPTION
Install BoxStarter:
. { Invoke-WebRequest -useb http://boxstarter.org/bootstrapper.ps1 } | Invoke-Expression; get-boxstarter -Force
Run by calling the following from an **elevated** command-prompt.
Remove -DisableReboots parameter to allow the script to reboot as required.
@TheBigBear
TheBigBear / DevMachineSetup.ps1
Created August 19, 2019 15:08
Scripted install of all the tools needed on a new PC build
## Setup PowerShell
Set-ExecutionPolicy Bypass -Scope Process -Force
## Installers
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install webpicmd -y -v
## DotNET
@TheBigBear
TheBigBear / setup.ps1
Created August 19, 2019 15:08
Windoze dev setup
mkdir temp
cd temp
# Configure Windows
Set-WindowsExplorerOptions `
-EnableShowHiddenFilesFoldersDrives `
-EnableShowProtectedOSFiles `
-EnableShowFileExtensions `
-EnableShowFullPathInTitleBar
@TheBigBear
TheBigBear / basic-dev.ps1
Created August 19, 2019 15:07
My BoxStarter Scripts
# SQL Server - do this early to avoid issues with newer versions of VC++ 2015 redist
choco install sql-server-2017
choco install sql-server-2017-cumulative-update --version 14.0.3029.16
choco install sql-server-management-studio
# tools
choco install git
choco install nodejs
choco install tortoisegit
choco install visualstudiocode
@TheBigBear
TheBigBear / profiles.json
Created August 19, 2019 15:06
Windows Terminal settings and files
{
"globals" :
{
"alwaysShowTabs" : true,
"defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"initialCols" : 120,
"initialRows" : 30,
"keybindings" :
[
{

Keybase proof

I hereby claim:

  • I am TheBigBear on github.
  • I am thebigbear (https://keybase.io/thebigbear) on keybase.
  • I have a public key whose fingerprint is 228C D3EA 4E16 F39E 207F B955 753F 5852 2B1E AD2B

To claim this, I am signing this object:

Get-AzureVM -ServiceName "name_cloud_service" -Name "vm_name"
Get-AzureVM -ServiceName "name_cloud_service" -Name "vm_name" | Get-AzureEndpoint

What are MS GUIDs and howto deal with them. (both on windows and unix/linux)

They look ugly like this {BFEAB774-C7DC-4032-B05A-DA5F7CB7B365} and are basically globally unique identifiers.

The MS msi installer uses a GUID to uniquely identify a software or module.

https://en.wikipedia.org/wiki/Windows_Installer

Tools to deal with GUIDs