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 example shows how to write data into an Avro container file, and how to | |
// read data from a file, both with and without schema resolution. The source | |
// of this example can be found [on GitHub][gh]. | |
// | |
// [gh]: https://github.com/dcreager/avro-examples/tree/master/resolved-writer | |
#include <inttypes.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
#!/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 |
// 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" |