Skip to content

Instantly share code, notes, and snippets.

@TheBigBear
TheBigBear / Dockerfile_vboxfs.tmpl
Last active August 29, 2015 13:59 — forked from nsfmc/Dockerfile.tmpl
Seeking to get a boot2docker iso file for my Mac to allow me to boot a modified tinycore linux image that has the virtual box fs drivers for using shared folders already included
# $VBOX_VERSION should probably be something like 4.3.10 or somesuch
#
FROM boot2docker/boot2docker-rootfs
RUN apt-get install p7zip-full
RUN mkdir -p /vboxguest && \
cd /vboxguest && \
curl -L -o vboxguest.iso http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso && \
7z x vboxguest.iso -ir'!VBoxLinuxAdditions.run' && \
sh VBoxLinuxAdditions.run --noexec --target . && \
Get-AzureVM -ServiceName "name_cloud_service" -Name "vm_name"
Get-AzureVM -ServiceName "name_cloud_service" -Name "vm_name" | Get-AzureEndpoint
@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" :
[
{
@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 / 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 / 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 / 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 / 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
# 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 / boxstarter.ps1
Created August 19, 2019 15:10
Boxstarter Commands for a new Windows box.
# Description: Boxstarter 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