Skip to content

Instantly share code, notes, and snippets.

@AyeGill
AyeGill / para.jl
Last active August 8, 2020 19:09
Para(Euc) from Backprop as Functor(https://arxiv.org/abs/1711.10455) in Catlab.jl
using Catlab.GAT
using Catlab.Theories
using Flux
struct EucSpc
dim::Int
end
struct ParaEucFun
domdim::Int
@AyeGill
AyeGill / sendmail.py
Created October 31, 2020 17:35
Sendmail.py: A simple script that uses mailgun.org to send an email
#!/usr/bin/env python3
import requests
import sys
import os
## Send stdin as an email with first cmdline arg as subject
# could also hardcode thes
@AyeGill
AyeGill / scan_git_diff.py
Last active November 11, 2020 15:04
A script to scan a git repo with notes and send a digest mail
#!/usr/bin/env python3
import sys
import re
import urllib.request
import requests
import os
import logging
from bs4 import BeautifulSoup
@AyeGill
AyeGill / forester.csl
Last active October 16, 2025 17:54
.csl file to create forester reference trees
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Forester Citation Style</title>
<id>http://www.zotero.org/styles/forester-citation-style</id>
<author>
<name>Eigil Fjeldgren Rischel</name>
</author>
<category citation-format="label"/>
<category field="generic-base"/>