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 { |
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
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
{ | |
"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
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
############################################################ | |
# 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
# EditorConfig helps developers define and | |
# maintain consistent coding styles between | |
# different editors and IDEs | |
# http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Don't use tabs for indentation. |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.acceptSuggestionOnEnter": false, | |
"editor.cursorBlinking": "phase", | |
"editor.cursorStyle": "line", | |
"editor.fontFamily": "Fira Code, Hack, Consolas, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, | |
"editor.formatOnSave": false, | |
"editor.glyphMargin": true, |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
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 -- |
OlderNewer