layout | title |
---|---|
post |
Test Post |
This is a test post.
This content comes after the excerpt.
layout | title |
---|---|
post |
Test Post |
This is a test post.
This content comes after the excerpt.
layout | title |
---|---|
post |
Jekyll Excerpts |
This text becomes the excerpt text displayed on the main page
#!/usr/bin/env python | |
""" | |
This module represents a twist-ification of the pywws Weather Station. | |
There was nothing wrong with the original pywws version. I just wanted a | |
version that would integrate consistently with my other Twisted based | |
software. | |
""" |
""" | |
This script retrieves weather forecast and observation | |
data from the Australian Bureau of Meteorology (BOM) | |
and converts them into a spoken word weather report | |
audio file. | |
This script was written to generate the first track for | |
my morning alarm clock playlist. |
''' | |
I am trying to use a wildcard port in an effort to let the OS assign | |
an ephemeral port. I then try to ascertain the actual endpoint by | |
using the LAST_ENDPOINT socket option. | |
This is along the lines of the suggestion here: http://lists.zeromq.org/pipermail/zeromq-dev/2012-October/018915.html | |
However, this does not work for me. The output below is what I get | |
when I run this script: |
/* | |
* Build using: | |
* gcc -Wall -std=c99 projection_01.c -o projection_01_test -I/usr/include -I$AVRO_INCLUDE_DIR -L$AVRO_LIB_DIR -lavro | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <avro.h> |
/* | |
* Build using: | |
* gcc -Wall -std=c99 projection_02.c -o projection_02_test -I/usr/include -I$AVRO_INCLUDE_DIR -L$AVRO_LIB_DIR -lavro | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <avro.h> |
// This simple code example was used as a code reference for a | |
// question to the zeromq mailing list. | |
// | |
// gcc -o threads-example.o -c threads-example.c -Wall -Wimplicit -Wextra -I/usr/local/include | |
// gcc -o threads-example threads-example.o -L/usr/local/lib -lzmq -lczmq | |
// | |
#include "czmq.h" |
# | |
# Author: Chris Laws | |
# | |
# This saltstack state automates the build and install of the | |
# current version of the Github master branch for libsodium, | |
# libzmq, czmq and pyzmq (for both python2 and python3). | |
# | |
# This state is part of a suite of states I use to recreate my | |
# development machine and keep it up to date. It contains some | |
# configuration instructions that slightly beyond the common |
#!/usr/bin/env python | |
''' | |
Chris Laws 2013 | |
Publish Australian weather observations over MQTT. | |
This script periodically retrieves weather observations from the | |
Australia Bureau of Meteorology. The source data comes from a file |