This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# before you can use this, you need to run (as root): | |
# git clone https://github.com/tt/stack-images.git /root/stack-images | |
# git clone https://github.com/gliderlabs/herokuish.git /root/herokuish | |
# First, we need to get our base ubuntu images up to date | |
docker pull ubuntu-debootstrap:14.04 | |
docker pull ubuntu:trusty # for postgresql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user nginx; | |
worker_processes 5; | |
error_log /var/log/nginx.error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user nginx; | |
worker_processes 5; | |
error_log /var/log/nginx.error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This configuration file will allow all requests originating from the | |
# local machine to be send through all network interfaces. | |
# | |
# The only requests allowed from the outside world are http, https, ssh, | |
# and icmp. Other than that, the host will be completely stealthed! It | |
# will not respond to anything, though it will be pingable as a server | |
# should be. | |
# | |
# Then we have the configuration for the docker interfaces. The docker0 | |
# interface allows all packets on it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function egerlachClearEmptyWindows() { | |
var windows = document.querySelectorAll('.savedwinNTASC'); | |
for (var i = 0; i < windows.length; i++) { | |
if (windows[i].querySelectorAll('.savedtabNTC').length == 0) { | |
egerlachDeleteTab(windows[i]); | |
} | |
} | |
} | |
function egerlachPruneSavedTabs() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\egerlach\src\workstation-setup> cat C:\Users\egerlach\test.conf | |
foo=false | |
PS C:\Users\egerlach\src\workstation-setup> Invoke-DscResource -Name KeyValuePairFile -Method Set -ModuleName FileContentDsc -Property @{ | |
>> Path = 'c:\Users\egerlach\test.conf' | |
>> Name = 'foo' | |
>> Ensure = 'Present' | |
>> Text = 'bar' | |
>> } | |
RebootRequired |