Skip to content

Instantly share code, notes, and snippets.

View basepi's full-sized avatar

Colton Myers basepi

View GitHub Profile
@basepi
basepi / init.sls
Last active December 25, 2015 05:39 — forked from czarneckid/init.sls
# Setup the application's runit directory
/etc/sv/application:
file.directory:
- mode: 0755
- user: someuser
- group: someuser
- recurse:
- user
- group
- mode
@basepi
basepi / derp.cs
Last active December 15, 2015 00:39 — forked from anonymous/derp
static String waterState(double temp)
{
if (temp < 32)
{
return "Solid"
}
if (temp > 212)
{
}
@basepi
basepi / pythonfunctiontest.py
Created March 16, 2012 00:09 — forked from hixsondane/pythonfunctiontest
random python functions
def list_benefits():
benefit = ["More organized code","More readable code","Easier code reuse","Allowing programmers to share and connect code together"]
return benefit
#def build_sentence(benefit):
# for list in benefit:
# print "%s is a benefit of functions!" % benefit
def name_the_benefits_of_functions():
list_of_benefits = list_benefits()