Skip to content

Instantly share code, notes, and snippets.

View Steelsouls's full-sized avatar
🎯
Focusing

Brandon Rubin Steelsouls

🎯
Focusing
View GitHub Profile
@troeger
troeger / minecraft-server
Last active April 5, 2023 17:22
Running a Minecraft server as daemon on Amazon Linux
#!/bin/bash
#
# chkconfig: 2345 95 05
#
### BEGIN INIT INFO
# Provides: minecraft-server
# Required-Start: $network $local_fs $remote_fs
# Required-Stop: $network $local_fs $remote_fs
# Should-Start: $syslog
# Should-Stop: $syslog
@Steelsouls
Steelsouls / script_starter.py
Created January 30, 2014 01:08
Python: Template Command-Line Script
#!/usr/bin/env python
def main():
# Make list of command line arguments, omitting the script itself.
args = sys.argv[1:]
if not args:
print "usage: "
sys.exit(1)
@tshirtman
tshirtman / Ground_(front_layer).png
Created October 10, 2012 22:37
This gist show how to build a scrolling and repeating background with kivy
Ground_(front_layer).png
@lepture
lepture / emoji.py
Created March 10, 2012 15:54
emoji support in python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012, lepture.com
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright