Skip to content

Instantly share code, notes, and snippets.

View ahmattox's full-sized avatar
🍤

Anthony Mattox ahmattox

🍤
View GitHub Profile
@dbreunig
dbreunig / ReporterSaveFileDescription.md
Last active January 22, 2021 16:07
A description of the data written to the Reporter App Dropbox save folder.

#Reporter Save File Schema

##The Reporter Export File

Reporter saves to your Dropbox account with plaintext JSON files, one for each day. When a Report is entered in the app a file is created for that day if it does not exist. Otherwise, the report is appended to the existing file. The save folder is located in 'Dropbox/Apps/Reporter-App/'.

Reporter save files are named according to the following convention:

YYYY-MM-DD-reporter-export.json
@danmartens
danmartens / jquery_plugin.coffee
Last active December 20, 2015 11:19
jQuery plugin pattern that attaches a class instance to the element. Inspired by http://coding.smashingmagazine.com/2011/10/11/essential-jquery-plugin-patterns.
(($) ->
pluginName = 'pluginName'
defaults = {
prop: 'value'
}
class Plugin
constructor: (element, options) ->
@el = element; @$el = $(element)
@ngauthier
ngauthier / scratch.html
Last active December 14, 2015 16:19
Nick's quick html and css scratchpad
<!DOCTYPE html>
<html lang="en">
<head>
<title>Nick's Style Scratchpad</title>
<style>
html, body {
margin: 0;
padding: 0;
}
.editor, #output {
@ahmattox
ahmattox / FTWDropCapTextView.h
Last active September 16, 2016 16:36
Text View with Drop Caps UIView subclass which renders text using core text with an enlarged, floating first character.
//
// FTWDropCapTextView.h
//
// Created by Anthony Mattox on 1/22/13.
// Copyright (c) 2013 Friends of The Web. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FTWDropCapTextView : UIView