Skip to content

Instantly share code, notes, and snippets.

Nate McMaster natemcmaster

View GitHub Profile
View CrappyBank.js
function CrappyBank(data){
}
View Invoke-MsBuild.psm1
#Requires -Version 2.0
function Invoke-MsBuild
{
<#
.SYNOPSIS
Builds the given Visual Studio solution or project file using MSBuild.
.DESCRIPTION
Executes the MSBuild.exe tool against the specified Visual Studio solution or project file.
Returns true if the build succeeded, false if the build failed, and null if we could not determine the build result.
View keybase.md

Keybase proof

I hereby claim:

  • I am natemcmaster on github.
  • I am nikstr (https://keybase.io/nikstr) on keybase.
  • I have a public key whose fingerprint is 0274 7E76 86FB 8265 6544 9A7B 800F 24C4 D77A ED2D

To claim this, I am signing this object:

View icon_css.tmPreferences
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.css</string>
<key>settings</key>
<dict>
<key>icon</key>
<string>file_type_css</string>
View Soda Light 3.sublime-theme
[
// Sidebar folder closed
{
"class": "icon_folder",
"layer0.texture": "User/Theme - Soda/icons/folder.png",
"layer0.opacity": 1.0,
"content_margin": [8, 8]
},
// Sidebar folder open
{
View Spacegray.sublime-theme
[
{
"class": "icon_file_type",
"content_margin": [0,0]
},
{
"class": "icon_folder",
"content_margin": [0,0]
},
{
View nuget.exe
--2014-05-31 00:33:12-- https://www.nuget.org/nuget.exe
Resolving www.nuget.org... 168.62.110.126
Connecting to www.nuget.org|168.62.110.126|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/downloads/nuget.exe [following]
--2014-05-31 00:33:13-- https://az320820.vo.msecnd.net/downloads/nuget.exe
Resolving az320820.vo.msecnd.net... 93.184.215.201, 93.184.215.200
Connecting to az320820.vo.msecnd.net|93.184.215.201|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1670320 (1.6M) [application/x-msdownload]
View gist:153d703ce6bb1945a499
Warning: FindPackagesById: Microsoft.Framework.Logging
Error: ConnectFailure (Too many open files)
GET https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.Framework.Logging'
Warning: FindPackagesById: Microsoft.Framework.Logging
Error: ConnectFailure (Too many open files)
GET https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.Framework.Logging'
Error: FindPackagesById: Microsoft.Framework.Logging
Error: ConnectFailure (Too many open files)
Warning: FindPackagesById: Microsoft.Framework.Logging
Error: ConnectFailure (Too many open files)
View .htaccess
AddType image/x-icon .ico
<IfModule mod_headers.c>
# cache for a year
<FilesMatch ".(ico|gif|jpg|jpeg|png|flv|pdf)$">
Header set Cache-Control "max-age=29030400"
</FilesMatch>
# WEEK
<FilesMatch ".(js|css|swf)$">
Header set Cache-Control "max-age=604800"
View gist:037e4ddd6db10f9c3b65
def install_proxy():
proxy = urllib2.ProxyHandler({'http': '127.0.0.1:63029'})
opener = urllib2.build_opener(proxy)
urllib2.install_opener(opener)
You can’t perform that action at this time.