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
############################################################ | |
# Script assembled with makeps1.js from | |
# Install-ContainerHost-Source.ps1 | |
# ..\common\ContainerHost-Common.ps1 | |
# Install-ContainerHost-Docker.ps1 | |
# Install-ContainerHost-Main.ps1 | |
############################################################ | |
<# |
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
One of my most productive days was throwing away 1000 lines of code | |
When in doubt, use brute force | |
Deleted code is debugged code | |
Controlling complexity is the essence of computer programming | |
Way more than 90% of code is crap | |
A data structure is just a stupid programming language | |
Life is too short to run proprietary software | |
XML is like violence: if it doesn’t solve your problem, you aren’t using enough of it | |
It’s not that Perl programmers are idiots, it’s that the language rewards idiotic behavior | |
Out-of-band == should be on a separate channel… |
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] | |
name = Rob Prouse | |
email = rob@prouse.org | |
[core] | |
autocrlf = input | |
safecrlf = true | |
[alias] | |
ignore = update-index --assume-unchanged | |
unignore = update-index --no-assume-unchanged | |
unstage = reset -q HEAD -- |
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
{ | |
"name":"Son Of Obsidian", | |
"version":"1.1", | |
"description":"A theme based on the classic Obsidian.", | |
"originator":"", | |
"colors":[ | |
{"name": "Background(Read Only)", "color":"#222829" }, | |
{"name": "Search result background", "color":"#005F60" }, | |
{"name": "Search result background (highlighted)", "color":"#007F80" }, | |
{"name": "Fold Square", "color":"#255B6F" }, |
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] | |
name = Rob Prouse | |
email = r.prouse@valsoftcorp.com | |
signingkey = E9EEEB0C19C1EC22 | |
[core] | |
autocrlf = input | |
excludesfile = | |
editor = \"C:\\Users\\RobProuse\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\\code\" --wait | |
[alias] | |
ignore = update-index --assume-unchanged |
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
static void Main(string[] args) | |
{ | |
TcpListener listener = new TcpListener(IPAddress.Any , 8000); | |
TcpClient client; | |
listener.Start() | |
while (true) // Add your exit flag here | |
{ | |
client = listener.AcceptTcpClient(); | |
ThreadPool.QueueUserWorkItem(ThreadProc, client); |
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
$OutputEncoding = [ System.Text.Encoding]::UTF8 | |
# Set up modules | |
Import-Module posh-git | |
Import-Module PSReadLine | |
Set-PSReadlineOption -HistorySaveStyle SaveAtExit | |
Import-Module PSLineEndings | |
Import-Module PsUrl | |
Import-Module PSColor | |
Import-Module PsGoogle |
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
#==================================================== | |
# Setting up a new machine using BoxStarter | |
# 1.Install Windows 8.1 on a new machine. | |
# 2.Login. | |
# 3.Open a command prompt and enter the following: | |
# START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/rprouse/b47abc4ebb2db572effe/raw/9df9b13f481de611fc030215bd2f717c60667cf9/ChocolateyInstallLite.ps1 | |
#==================================================== | |
#==================================================== | |
# Boxstarter options |
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
#==================================================== | |
# Setting up a new machine using BoxStarter | |
# 1.Install Windows 8.1 on a new machine. | |
# 2.Login. | |
# 3.Open a command prompt and enter the following: | |
# START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/rprouse/184f55de1e8cfe549d4b/raw/eab3ea82ce33963e2222507c9802e9012f556b7c/ChocolateyInstall.ps1 | |
#==================================================== | |
#==================================================== | |
# Boxstarter options |
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
package net.alteridem.sunshine.views; | |
import android.content.Context; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.util.AttributeSet; | |
import android.view.View; | |
public class WindView extends View { |
NewerOlder