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
import logging | |
from pika import SelectConnection, URLParameters | |
from threading import Thread | |
from time import sleep | |
from argparse import ArgumentParser | |
class AsyncConnection(): | |
def __init__(self, host): | |
self.connection_params = URLParameters('amqp://guest:guest@{}:5672/%2F'.format(host)) | |
self.log = logging.getLogger(self.__class__.__name__) |
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
venv/ |
Great Burn Friends:
It's time to speak out for the Great Burn (deadline Monday, Feb 12). The Nez Perce-Clearwater National Forest is accepting comments for its Forest Plan revision process which will govern how the Great Burn Proposed Wilderness is managed for the next 20 to 30 years.
Will the Great Burn continue to be managed for its fish and wildlife habitat and wilderness values, or will it be opened to motorized and mechanized recreation, mining, or other extractive uses?
Don't delay - the Nez Perce-Clearwater National Forest will only be accepting comments until Monday, February 12th.
Please email your comments to both of these addresses:
- Erlang 20.2.2
- RabbitMQ 3.7.3
- Pika 0.11.2
- SSL certs generated by
michaelklishin/tls-gen
"basic" profile
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
// This example declares a durable Exchange, an ephemeral (auto-delete) Queue, | |
// binds the Queue to the Exchange with a binding key, and consumes every | |
// message published to that Exchange with that routing key. | |
// | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"github.com/streadway/amqp" |
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
lbakken@MESSIAEN ~/vagrant/CENTOS-7 | |
$ vagrant ssh | |
[vagrant@localhost ~]$ sudo -i | |
[root@localhost ~]# curl -LO https://packages.erlang-solutions.com/erlang/esl-erlang/FLAVOUR_1_general/esl-erlang_20.1.7-1~centos~7_amd64.rpm | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 40.9M 100 40.9M 0 0 3464k 0 0:00:12 0:00:12 --:--:-- 4768k | |
[root@localhost ~]# yum install ./esl-erlang_20.1.7-1~centos~7_amd64.rpm | |
Loaded plugins: fastestmirror | |
Examining ./esl-erlang_20.1.7-1~centos~7_amd64.rpm: esl-erlang-20.1.7-1.x86_64 |