Skip to content

Instantly share code, notes, and snippets.

View sstarr's full-sized avatar
🏠
Working from home

Simon Starr sstarr

🏠
Working from home
View GitHub Profile
@sstarr
sstarr / Google Apps .zone File
Created February 1, 2017 14:46 — forked from clakeb/Google Apps .zone File
Quick .zone file to import when you are setting up Google Apps. I use it with CloudFlare. Enjoy.
; CNAME
calendar 1 IN CNAME ghs.googlehosted.com
drive 1 IN CNAME ghs.googlehosted.com
mail 1 IN CNAME ghs.googlehosted.com
sites 1 IN CNAME ghs.googlehosted.com
video 1 IN CNAME ghs.googlehosted.com
; MX
@ 1 IN MX 10 aspmx3.googlemail.com
@ 1 IN MX 1 aspmx.l.google.com
@sstarr
sstarr / blogspot_to_jekyll.rb
Created February 16, 2012 16:01 — forked from kennym/blogspot_to_jekyll.rb
Migrate your blogger blog posts to jekyll.
#!/usr/bin/env ruby
#
# Convert blogger (blogspot) posts to jekyll posts
#
# Basic Usage
# -----------
#
# ./blogger_to_jekyll.rb feed_url
#
# where `feed_url` can have the following format:
# this goes in ~/.freeagent
ENV['FA_COMPANY'] = 'mycompany'
ENV['FA_USERNAME'] = 'myloginemail'
ENV['FA_PASSWORD'] = 'mypassword'
#!/usr/bin/env ruby
# Basic titlebot for JsChat (http://jschat.org)
# Run 'gem install eventmachine' (with sudo if required) if your computer doesn't have it
# gem might also be gem1.8 if you got it from Debian/ubuntu
require 'rubygems'
require 'eventmachine'
require 'json'
require 'open-uri'