Skip to content

Instantly share code, notes, and snippets.

View danhively's full-sized avatar

Dan Hively danhively

  • 20:55 (UTC -06:00)
View GitHub Profile
@danhively
danhively / dev
Last active August 29, 2015 13:56
cinst binroot
###################### Folders ######################
# C:\dev
if (!(Test-Path -Path C:\dev )) {
mkdir C:\dev
}
# C:\dev\CodePlex
if (!(Test-Path -Path C:\dev\CodePlex )) {
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled/ --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
@danhively
danhively / howto.md
Created April 9, 2014 12:44 — forked from janl/howto.md

http://filippo.io/Heartbleed/ is a great service to the community.

I wouldn’t recommend testing hosts againt an online tool. All you do is create a log for a security savvy person with vulnerable hosts. While not quite the same, this is similar to uploading private keys or passwords to a service to check if they are secure.

Luckily it is easy to run the software locally, as the author was so kind to provide the source. I don’t read go very well, but a cursory glance suggests that the software does what it says on the tin, so we don’t worry about it phoning home.

This is the first time I’m building a go project, so I have to install go first. brew install go is easily done. You can get binary distributions for your OS from the go homepage: https://code.google.com/p/go/downloads/list

Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions
Enable-RemoteDesktop
cinst fiddler
cinst googlechrome
cinst firefox
cinst safari
cinst itunes
###################### Windows ######################
Install-WindowsUpdate -AcceptEula
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showFileExtensions -showProtectedOSFiles
Enable-RemoteDesktop
Set-TaskbarSmall
Update-ExecutionPolicy Unrestricted
Install-WindowsUpdate
Install-WindowsUpdate -AcceptEula
cinst IIS-WebServerRole -source windowsfeatures
###################### Visual Studio ######################
cinst VisualStudio2012Professional
cinst VS2012.4
cinst VisualStudio2013Professional
cinst VS2013.2
START http://boxstarter.org/package/url?
###################### To Run ######################
# START http://boxstarter.org/package/url?https://gist.github.com/danhively/8309270/raw/9dcab319af7a95342eb75581da46394c2fb16a9f/BoxStarter.Clean.Dev
###################### Windows ######################
Install-WindowsUpdate -AcceptEula
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst IIS-WebServerRole -source windowsfeatures
Set-ExecutionPolicy Unrestricted -Force
Move-LibraryDirectory "Personal" "$env:UserProfile\skydrive\documents"
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
# Text Editors
#cinst notepad2
cinst notepadplusplus
# ==========================================================================
#
# Script Name: Install-Programs.ps1
#
# Author: Andy Parkhill
#
# Date Created: 27/03/2014
#
# Description: A simple environment setup script for my personal laptop.
#