Skip to content

Instantly share code, notes, and snippets.

Joshua Poehls jpoehls

Block or report user

Report or block jpoehls

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jpoehls
jpoehls / README.md
Last active Nov 14, 2018
Zephaniah Lectures (Fall 2015) - Jason DeRouchie
View README.md
View README.md
@jpoehls
jpoehls / README.md
Last active Jul 14, 2018
Worldviews and World Religions | Logos Institute | Grace Community Church - Podcast Feed
View README.md
View 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:

View 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.
View brunch build output.txt
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 Aug 29, 2015
XmlSchemaInference bug
View exception.txt
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 Jul 27, 2015
Proxy + Static File serving with caddy
View Caddyfile
# Caddyfile
localhost:2015 {
startup "go run ./server.go" &
root ./static_files
proxy / localhost:2016
}
# FILE TREE
#
@jpoehls
jpoehls / Caddyfile
Created May 7, 2015
Caddyfile PHP on Windows
View Caddyfile
# http://caddyserver.com/download
http://localhost:8080 {
startup php.cmd &
fastcgi / 127.0.0.1:9123 php
}
@jpoehls
jpoehls / gist:3e728aec67015016c7d3
Created Apr 28, 2015
Example based parsing in V5
View gist:3e728aec67015016c7d3
# 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:
You can’t perform that action at this time.