Skip to content

Instantly share code, notes, and snippets.

View ianthekirkland's full-sized avatar

Ian Kirkland ianthekirkland

View GitHub Profile
@ianthekirkland
ianthekirkland / foundation-cards-card-divider-flex.markdown
Created September 4, 2017 18:57
Foundation/Cards/Card Divider (Flex)
@ianthekirkland
ianthekirkland / foundation-cards-equalizer-ie11-bug-fix-flex.markdown
Created September 4, 2017 18:55
Foundation/Cards/Equalizer (IE11 Bug Fix) (Flex)
@ianthekirkland
ianthekirkland / foundation-accordion-closed-flex.markdown
Created September 4, 2017 18:43
Foundation/Accordion/Closed (Flex)
@ianthekirkland
ianthekirkland / foundation-accordion-multi-expand-flex.markdown
Created September 4, 2017 18:43
Foundation/Accordion/Multi-expand (Flex)
@ianthekirkland
ianthekirkland / foundation-callout-closable-flex.markdown
Created September 4, 2017 18:42
Foundation/Callout/Closable (Flex)
@ianthekirkland
ianthekirkland / flexbox-cards-layout-fallback.markdown
Created June 16, 2017 05:51
Flexbox Cards Layout + Fallback
@ianthekirkland
ianthekirkland / yaml-to-plist.rb
Created April 6, 2016 00:31 — forked from kch/yaml-to-plist.rb
Writes ruby object structures to plists. When called directly, takes a YAML file.
#!/usr/bin/env ruby
# encoding: UTF-8
require 'yaml'
require 'rexml/document'
class PlistWriter
PLIST_STUB_DOC = %q[
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"></plist>]
@ianthekirkland
ianthekirkland / Juni Festwochen Zürich (1959).markdown
Created January 12, 2016 19:09
Juni Festwochen Zürich (1959)
@ianthekirkland
ianthekirkland / XML Attribute Property.applescript
Created March 19, 2014 15:37
Example of XML attribute property
set href_value to value of XML attribute "href" of XML element "foo"
/usr/bin/plutil -convert xml1 -o - ~/Library/Safari/Bookmarks.plist | grep -E -o '<string>http[s]{0,1}://.*</string>' | grep -v icloud | sed -E 's/<\/{0,1}string>//g'