Skip to content

Instantly share code, notes, and snippets.

Julian Simpson simpsonjulian

Block or report user

Report or block simpsonjulian

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
simpsonjulian /
Created Jun 11, 2018
Ersatz Cost Allocation Tags
import csv
import io
import tempfile
import zipfile
import boto3
import yaml
from botocore.exceptions import ClientError
system_profiler SPManagedClientDataType | awk '/{p=1} p'
View fragment.html
<h1>Hello, I am an H1 element</h1>
<h2>And I am an H2 element</h2>
<img src="" alt="Look! An image!" />
<p>This should really have more text on it - Lorem something something</p>
View gist:0b37ce929359262995ea
Version: GnuPG v1.4.11 (GNU/Linux)
View gist:ee088ebaa8be7287c63f
root@vagrant-ubuntu-trusty-64:/var/log/neo4j# cat console.log
2014-09-01 05:35:03.956+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
2014-09-01 05:35:06.053+0000 INFO [API] Successfully started database
2014-09-01 05:35:06.207+0000 INFO [API] Starting HTTP on port :7474 with 10 threads available
2014-09-01 05:35:06.477+0000 INFO [API] Enabling HTTPS on port :7473
2014-09-01 05:35:06.477+0000 INFO [API] No SSL certificate found, generating a self-signed certificate..
2014-09-01 05:35:07.248+0000 INFO [API] Mounted discovery module at [/]
2014-09-01 05:35:07.256+0000 INFO [API] Mounted REST API at [/db/data/]
2014-09-01 05:35:07.260+0000 INFO [API] Mounted management API at [/db/manage/]
2014-09-01 05:35:07.261+0000 INFO [API] Mounted webadmin at [/webadmin]
View Dockerfile
FROM centos:centos6
# Would prefer headless, but not available in CentOS6
RUN yum -y install wget java-1.7.0-openjdk scl-utils redhat-lsb-core
RUN wget -qO- >> /etc/yum.repos.d/centos.scl.repo
RUN yum -y install python27-python python27-python-setuptools
### Neo4j RPM
RUN wget -O /tmp/neo4j.key && rpm --import /tmp/neo4j.key && rm -f /tmp/neo4j.key
RUN echo '[neo4j]' > /etc/yum.repos.d/neo4j.repo && echo 'name=Neo4j Yum Repo' >> /etc/yum.repos.d/neo4j.repo && echo 'baseurl=' >> /etc/yum.repos.d/neo4j.repo && echo 'enabled=1' >> /etc/yum.repos.d/neo4j.repo && echo 'gpgcheck=1' >> /etc/yum.repos.d/neo4j.repo && yum -y install neo4j
View gist:8e960d4923b4f5f7cedc
jsimpson$ while true; do curl -sv 2>&1 | grep X-Served-By; sleep 1; done
< X-Served-By: cache-iad2126-IAD, cache-sjc3129-SJC
< X-Served-By: cache-iad2126-IAD, cache-sjc3127-SJC
< X-Served-By: cache-iad2126-IAD, cache-sjc3129-SJC
< X-Served-By: cache-iad2126-IAD, cache-sjc3135-SJC
< X-Served-By: cache-iad2126-IAD, cache-sjc3134-SJC
< X-Served-By: cache-iad2126-IAD, cache-sjc3128-SJC
< X-Served-By: cache-iad2126-IAD, cache-sjc3133-SJC
< X-Served-By: cache-iad2126-IAD, cache-sjc3130-SJC
< X-Served-By: cache-iad2126-IAD, cache-sjc3127-SJC
View article
= This is an Asciidoc Article
Srsly.[Anders] knows Asciidoc.
== Another Title
This document is written in Asciidoc. It's published to WordPress using ''.
== Another Pointless Title
View gist:7256038
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project neo4j-backup: Compilation failure: Compilation failure:
[ERROR] /jenkins/workspace/neo4j-1.9-outreach/enterprise/backup/src/main/java/org/neo4j/backup/[147,89] getHostString() is not public in; cannot be accessed from outside package
[ERROR] /jenkins/workspace/neo4j-1.9-outreach/enterprise/backup/src/main/java/org/neo4j/backup/[147,164] getHostString() is not public in; cannot be accessed from outside package
[ERROR] /jenkins/workspace/neo4j-1.9-outreach/enterprise/backup/src/main/java/org/neo4j/backup/[169,89] getHostString() is not public in; cannot be accessed from outside package
[ERROR] /jenkins/workspace/neo4j-1.9-outreach/enterprise/backup/src/main/java/org/neo4j/backup/[169,16
View gist:3492301
ab -n 1000 -c 10
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd,
Licensed to The Apache Software Foundation,
Benchmarking (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
You can’t perform that action at this time.