Skip to content

Instantly share code, notes, and snippets.

View Kami's full-sized avatar
:octocat:
🐕‍🦺 🦮 🇸🇮 🇺🇦 🇹🇼

Tomaz Muraus Kami

:octocat:
🐕‍🦺 🦮 🇸🇮 🇺🇦 🇹🇼
View GitHub Profile
from st2reactor.sensor.base import PollingSensor
import urllib2
import json
import subprocess
from multiprocessing import Process
__all__ = [
'PbPollingSensor'
]
class PbPollingSensor(PollingSensor):
def __init__(self, sensor_service, config=None, poll_interval=5):
---
version: '2.0'
name: default.Gp4
workflows:
main:
type: direct
tasks:
task1:
# [339, 45]
action: core.local
@Kami
Kami / generate_archives.rb
Last active December 31, 2015 18:59 — forked from stympy/generate_archives.rb
Note: This one works with Jekyll 1.4.1
# Jekyll archive page generator with pagination.
#
# Based on the category generator from
# http://recursive-design.com/projects/jekyll-plugins/,
# which is copyright (c) 2010 Dave Perrett,
# http://recursive-design.com/ and is licensed under the MIT
# license (http://www.opensource.org/licenses/mit-license.php), and
# on the pagination code from Jekyll itself.
#
# This code is copyright (c) 2011 Benjamin Curtis, and is licensed
Establish the Apache Libcloud Project
WHEREAS, the Board of Directors deems it to be in the best
interests of the Foundation and consistent with the
Foundation's purpose to establish a Project Management
Committee charged with the creation and maintenance of
open-source software related to abstracting differences
between cloud providers for distribution at no charge to
the public.