Skip to content

Instantly share code, notes, and snippets.

View Ramblurr's full-sized avatar

Casey Link Ramblurr

View GitHub Profile
@Ramblurr
Ramblurr / gist:0a3c2ed3cf596fb9ffe7
Created May 15, 2015 16:13
Using Docker data containers
For smaller defaults, like sane config files, I put them into the application container, and then create a data volume container using the same image as the container that runs the application.
for example, When I make an apache image, the /etc/apache dir will contain working defaults. When I want to deploy a customised Apache container, I will
`docker run --name apache-cfg -v /etc/apache apache true`
then edit the cfg in that volume container - lets be primitve
`docker run --rm -it --volumes-from apache-cfg my-dev-tools bash`
@Ramblurr
Ramblurr / build local
Last active August 29, 2015 14:21
Build Custom Fedora Atomic images
git clone https://git.fedorahosted.org/git/fedora-atomic.git
cd fedora-atomic
git checkout -b f22 origin/f22
sudo -s
mkdir -p /srv/rpm-ostree/repo
@Ramblurr
Ramblurr / Dockerfile
Created April 6, 2015 10:40
A little container that creates a database and user on linked mysql container. Useful on Tutum w/ the Mysql and Wordpress services.
FROM ubuntu:trusty
MAINTAINER Casey Link <casey@outskirtslabs.com>
WORKDIR /
RUN apt-get update && \
apt-get -yq install mysql-client
ADD run.sh /run.sh
RUN chmod 755 /*.sh
@Ramblurr
Ramblurr / instructions.md
Created February 19, 2015 10:57
A minimum proof of concept for the ssl bundle location bug

Running ebook-convert poc.recipe foo.mobi --test

  1. Case 1 /etc/ssl/cert.pem exists
1% Converting input to HTML...
InputFormatPlugin: Recipe Input running
Using custom recipe
SSL verification succeeded! You're not affected.
@Ramblurr
Ramblurr / sudoers-vagrant
Created February 18, 2015 15:35
Vagrant sudo permissions for NFS in Fedora.
## drop this in the new file /etc/sudoers.d/sudoers-vagrant
## add add your user to the vagrant group
Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/tee -a /etc/exports
Cmnd_Alias VAGRANT_NFSD_CHECK = /usr/bin/systemctl status nfs-server
Cmnd_Alias VAGRANT_NFSD_START = /usr/bin/systemctl start nfs-server
Cmnd_Alias VAGRANT_NFSD_APPLY = /usr/sbin/exportfs -ar
Cmnd_Alias VAGRANT_EXPORTS_REMOVE = /bin/sed -r -e * d -ibak /etc/exports
%vagrant ALL=(root) NOPASSWD: VAGRANT_EXPORTS_ADD, VAGRANT_NFSD_CHECK, VAGRANT_NFSD_START, VAGRANT_NFSD_APPLY, VAGRANT_EXPORTS_REMOVE
@Ramblurr
Ramblurr / deu-reading-list.md
Last active August 29, 2015 14:12
German Language Listening-Reading List

NA: No Audio, NE: No E-book,
DRM-XX: Country DRM Restricted to country XX, OL: Original Language is Deutsch

Titel Title Author Info Genre
Wolf ohne Fährte The Blessing Way Tony Hillerman NA,DRM-DE Fiction,Modern
Kinder des Nebel Mistborn: The Final Empire Brandon Sanderson DRM-DE Fiction,Fantasy
Homo Faber Homo Faber Max Frisch OL,DRM-DE Fiction,Fantasy
Momo Momo Michael Ende OL,DRM-DE Fiction,Fantasy
@Ramblurr
Ramblurr / stockpile-settings.md
Last active August 29, 2015 14:10
Stockpile Settings Plugin Documentation

Stockpiles Settings

a dfhack plugin by rmblr

For importing and exporting stockpile settings between saves

  • Version: 0.1, for DF v0.34.11, 0.40.16, and 0.40.19
  • Updated: 6 Dec, 2014
  • Author: rmblr
  • OS: Windows, Linux, OS X
  • [DOWNLOAD IT][download]
@Ramblurr
Ramblurr / body_sperm_whale.txt
Created November 26, 2014 16:48
Modding the Sperm Whale; a Monomaniacal Quest
body_sperm_whale
[OBJECT:BODY]
[BODY:SPERMACETI_ORGAN]
[BP:SPERMACETI_ORGAN:spermaceti organ:STP][CONTYPE:HEAD][INTERNAL][SMALL][CATEGORY:SPERMACETI_ORGAN]
[DEFAULT_RELSIZE:200]
@Ramblurr
Ramblurr / DF-Tale
Created November 25, 2014 10:44
Dwarf Fortress Tale
# A migrant caravan heads to a wealthy yet mysterious fortress.
**A Dwarf Fortress Tale By [/u/get_it_together1](https://www.reddit.com/user/get_it_together1)** (*[original thread](https://www.reddit.com/r/dwarffortress/comments/2nb5j1/a_migrant_caravan_heads_to_a_wealthy_yet/)*)
Zuntir stalked through the low scrubland, warily looking about as he searched for the dwarven outpost. He was the ranger of the caravan, and had insisted that he scout ahead, given the rumors they'd heard about the place. It was wealthy, but there had been talk of a lot of death, too. Zuntir had finally been persuaded to join the expedition once he saw a collection of iron armor that had come from the outpost. They kept the steel for themselves.
He finished hiking up to a valley between two rocky foothills, pausing to admire the mountains stretching out into the distance. As his eyes scanned the terrain, he saw an entryway carved into one of the foothills, with dozens of corpses scattered in the grass around it. Some of the corp
@Ramblurr
Ramblurr / base.css
Last active August 29, 2015 14:01
Roll20 Character Sheet Testbed
fetch this file from: https://app.roll20dev.net/assets/base.css