I hereby claim:
- I am holybit on github.
- I am joecrotty (https://keybase.io/joecrotty) on keybase.
- I have a public key ASAqAIy9J8P0gpEfEeah_TM0OkJa01AQj039s8qKYa9_ywo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Django v1.7.7 - no I can't upgrade due to factors beyond my control | |
# This file, middleware.py, is in a Django app directory and correctly added to MIDDLEWARE_CLASSES. | |
# Currently, I get a 404 when tring to access localhost:8000/liveness/ | |
# Howver, I can't figure out what the urlpatterns should be for the | |
# the liveness/ and readiness/ endpoints. | |
import logging | |
from django.http import HttpResponse, HttpResponseServerError |
$ nvim --version ✓ 10566 14:02:06 | |
NVIM v0.2.0 | |
# Since upgrading Neovim I am getting errors when opening files | |
# that are in git repos. gitgutter seems to be culprit but no idea why? | |
# If I remove following from plug.vim git repo files load w/o error. | |
# Plug 'airblade/vim-gitgutter' | |
$ nvim ~/code/terraform-thing/baseline.tf | |
# After pressning enter to work through the error messages in nvim |
$ bash --version | |
GNU bash, version 4.3.46(1)-release (x86_64-cros-linux-gnu) | |
... | |
$ pwd | |
/tmp | |
$ /bin/bash -c echo -e "{\n \"credStore\": \"ecr-login\"\n}" >> /tmp/config.json | |
$ cat config.json | |
# /tmp/config.json has one blank line |
$ ./test.py | |
archived/prod/20151119/DMARC-AUTH/archive_prod_2015111911_45_0.json.gz | |
Traceback (most recent call last): | |
File "./test.py", line 28, in <module> | |
main() | |
File "./test.py", line 25, in main | |
bucket.copy(copy_source, key) | |
AttributeError: 's3.Bucket' object has no attribute 'copy' | |
# according to the boto3 docs there is a bucket.copy() |
# Create jq filter for JSON below that prints "foobar" by testing for which object has Key == "Name" in Tags array. | |
# However, if the object where Key == "Name" is removed the answer should be null and only one null | |
{ | |
"Tags": [ | |
{ | |
"Value": "CORE", | |
"Key": "aws:elasticmapreduce:instance-group-role" | |
}, | |
{ |
{ | |
"variables": { | |
"aws_access_key": "", | |
"aws_secret_key": "", | |
"build_type": "general" | |
}, | |
"builders": [{ | |
"type": "amazon-ebs", | |
"access_key": "{{user `aws_access_key`}}", | |
"secret_key": "{{user `aws_secret_key`}}", |
$ cat /etc/redhat-release | |
CentOS Linux release 7.2.1511 (Core) | |
$ /usr/sbin/rsyslogd -v | |
rsyslogd 7.4.7, compiled with: | |
FEATURE_REGEXP: Yes | |
FEATURE_LARGEFILE: No | |
GSSAPI Kerberos 5 support: Yes | |
FEATURE_DEBUG (debug build, slow code): No | |
32bit Atomic operations supported: Yes |
{ | |
"name": "xyz/foo_web", | |
"description": "Foo Website", | |
"type": "project", | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "https://packagist.org" | |
}, | |
{ |
{"@timestamp":"2015-02-05T12:52:21-0700","@version":"1","tags":["apache","access"],"docker":{"container_id":"CONTAINER_ID","host":"HOST"},"product":"PRODUCT","container_id":"1","bytes":"0","client_ip":"127.0.0.1","client_port":"53053","duration_micros":"219","http_method":"OPTIONS","keepalive":"-","method":"OPTIONS","pid":"117","protocol":"HTTP/1.0","referer":"-","request":"*","response_code":"200","response_size":"-","server_ip":"127.0.0.1","service_port":"80","session_id":"-","site":"-","status":"200","url_path":"*","url_query":"","user":"-","user-agent":"Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dummy connection)","poma_user_id":"-","vhost":"-","X-Forwarded-For":"-"} |