Skip to content

Instantly share code, notes, and snippets.

View Ramblurr's full-sized avatar

Casey Link Ramblurr

View GitHub Profile
#!/usr/bin/env python
# -*- coding: latin-1 -*-
"""
svgexport.py - Batch export for Inkscape - Laurent Zubiaur
description:
Python script that can be used to automate batch exports of Inkscape objects by providing their id (set in the Object Properties dialog).
Also useful to batch export with a specific dpi (only available for individual object export in GUI mode).
For all available inkscape command line options see http://inkscape.org/doc/inkscape-man.html.
@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
@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 / 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 / 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 / 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 / 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 / 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 / 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 / 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