Tidey Source

September 12, 2010 2 comments

I thought I might make a little money on Tidey through ads, but in the last 9 months or so I’ve made a whopping $14.74. So I figured I might as well just release the source and see if anyone finds it useful. (read more about Tidey in my previous post.)

You can view the Tidey source on Github.

Google Script

August 20, 2010 Leave a comment

I wanted to learn a little about Google Script. I discovered a site that has the vocabulary list from Latina Christiana I in a table in HTML. I was pleasantly surprised that this pasted nicely into a Google spreadsheet.

But the first column had extra stuff in it that I didn’t want in that column. Gee, I thought, wouldn’t it be nice to be able to just run a simple regular expression on that column to remove everything after the comma?

So yes, it is possible and really not very difficult to do. And here is my solution:

function stripAfterComma() {
 var range = SpreadsheetApp.getActiveRange();
 var values = range.getValues();
 var results = [];
 for( j in values ){
   var row = [];
   for( i in values[j] ){
     var new_value = values[j][i].match( /^[^,]*/ )[0];
     row.push(new_value);
   }
   results.push(row);
 }
 range.setValues( results );
}​

And Voila my spreadsheet can now be pasted into Quizlet and used to learn those vocabulary words. Have fun with the quiz.

Categories: Programming

Daily Scripture Reading

July 19, 2010 2 comments

I’ve been trying to follow the Orthodox lectionary readings with my family each morning at breakfast. Often times I forget or don’t have time to go look them up. So I wrote this little script that goes out and gets them and prints them. I have an entry in my crontab file that runs this script at 6:30am each morning. Running this from cron requires that you have Xvfb installed. The crontab entry looks like:

30 6 * * * xvfb-run /home/brian/bin/scripture.py

Here is the scripture.py python script:

#!/usr/bin/python

import feedparser
import os
import time

f = feedparser.parse('http://onlinechapel.goarch.org/daily-rss.asp')
for s in f['entries']:
    if 'epistle' in s.link or 'gospel' in s.link:
        os.system("firefox -P Brian -print '%s'" % s.link)
        time.sleep(5)

Using Firefox to print in this manner requires installing the Firefox Command Line Print extension.

You can follow the lectionary readings from the Saint Paul Orthodox Church website.

Categories: Christianity, Programming

Highlighting Two New Sites

May 13, 2010 1 comment

On this day, the Feast of the Ascension, I would like to draw your attention to two new sites, neither of which I was involved in.

First, Journey to Orthodoxy was announced yesterday. The site is beautiful and is loaded with excellent and inspiring content.

And also, the Patristic Christian Theology Search Engine, which is based on the excellent work done by CCEL, but provides an innovative user interface for searching just the Fathers.

UPDATE (9:41EST):

I’d also like to draw your attention to a beta launch of a a site my employer, 5Q, developed called Church Juice. It looks like there is a lot of good information there for church communications.

Categories: Weblogs

Sheepology Sprint

April 20, 2010 3 comments

My employer, 5Q Communications, is very generous.  Normally we get to use 1 hour out of our regular work time for learning something of our choice that will benefit the company. This quarter all full-time employees were given 8 hours of extra learning time as a reward for meeting our company-wide goal for milestones.

I have chosen and been approved to use my 8 hours in one lump to work on adding some new features to my open-source project Sheepology. Since the goal here is to learn something, I plan to add features using technologies I haven’t used and don’t know yet.

Since this is a sprint I’ll create a list of things I want to do that is longer than what I have time for and work through the list till I run out of time. I want to have my projects planned well in advance so I won’t waste my 8rs. I also need to import some membership data before the sprint.  On my list are the following.

  • Donations using Google Checkout, Paypal, or similar
  • Integration with Google Apps including things like single-sign-on, contact synchronization, menu integration, etc.
  • Integration with Facebook using Facebook Connect or something similar
  • producing printable reports using something like Geraldo Reports
  • inter-parish/diocesan communication via AMQP (see qpid or rabbitmq)

That should be quite a bit more than I can do in 8rs.

Categories: sheepology

Sheepology Finally in Production

April 11, 2010 Leave a comment

Sheepology is finally in production. You can see it at Saint Paul Antiochian Orthodox Church.

Sheepology started as a church management system, but its first purpose in this rollout is as a content management system. Over the coming weeks I will be importing membership data and beginning to use the church management aspects of it. Other content based features will also be built as we find we need them.

I am also considering renaming the project to something a little less cutesy.

Other things that need to be done before I call it beta quality are documentation and improved installation procedures.

Categories: sheepology

Family Blog

You can follow our family blog at Genesis 12:1… the escapades of an Orthodox Christian homeschooling family living in South West Florida.

Categories: Uncategorized
Follow

Get every new post delivered to your Inbox.