Skip to content

Instantly share code, notes, and snippets.

@raelyard
raelyard / Notes.md
Last active October 26, 2020 03:30
Git/GitHub Course - Remote 2020-10

Course Outline:

  • Part 1: Git
    • Getting Started with Git and GitHub
    • Basic Git Commands
    • Advanced Git Commands
  • Part 2: GitHub
    • Getting Started with GitHub
    • Options for Teams
    • Working in Teams
Course Outline:
Part 1: Git
1.1: Getting Started with Git
1.2: Basic Git Commands
1.3: Advanced Git Commands
Part 2: GitHub
2.1 Getting Started with GitHub
2.2 Options for Teams
2.3 Working in Teams
# to execute:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
# Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/raelyard/4b1f669d358618388f97a86f6918d01a/raw/ -DisableReboots
# Windows Explorer has undesirable defaults - fix for this installation:
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar -DisableOpenFileExplorerToQuickAccess -EnableShowFrequentFoldersInQuickAccess
# Hyper-V, .NET, IIS and friends
choco install -y Microsoft-Hyper-V-All -source WindowsFeatures
choco install -y Containers -source WindowsFeatures
public class FactorialTest
{
[Fact]
public void Factorial0()
{
Factorial(0).ShouldEqual(1);
}
[Fact]
public void Factorial1()
@raelyard
raelyard / InstallAtomBuildDependencies.ps1
Created January 14, 2016 17:49
Install Atom Build Dependencies
choco install -y git
choco install -y visualstudioexpress2013windowsdesktop
choco install -y python -version 2.7.2
choco install -y nodejs -version 4.2.2
[Environment]::SetEnvironmentVariable("GYP_MSVS_VERSION", "2013", "User")
[Environment]::SetEnvironmentVariable("ATOM_DEV_RESOURCE_PATH", "C:\Atom", "User")
@raelyard
raelyard / BuildAtomDocsDependencies.ps1
Last active October 17, 2015 13:57
Script for installing dependencies via Chocolatey to build Atom docs
choco install -y ruby
# by using refreshenv, installing devtools will (probably) see the ruby installation and not require further manual steps
refreshev
choco install -y ruby2.devtools
choco install -y curl
choco install -y devbox-unzip
@raelyard
raelyard / MachineSetup.ps1
Last active December 2, 2023 16:02
New Dev Machine Script
# to execute:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
# Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/raelyard/6783972a17ba1bc14e83/raw/ -DisableReboots
Disable-MicrosoftUpdate
Disable-UAC
choco feature enable -n=allowGlobalConfirmation
powercfg /change standby-timeout-ac 0