Skip to content

Instantly share code, notes, and snippets.

@thedod
thedod / README.md
Last active August 29, 2015 14:23
TimelineJS3 (not 2!) converter json<->csv [not an "official csv standard", but easy to edit]

To convert json to csv:

./timeline_json2csv.py < goodtimes.json > goodtimes.csv

Edit the spreadsheet (with excel), then convert back:

./timeline_csv2json.py < goodtimes.csv > goodtimes.json

Note: We assume csv files are utf-16 encoded (like excel writes them), not utf-8 (like soffice would).

We've moved HERE

[This obsolete gist stays here because stuff might still link here]


DarkenedAges — a twister-based game of intrigue and bad crypto

Trust ██ like █████. Be ███████.

@thedod
thedod / index.html
Last active August 29, 2015 14:20
public-domain waiver
<p xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">
<a rel="license"
href="http://creativecommons.org/publicdomain/zero/1.0/">
<img src="http://i.creativecommons.org/p/zero/1.0/88x31.png" style="border-style: none;" alt="CC0" />
</a>
<br />
To the extent possible under law,
<a rel="dct:publisher"
href="https://dubiousdod.org">
<span property="dct:title">ĎÚβĨŐÚŚ Dod</span></a>
@thedod
thedod / site_url.rb
Created April 1, 2015 09:45
Dumbest possible Jekyll plugin: prefix site.baseurl
# {% site_url /some/path/to/file.suffix %} is like {{ '/some/path/to/file.suffix' |:prefix site.baseurl }}
module Jekyll
class SiteUrl < Liquid::Tag
def initialize(name, url, tokens)
super
@url = url
end
def render(context)
@thedod
thedod / README.md
Last active August 29, 2015 14:17
.jekyll bookmarklet
@thedod
thedod / .gitignore
Last active December 22, 2021 23:38
Hyde Park - githubless gh-pages with gitolite
config.py
env-*
*.pyc
@thedod
thedod / README.md
Last active December 1, 2016 20:06
#BioCitationNeeded (a #no2bio project)

The #BioCitationNeeded project

We've moved here.

@thedod
thedod / keybase.md
Last active August 29, 2015 14:12
I am 4real. Honest.

Keybase proof

I hereby claim:

  • I am thedod on github.
  • I am thedod (https://keybase.io/thedod) on keybase.
  • I have a public key whose fingerprint is 5986 9F95 92CF B3B8 D72F 0555 385F A683 3F85 ED5E

To claim this, I am signing this object:

@thedod
thedod / README.md
Last active July 12, 2021 15:34 — forked from d3noob/.block
Twister daily traffic (D3 visualization of TwisterIO stats)
@thedod
thedod / README.md
Last active August 29, 2015 14:10
WebmentionDressing

Bl.ocks.org demo. (Example hashes: #Webmention #WebmentionDressing #2014/Online)

If you want to display relevant webmetion.io comments at your site, you can use this as an iframe. For example:

<iframe id="webmentiondressing"
    style="width:100%; height:600px; padding:0;margin:0;border:none"></iframe>
<!-- this should be at the bottom where jQuery is already defined, of course -->
<script type="text/javascript">
// Replace this with some https location, or it would break when https