Skip to content

Instantly share code, notes, and snippets.

View evadecker's full-sized avatar
🌱
digital gardening

Eva Decker evadecker

🌱
digital gardening
View GitHub Profile
@evadecker
evadecker / index.html
Created November 20, 2018 06:07
Synth
<div id="synth">
<svg width="100%" viewBox="0 0 270 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="synth-base">
<rect id="Shadow" fill-opacity="0.1" fill="#000000" x="0" y="4" width="270" height="148" rx="12"></rect>
<rect fill="#40445E" x="0" y="0" width="270" height="148" rx="12"></rect>
<path d="M0,9.99832468 C0,4.47640243 4.47593818,0 10,0 L20,0 L20,148 L10,148 C4.4771525,148 0,143.530333 0,138.001675 L0,9.99832468 Z" id="Left-Endcap" fill="#272B43"></path>
<path d="M250,0 L260,0 C265.522847,0 270,4.46966749 270,9.99832468 L270,138.001675 C270,143.523598 265.524062,148 260,148 L250,148 L250,0 Z" id="Right-Endcap" fill="#272B43"></path>
</g>
<g id="synth-keys" transform="translate(24.000000, 60.000000)">
@evadecker
evadecker / tiffjoin.py
Last active August 18, 2017 02:08
Join normal and retina images into a multi-page TIFF.
import os
exportdir = 'new'
# Create a 'new' directory to put merged files
os.system('mkdir ' + exportdir)
# Iterate over files and combine using tiffcp
for file in os.listdir('.'):
if file.endswith('@2x.tiff'):