Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
def find_longest(input_string, output = None):
# Given a string, finds the longest sub-string within it in which no
# character is repeated
if output is None:
output = []
longest = []
@graphiclunarkid
graphiclunarkid / gist:709d98d5243e8399340a
Last active August 29, 2015 14:27 — forked from atcuno/gist:3425484ac5cce5298932
HowTo: Privacy & Security Conscious Browsing

The purpose of this "howto" is to document how browsing can be done in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the "How to Contribute" section for information on contributing your own knowledge.

Table of Contents

@graphiclunarkid
graphiclunarkid / lastworkingdayofmonth.ics
Created May 5, 2014 05:45
A calendar entry that appears on the last working day of the month.
BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTART:20100630T093000Z
DTEND:20100630T093000Z
RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1;WKST=SU
SUMMARY:Do something on the last working day of the month
BEGIN:VALARM
TRIGGER:-P1D
ACTION:EMAIL
ATTENDEE:MAILTO:user@domain.tld
@graphiclunarkid
graphiclunarkid / keybase.md
Last active August 29, 2015 14:00
keybase.io proof

Keybase proof

I hereby claim:

  • I am graphiclunarkid on github.
  • I am graphiclunarkid (https://keybase.io/graphiclunarkid) on keybase.
  • I have a public key whose fingerprint is C045 AD3B B3A4 865D BA02 C2EB 2227 CBD6 4C49 7218

To claim this, I am signing this object: