Skip to content

Instantly share code, notes, and snippets.

@elirousso
elirousso / letterpress.py
Created November 2, 2012 17:55 — forked from mstepniowski/letterpress.py
Python helps you play Letterpress
"""
Python helps you play `Letterpress <http://www.atebits.com/letterpress/>`_.
Requires `NLTK library <http://nltk.org/>`_ and cmudict corpus.
You can install the latter by executing the following two lines in Python shell:
>>> import nltk
>>> nltk.download()
I'd consider it cheating, though!
/*=========================================
Reset
=========================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
margin: 0;
padding: 0; }
@elirousso
elirousso / gist:3d5892eaa5d3b15dd901
Last active December 4, 2020 03:56
Dark Minimal Slack Theme
#Paste in Preferences > Sidebar Theme > Click thing at the bottom to expose the input and copy pasta this guy in there
#111111,#111111,#333333,#FFFFFF,#444444,#FFFFFF,#FFFFFF,#FF0000
@elirousso
elirousso / gist:0e9cc5d595191881755c
Last active May 17, 2020 13:19
Light Minimal Slack Theme
#Paste in Preferences > Sidebar Theme > Click thing at the bottom to expose the input and copy pasta this guy in there
#FFFFFF,#FFFFFF,#EEEEEE,#333333,#DDDDDD,#333333,#555555,#FF0000
//
// ContentView.swift
// Toggle Button
//
// Created by Eli Rousso on 7/15/20.
//
import SwiftUI
struct ContentView: View {