Skip to content

Instantly share code, notes, and snippets.

@jpoehls
jpoehls / README.md
Last active November 14, 2018 19:10
Zephaniah Lectures (Fall 2015) - Jason DeRouchie
@jpoehls
jpoehls / README.md
Last active September 24, 2018 20:43
@jpoehls
jpoehls / README.md
Last active July 14, 2018 17:57
Worldviews and World Religions | Logos Institute | Grace Community Church - Podcast Feed
@jpoehls
jpoehls / keybase.md
Created September 18, 2017 16:05
keybase.md

Keybase proof

I hereby claim:

  • I am jpoehls on github.
  • I am joshuapoehls (https://keybase.io/joshuapoehls) on keybase.
  • I have a public key ASBoOMi1O3qptq8Ady9sSpmyKv4sG1GsonKpKAtzdZBCWgo

To claim this, I am signing this object:

@jpoehls
jpoehls / kill-processes.ps1
Created April 4, 2017 20:54
kill-processes.ps1
# kill-processes.ps1
# This script supports being run with -WhatIf and -Confirm parameters.
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'Medium')]
param (
# Regex of the states that should be included in the process killing field.
[string]$IncludeStates = '^(Disc)$', # Only DISCONNECTED sessions by default.
# Regex of the processes to kill
[string]$KillProcesses = '^(OUTLOOK)$', # Only OUTLOOK by default.
[int]$GracefulTimeout = 15 # Number of seconds to wait for a graceful shutdown before forcefully closing the program.
Sat, 12 Mar 2016 04:21:49 GMT brunch:speed Created BrunchWatcher 795ms
Sat, 12 Mar 2016 04:21:49 GMT brunch:application Trying to load brunch-config
Sat, 12 Mar 2016 04:21:49 GMT brunch:speed Loaded config 864ms
Sat, 12 Mar 2016 04:21:49 GMT brunch:speed Loading plugins 868ms
Sat, 12 Mar 2016 04:21:49 GMT brunch:speed Loaded plugin auto-reload-brunch 996ms
Sat, 12 Mar 2016 04:21:50 GMT brunch:speed Loaded plugin brunch-typescript 1492ms
Sat, 12 Mar 2016 04:21:50 GMT brunch:speed Loaded plugin clean-css-brunch 1876ms
Sat, 12 Mar 2016 04:21:50 GMT brunch:speed Loaded plugin css-brunch 1880ms
Sat, 12 Mar 2016 04:21:50 GMT brunch:speed Loaded plugin javascript-brunch 1968ms
Sat, 12 Mar 2016 04:21:51 GMT brunch:speed Loaded plugin less-brunch 2416ms
@jpoehls
jpoehls / exception.txt
Last active August 29, 2015 14:27
XmlSchemaInference bug
The type attribute cannot be present with either simpleType or complexType.
at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)
at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity)
at System.Xml.Schema.Preprocessor.PreprocessElementContent(XmlSchemaElement element)
at System.Xml.Schema.Preprocessor.PreprocessLocalElement(XmlSchemaElement element)
at System.Xml.Schema.Preprocessor.PreprocessParticle(XmlSchemaParticle particle)
at System.Xml.Schema.Preprocessor.PreprocessComplexType(XmlSchemaComplexType complexType, Boolean local)
at System.Xml.Schema.Preprocessor.PreprocessElementContent(XmlSchemaElement element)
at System.Xml.Schema.Preprocessor.PreprocessLocalElement(XmlSchemaElement element)
at System.Xml.Schema.Preprocessor.PreprocessParticle(XmlSchemaParticle particle)
@jpoehls
jpoehls / Caddyfile
Created July 27, 2015 16:20
Proxy + Static File serving with caddy
# Caddyfile
localhost:2015 {
startup "go run ./server.go" &
root ./static_files
proxy / localhost:2016
}
# FILE TREE
#
@jpoehls
jpoehls / Caddyfile
Created May 7, 2015 23:29
Caddyfile PHP on Windows
# http://caddyserver.com/download
http://localhost:8080 {
startup php.cmd &
fastcgi / 127.0.0.1:9123 php
}
@jpoehls
jpoehls / gist:3e728aec67015016c7d3
Created April 28, 2015 14:49
Example based parsing in V5
# In collaboration with Microsoft Research, a new ConvertFrom-String cmdlet has been added.
# This cmdlet supports two modes: basic delimited parsing, and auto generated example-driven parsing.
# Delimited parsing, by default, splits the input at white space, and assigns property names to the resulting groups. You can customize the delimiter:
1 [C:\temp]
>> "Hello World" | ConvertFrom-String | Format-Table -Auto
P1 P2
-- --
# The cmdlet also supports auto-generated example-driven parsing based on the FlashExtract research work in Microsoft Research.
# To get started, consider a text-based address book: