Skip to content

Instantly share code, notes, and snippets.

View boxxxie's full-sized avatar
👙
disrupting absurdism

Paul Iannazzo boxxxie

👙
disrupting absurdism
View GitHub Profile
@boxxxie
boxxxie / nginx.conf
Last active December 12, 2015 01:08
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 768;
}
http {
sendfile on;
Leiningen's classpath: /home/vagrant/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar
@boxxxie
boxxxie / both.clj
Last active December 11, 2015 20:49
#{{:tag :FacetCategory,
:attrs
{:Name "Industries",
:Type "String",
:p:IsMetaDataVisible "true",
:p:IsWordWheelVisible "true",
:p:IsFilterVisible "true"},
:content nil}
{:tag :FacetCategory,
:attrs
(let [imported-facet-categories-xml (->
test-doc-0-cxml-file
cxml/parse-stream
(xml->
:FacetCategories
:FacetCategory
))
requested-facet-categories-xml (->
parsed-cxml-after-cxml-update
(xml->
session:
name: "eg system"
windows:
- name: "datomic"
root: "~/eg/api"
splits:
- cmd: ["killall node","killall java", "lein datomic start"]
- cmd: ["fish", "sudo tcpflow -i any -C -e port 80"]
- name: "api view"
root: "~/eg"
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
location /explorer/api/ {
proxy_pass http://127.0.0.1:9999$request_uri;
proxy_set_header host api.enginuitygroup.dev;
}
<?xml version="1.0" encoding="UTF-8"?>
<Collection Name="testDataSmall"
xmlns:p="http://schemas.microsoft.com/livelabs/pivot/collection/2009"
SchemaVersion="1.0"
xmlns="http://schemas.microsoft.com/collection/metadata/2009">
<FacetCategories></FacetCategories>
<Items ImgBase="17592186045423/collection.cxml"></Items>
</Collection>
server {
21client_max_body_size 500M;
listen 80;
server_name enginuitygroup.dev;
#server_name 10.100.0.1;
location /pivotviewer/* {
proxy_pass http://127.0.0.1:8888$request_uri;
proxy_set_header host web-api.enginuitygroup.dev;
}
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: libraries/angular-ui (untracked content)
# modified: libraries/bootstrap-datepicker (untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")