Skip to content

Instantly share code, notes, and snippets.

View GrantGochnauer's full-sized avatar
🎸

Grant Gochnauer GrantGochnauer

🎸
View GitHub Profile

Keybase proof

I hereby claim:

  • I am grantgochnauer on github.
  • I am grantgochnauer (https://keybase.io/grantgochnauer) on keybase.
  • I have a public key ASBERZyIfYxEtu-lHvWDqE-tbLY0GTHAqpKalqIx-40fFwo

To claim this, I am signing this object:

@GrantGochnauer
GrantGochnauer / gist:2bd408e12ac6217e5ebd
Created February 6, 2016 12:48
Docker 1.10 install error Hypriot
Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript docker, action "start" failed.
dpkg: error processing package docker-hypriot (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.120) ...
Processing triggers for libc-bin (2.19-18+deb8u2) ...
Processing triggers for systemd (215-17+deb8u3) ...
Errors were encountered while processing:
docker-hypriot
E: Sub-process /usr/bin/dpkg returned an error code (1)
tell application "Finder"
set pathList to (quoted form of POSIX path of (folder of the front window as alias))
end tell
tell application "System Events"
set isRunning to (exists (processes where name is "iTerm2"))
end tell
tell application "iTerm"
set termCount to count of windows
@GrantGochnauer
GrantGochnauer / gist:5708260
Created June 4, 2013 18:27
Working ES query when excluding nested call
{
"from" : 0,
"size" : 10,
"filter" : {
"bool" : {
"must" : {
"term" : {
"tenantName" : "MyTenantName"
}
},
@GrantGochnauer
GrantGochnauer / gist:5707892
Created June 4, 2013 17:37
Query which is failing
{
"from" : 0,
"size" : 10,
"filter" : {
"bool" : {
"must" : {
"term" : {
"tenantName" : "MyTenantName"
}
},
@GrantGochnauer
GrantGochnauer / sample_es_model
Created June 4, 2013 17:35
Sample ES Model for List question
{
"PostDescriptor": {
"properties": {
"altNames": {
"index": "not_analyzed",
"type": "string"
},
"channelId": {
"index": "not_analyzed",
"type": "string"