Skip to content

Instantly share code, notes, and snippets.

View tom-spalding's full-sized avatar
🐊

Tom Spalding tom-spalding

🐊
View GitHub Profile
@tom-spalding
tom-spalding / .gitignore
Last active April 27, 2017 07:01
Script to import your Google calendar into Orage.
url.txt
*.pyc
@tom-spalding
tom-spalding / BananaBattery.fzpz
Last active August 29, 2015 14:07
Fritzing Banana Battery Pack
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=latex 2014.10.29) 29 OCT 2014 16:26
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**tmpjiwL6e
(./tmpjiwL6e.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 10 languages loaded.
)
*\scrollmode
@tom-spalding
tom-spalding / post-commit
Created November 3, 2014 19:38
post-commit hook used to sync the readme to https://digitalvapor.github.io/PySkyAlmanac/
#!/bin/bash
###
### The following block runs after commit to "master" branch
### https://stackoverflow.com/questions/15214762/how-can-i-sync-documentation-with-github-pages/16389663#16389663
###
if [ `git rev-parse --abbrev-ref HEAD` == "master" ]; then
# Layout prefix is prepended to each markdown file synced
###################################################################
LAYOUT_PREFIX='---\r\nlayout: index\r\n---\r\n\r\n'
@tom-spalding
tom-spalding / sensor_tower_logo.css
Created January 20, 2015 06:19
A pure CSS version of the Sensor Tower logo.
/*
A pure CSS version of the Sensor Tower Logo
by Tom Spalding
https://github.com/digitalvapor
*/
/* spacer */
a:before {
background-color: #20aa9c;
border-style: solid;
@tom-spalding
tom-spalding / devise_invitable.th.yml
Created September 5, 2025 07:07
Devise Invitable i18n Translations
# Additional translations at https://github.com/scambra/devise_invitable/wiki/I18n
th:
devise:
failure:
invited: คุณมีคำเชิญที่กำลังรอการดำเนินการ โปรดยอมรับคำเชิญนั้นเพื่อสร้างบัญชีของคุณให้เสร็จสิ้น
invitations:
send_instructions: อีเมลคำเชิญได้ถูกส่งไปยัง %{email} แล้ว
invitation_token_invalid: โทเค็นคำเชิญที่ให้มาไม่ถูกต้อง!
updated: ตั้งรหัสผ่านของคุณเรียบร้อยแล้ว ตอนนี้คุณลงชื่อเข้าใช้แล้ว