Skip to content

Instantly share code, notes, and snippets.


Mal Curtis snikch

View GitHub Profile
snikch / .env.example
Last active Jun 29, 2020
Chia Network Docker Compose
View .env.example

Keybase proof

I hereby claim:

  • I am snikch on github.
  • I am snikch ( on keybase.
  • I have a public key ASBxC7cG-o9JguSQGkfICPIFmoH4LE7GcvVj-Ucxxbjpsgo

To claim this, I am signing this object:

snikch / dropbox@.service
Created May 30, 2018
Dropbox Service for Ubuntu 16+
View dropbox@.service
Description=Dropbox as a system service user %i
ExecStart=/usr/bin/dropbox start
ExecStop=/usr/bin/dropbox stop
# 'LANG' might be unnecessary, since systemd already sets the
snikch / interfaces
Created Jan 18, 2016
Working Raspberry Pi USB wifi
View interfaces
uto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlamn0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
snikch /
Last active Aug 29, 2015
Raspberry Pi syncronised airplay installation

Install Raspbian

Install raspbian via NOOBs. Seems all g.

Install shairplay


# Update Packages
snikch /
Created Feb 5, 2014
Apostle Rails testing

Testing an apostle-rails Integration

This document gives examples using RSpec, but the concepts should apply to any testing framework.

Turn off delivery

In test, we recommend turning off delivery. You can do this in a spec helper, or similar. All calls to #deliver will return true.

require 'apostle'
snikch / sample_data.json
Created Dec 8, 2013 'Order' email sample data
View sample_data.json
"customer": {
"name": "Joe Blogs",
"address": "123 Example St,\nFaketown\nNew Zealand"
"order": {
"id": "51234",
"date": "25/12/13",
"total": "35",
"tax": "5.60",
snikch /
Last active Dec 29, 2015 integration
View Client Integration Guide is a web service for managing web app generated emails. This guide describes the requirements for writing a Client Library in any language.

Please check to see if there is a client library for your language already.

This gist lives at

Style Guide

snikch / Podfile
Last active Dec 27, 2015
Slow pod install. Mac OS 10.9.0 Mavericks Ruby: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]
View Podfile
platform :ios, '6.0'
pod 'HockeySDK'
pod 'Lockbox'
pod 'ViewDeck'
pod 'RestKit'
pod 'SDWebImage'
pod 'DDPageControl'
pod 'MagicalRecord'
pod 'SSPullToRefresh'
pod 'AFOAuth2Client'
snikch / test.rb
Last active Mar 28, 2018
Convert a UUID to UTF-8 encoding to visually shorten.
View test.rb
>> code = Urlcode.uuid_to_code("4c3559f0-cd95-482f-a27d-b2bbc68523ef")
=> "䰵姰축䠯ꉽ늻욅⏯"
>> Urlcode.code_to_uuid(code)
=> "4c3559f0-cd95-482f-a27d-b2bbc68523ef"
You can’t perform that action at this time.