Skip to content

Instantly share code, notes, and snippets.

View ctcampbell's full-sized avatar
Working from home

Chris Campbell ctcampbell

Working from home
View GitHub Profile
feighter09 / Fonts.swift
Last active June 25, 2021 19:24
Set global font for iOS app in one place
// MARK: - Swizzling
extension UIFont {
class var defaultFontFamily: String { return "Georgia" }
override public class func initialize()
if self == UIFont.self {
vrypan /
Last active August 12, 2021 21:43
Python script to add/update an A record at amazon area53 DNS service, using current IP. (ie, dyndns replacement)
from area53 import route53
from boto.route53.exception import DNSServerError
import requests
import sys
from datetime import datetime
# Modified from
domain = 'domain.tld'
subdomain = 'subdomain_name'