Skip to content

Instantly share code, notes, and snippets.

View modius's full-sized avatar
🇦🇺
Busy disrupting.

Geoff Bowers modius

🇦🇺
Busy disrupting.
View GitHub Profile
@modius
modius / workbench-compose.yml
Last active July 12, 2017 07:20
docker workbench defaults
portainer:
image: portainer/portainer
restart: always
environment:
- "VIRTUAL_HOST=portainer.*"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
docker-vhosts:
image: texthtml/docker-vhosts
restart: always
@modius
modius / farcrycore-cla.md
Created March 8, 2017 05:37
FarCry Platform: Contributor License Agreement

FarCry Platform CLA

Contributor License Agreement

The document below clarifies the terms under which You (the copyright owner or legal entity authorized by the copyright owner), may make "The Contributions" (software, bug fixes, configuration changes, documentation, or any other materials) to "The Work" (FarCry Platform). This license protects You, “The Daemonites" (Daemon Pty Limited) and licensees; it does not change your rights to use your own contributions for any other purpose.

You and “The Daemonites" (Daemon Pty Limited) agree:

  • You grant to “The Daemonites" (Daemon Pty Limited) a non-exclusive, irrevocable, worldwide, royalty-free, sublicenseable, relicenseable, transferable license under all of Your relevant intellectual property rights, to use, copy, prepare derivative works of, distribute and publicly perform and display "The Contributions" on any licensing terms, including without limitation: (a) open source licenses like the GNU General Public (v2.0) license; and (b) binary, proprietary,
@modius
modius / las-cla.md
Last active March 9, 2017 00:04
LAS: Contributor License Agreement

Lucee Association Switzerland CLA

Contributor License Agreement

The document below clarifies the terms under which You (the copyright owner or legal entity authorized by the copyright owner), may make "The Contributions" (software, bug fixes, configuration changes, documentation, or any other materials) to "The Work" (Lucee Server). This license protects You, “The Association” (Lucee Association Switzerland) and licensees; it does not change your rights to use your own contributions for any other purpose.

You and “The Association” (Lucee Association Switzerland) agree:

  • You grant to “The Association” (Lucee Association Switzerland) a non-exclusive, irrevocable, worldwide, royalty-free, sublicenseable, relicenseable, transferable license under all of Your relevant intellectual property rights, to use, copy, prepare derivative works of, distribute and publicly perform and display "The Contributions" on any licensing terms, including without limitation: (a) open source licenses like the GNU General Publ
@modius
modius / USING-VAULT.md
Created July 29, 2016 00:04 — forked from voxxit/USING-VAULT.md
Consul + Vault + MySQL = <3
git clone https://gist.github.com/dd6f95398c1bdc9f1038.git vault
cd vault
docker-compose up -d
export VAULT_ADDR=http://192.168.99.100:8200

Initializing a vault:

vault init
@modius
modius / elk.yml
Created February 17, 2016 04:59
ELK Stack DockerCloud
elasticsearch:
image: 'elasticsearch:1.5'
ports:
- '9200:9200'
logstash:
image: 'logstash'
command: 'logstash -e "input { syslog { port => 12345 type => "docker" } } output { elasticsearch { hosts => "elasticsearch" } }"'
expose:
- '12345/tcp'
@modius
modius / README.md
Created November 9, 2015 05:45
Daemonite Workbench Template Notes

Docker Workbench Template

Docker it up!

Move your FarCry application into a Docker based environment, by creating an environment project.

Project

TLDR;

sudo chown -R $(whoami) /usr/local
cd $(brew --prefix) && git fetch && git reset --hard origin/master
@modius
modius / Vagrantfile
Last active August 29, 2015 14:00
Sh for unattended installation of Railo on through vagrant.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# config for farcry demo
$webapp = "/opt/railo/tomcat/webapps/ROOT/"
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
<cfset mf = CreateObject("java", "java.lang.management.ManagementFactory")>
<cfset memBean = mf.getMemoryMXBean()>
<cfset heapMem = memBean.getHeapMemoryUsage()>
<cfset nonHeapMem = memBean.getNonHeapMemoryUsage()>
<cfoutput>
Heap Memory: #Round(heapMem.getUsed()/1024/1024)#mb In Use
(#Round(heapMem.getCommitted()/1024/1024)#mb Committed,
#Round(heapMem.getMax()/1024/1024)# Max Allowed Size)<br />
<cfdump var="#application#" top="1" />
<cfflush />
<cfdump var="#server#" />
<cfflush />
<cfquery datasource="daemon" name="info" result="stinfo">
SELECT 1
</cfquery>
<cfdump var="#stinfo#" />