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 / log.txt
Created September 20, 2013 00:03
django double run
[root@basepi-ncdevcon] [~]
○ salt '*' state.highstate [23:59:07]
basepi-ncdevcon:
----------
State: - pkg
Name: apache2
Function: installed
Result: True
Comment: The following packages were installed/updated: apache2.
Changes: httpd: { new : 1
@basepi
basepi / log.txt
Created September 19, 2013 23:28
django demo failed
root@basepi-ncdevcon] [~]
○ salt '*' state.highstate [23:25:59]
basepi-ncdevcon:
----------
State: - pkg
Name: httpd
Function: installed
Result: True
Comment: Package httpd is already installed
Changes:
@basepi
basepi / 0.16.4
Created September 6, 2013 16:09
0.16.4 Release Notes
Multiple documentation improvements/additions
Add 'osfinger' grain
Add 'osarch' grain
Properly handle 32-bit packages for debian32 on x86_64
Fix regression in yum package installation in CentOS 5 (#6677)
Fix bug in hg state that would erroneously delete directories (#6661)
Fix bug related to pid not existing for ps.top (#6679)
Fix regression in MySQL returner (#6695)
Fix IP addresses grains ('ipv4' and 'ipv6') to include all addresses (#6656)
Fix regression preventing authenticated FTP (#6733)
@basepi
basepi / 0.16.3.txt
Created August 9, 2013 16:59
Salt 0.16.3 Changelog
Fix proc directory regression (#6502)
Various documentation fixes
Proper Linaro detection (#6496)
Fix regressions in states.mount.mounted (#6522, #6545)
Skip malformed state requisites (#6521)
Fix regression in gitfs from bad import
Fix for watching prereq states (including recursive requisite error) (#6057)
Fix so mod_watch doesn't override prereq (#6520)
Don't allow functions which compile states to be called within states (#5623)
Add 'osfinger' grain
@basepi
basepi / gist:5753093
Created June 10, 2013 22:43
brew search and info
[basepi@Alice] [~]
○ brew search tmux [9:58:12]
tmux
[basepi@Alice] [~]
○ brew info tmux [16:42:58]
tmux: stable 1.8, HEAD
http://tmux.sourceforge.net
/usr/local/Cellar/tmux/1.8 (7 files, 628K) *
Built from source
@basepi
basepi / error.txt
Created March 16, 2013 18:46
akintu error
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/twisted/internet/base.py", line 1173, in run
self.mainLoop()
File "/Library/Python/2.7/site-packages/twisted/internet/base.py", line 1182, in mainLoop
self.runUntilCurrent()
File "/Library/Python/2.7/site-packages/twisted/internet/base.py", line 805, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/Library/Python/2.7/site-packages/twisted/internet/task.py", line 218, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
@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 / gist:5147564
Created March 12, 2013 22:12
git.errstr.com error
[basepi@alice] [~/src/school/cs5470] [master]
± git pull origin master [16:11:51]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
@basepi
basepi / gist:5137354
Created March 11, 2013 20:17
akintu traceback
Traceback (most recent call last):
File "akintu.py", line 60, in <module>
main()
File "akintu.py", line 56, in main
hardcore=hardcore)
File "/Users/basepi/src/school/akintu/src/game.py", line 92, in __init__
ironman=ironman, hardcore=hardcore).dehydrate())
UnboundLocalError: local variable 'ironman' referenced before assignment