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
# based on https://github.com/cloudamqp/amqp-sse/blob/master/app.rb | |
require 'sinatra' | |
require 'sinatra/streaming' | |
require 'amqp' | |
configure do | |
EM.next_tick do | |
AMQP.connection = AMQP.connect "amqp://guest:guest@localhost" | |
end |
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
Process: datovka [4693] | |
Path: /Applications/datovka.app/Contents/MacOS/datovka | |
Identifier: cz.nic.datovka | |
Version: ??? | |
Code Type: X86 (Native) | |
Parent Process: ??? [1] | |
Responsible: datovka [4693] | |
User ID: 501 | |
Date/Time: 2014-12-17 18:29:28.057 +0100 |
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
Jste největším krajským sdružením Svobodných. Cítíte nějaké výjimečné postavení a odpovědnost? | |
---------------------------------------------------------------------------------------------------------------- | |
Pražské sdružení Svobodných má 241 členů a 440 příznivců. Staráme se tedy celou čtvrtinu členské základy Svobodných. Vyjímečné postavení vnímám v tom, že máme zkušenost s větší členskou základnou a se správou většího množství finančních prostředků, než mají jiné kraje. Tyto zkušenosti se musíme snažit přenést do ostatních krajů, které je s růstem členském základny budou také potřebovat. | |
Snažíte se nějak zefektivnit vaši činnost, není velká pobočka obtížnejší k řízení? | |
---------------------------------------------------------------------------------------------------------------- | |
V roce 2009 jsme rozdělili celou Prahu do pěti velkých poboček a podařilo se nám pro ně vybrat spolehlivé koordinátory. Příval nových členů po loňských volbách nám ale nyní umožňuje dělit Prahu na menší části. Zřizujeme pobočky n |
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
--- | |
- hosts: webservers | |
vars: | |
http_port: 80 | |
max_clients: 200 | |
remote_user: root | |
tasks: | |
- name: ensure apache is at the latest version | |
yum: pkg=httpd state=latest | |
- name: write the apache config file |
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 documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |
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
require "rubygems" | |
require "net/https" | |
require "uri" | |
require "json" | |
require "configatron" | |
configatron.mojeid_direct.uri="https://mojeid.fred.nic.cz/registration/direct/" | |
configatron.mojeid_direct.cacert_file="CZ.NIC-cacert.pem" | |
configatron.mojeid_direct.pem_file="our-test.pem" | |
configatron.mojeid_direct.realm="https://admin.xnet.cz" |
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
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
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
# (Systems running 7.[34]-RELEASE, 8.[12]-RELEASE, 9.0-BETA[123], or 9.0-RC[123] can upgrade as follows) | |
# http://www.freebsd.org/releases/9.0R/installation.html | |
# upgrade to latest update for current version (required for upgrading to 9.0) | |
freebsd-update fetch | |
freebsd-update install | |
# fetch and install upgrades | |
freebsd-update -r 9.0-RELEASE upgrade | |
freebsd-update install |
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
# Make sure v8 port is uninstalled first! | |
cd /usr/ports/lang/v8/ | |
sudo make deinstall | |
# Install gem and get path | |
fetch http://rubygems.org/downloads/libv8-3.3.10.4.gem | |
sudo gem install libv8-3.3.10.4.gem | |
LIBV8_PATH=/usr/local/lib/ruby/gems/1.9/gems/libv8-3.3.10.4/lib/libv8 | |
# Install devel/libexecinfo ( see 'ports/156993: lang/v8 missing dependency to devel/libexecinfo' at http://www.freebsd.org/cgi/query-pr.cgi?pr=156993 ) ... |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://czreg.cz/isdoc/namespace/domain-1.0" xmlns="http://czreg.cz/isdoc/namespace/domain-1.0" elementFormDefault="qualified" version="1.0"> | |
<xs:annotation> | |
<xs:documentation> | |
ISDOC extension for domain names invoicing. | |
Sample usage (billing two domains in one invoice line): | |