This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# YAML config for these Ansible roles: | |
# https://github.com/LaneCommunityCollege/aspects_logstash | |
# https://github.com/LaneCommunityCollege/aspects_logstash_forwarder | |
# | |
# Since it's just straight config blocks, you should be able to just copy and paste what you need if you don't use | |
# those Ansible roles. | |
# | |
# End result is multiline logs combined into one, and dates are parsed correctly. | |
aspects_logstash_rules: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2013-05-23 | |
description: Deploy Salt Cluster | |
parameters: | |
keyname: | |
type: string | |
description: Key name for loggin in to instances | |
imagename: | |
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Add to your rc.lua, | |
-- Create a textclock widget | |
mytextclock = awful.widget.textclock({ align = "right" }) | |
mytestclock_tooltip = awful.tooltip({ | |
objects = { mytextclock }, | |
timer_function = function() | |
local now = os.time() | |
local utcdate = os.date("!*t", now) | |
local tehran_t = os.time(utcdate) + (3.5*3600) | |
local ljubljana_t = os.time(utcdate) + (1*3600) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# found on <http://files.majorsilence.com/rubbish/pygtk-book/pygtk-notebook-html/pygtk-notebook-latest.html#SECTION00430000000000000000> | |
# simple example of a tray icon application using PyGTK | |
import gtk | |
def message(data=None): | |
"Function to display messages to the user." | |