Skip to content

Instantly share code, notes, and snippets.

View TravisTroyer's full-sized avatar

Travis Troyer TravisTroyer

View GitHub Profile
@TravisTroyer
TravisTroyer / deploy.ps1
Last active August 29, 2015 14:16 — forked from mmooney/deploy.ps1
#Modified and simplified version of https://www.windowsazure.com/en-us/develop/net/common-tasks/continuous-delivery/
#From: #https://gist.github.com/3694398
$subscription = "[SubscriptionName]" #this the name from your .publishsettings file
$service = "[ServiceName]" #this is the name of the cloud service
$storageAccount = "[StorageAccountName]" #this is the name of the storage service
$slot = "production" #staging or production
$package = "[Fully Qualified Path to .cspkg]"
$configuration = "[Fully Qualified path to .cscfg]"
$publishSettingsFile = "[Path to .publishsettings file, relative is OK]"
$timeStampFormat = "g"
@TravisTroyer
TravisTroyer / boxstarter-dev.script
Last active January 12, 2016 15:34
Boxstarter Script for Development Box
# hit the following URL in IE to run:
# http://boxstarter.org/package/url?https://rawgit.com/TravisTroyer/02862bf28add7e902bc8/raw/
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions
Enable-RemoteDesktop
# seems to result in unhappiness
cinst geforce-experience
cinst geforce-game-ready-driver
@TravisTroyer
TravisTroyer / SambaOnFreeBsd.md
Last active August 16, 2017 21:34
Samba 4.1 on FreeBSD 10.1

Samba 4.1 Active Directory Domain Controller on FreeBSD 10.1

To simplify home network management, I recently decommissioned my beefy domain controller/file server/Hyper-V host, moving mass file storage to the cloud. I thought I could live without Active Directory, but with 5 PCs and a couple of Windows tablets, I want it back, so my plan is to host a tiny VM instance in hyper-V on 4 of my desktop PCs, creating something like peer-to-peer AD (hopefully with little overhead).

Resources

The following references were incredibly helpful, but neither were perfect for getting up and running quickly, hence this gist.