Skip to content

Instantly share code, notes, and snippets.

@gunlock
gunlock / Lulzbot Mini Aerostruder.fff
Last active May 22, 2020 21:07
Lulzbot Mini Aerostruder S3D
<?xml version="1.0"?>
<profile name="Lulzbot Mini Aerostruder" version="2018-02-19 13:02:51" app="S3D-Software 4.0.0">
<baseProfile>LulzBot Mini</baseProfile>
<printMaterial>ABS</printMaterial>
<printQuality>Medium</printQuality>
<printExtruders></printExtruders>
<extruder name="Primary Extruder">
<toolheadNumber>0</toolheadNumber>
<diameter>0.5</diameter>
<autoWidth>1</autoWidth>
@gunlock
gunlock / asmgen.sh
Last active August 29, 2015 14:06
gcc output assembly
#!/bin/bash
CXX=g++
usage() {
echo "Usage: asmgen {src_file}"
exit 1
}
if [ -z "$1" ]; then
@gunlock
gunlock / dcm4chee_run.sh
Last active August 29, 2015 14:05
dcm4chee run script
#!/bin/bash
export JBOSS_HOME=/home/pacs/dcm4chee
JBOSS_CLASSPATH=$JBOSS_HOME/bin/run.jar
JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/native"
JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
#enable remote access to jboss services and web interface
JBOSS_BIND_ADDR=${JBOSS_BIND_ADDR:-"0.0.0.0"}
@gunlock
gunlock / dcm4chee_daemon.sh
Last active August 29, 2015 14:05
dcm4chee daemon script for unbuntu
#!/bin/sh
# Author: Michael Gunlock 2014
### BEGIN INIT INFO
# Provides: dcm4chee
# Required-Start: \$remote_fs \$syslog
# Required-Stop: \$remote_fs \$syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
@gunlock
gunlock / dcm4chee_install.sh
Last active March 1, 2016 21:56
bash script to install dcm4chee and components on fresh Ubuntu 12.04 image
#!/bin/bash
function usage()
{
echo "Usage: $0 -u <Postgres_Username> -p <Password>"
}
USER=""