Skip to content

Instantly share code, notes, and snippets.

@clementi
clementi / is_constitutional.py
Created March 1, 2017 21:51
Determines whether the supplied bill is constitutional according to the US Constitution.
import time
import random
import sys
import os.path
def main():
if len(sys.argv) < 2:
print("File required.")
else:
@bthompson-nd
bthompson-nd / activemq.service
Created February 6, 2017 15:14
A systemd ActiveMQ service file for CentOS 7 and Red Hat 7
[Unit]
Description=ActiveMQ Message Broker
After=syslog.target network.target
[Service]
Type=forking
PIDFile="/opt/activemq/data/activemq.pid"
ExecStart="/opt/activemq/bin/start"
ExecStop="/opt/activemq/bin/stop"
ExecReload="/opt/activemq/bin/restart"