Skip to content

Instantly share code, notes, and snippets.

lebarde / md2htmlyaml
Last active Apr 30, 2018
Convert Markdown to HTML and leave the YAML verbatim (to use in Hugo)
View md2htmlyaml
# This script converts a .md Markdown file into a HTML file.
# It takes advantage of Pandoc for that, but keeps the front
# matter verbatim in order to process it into Hugo.
# tmp file:
View button.html
<div class="disqus-comments">
<button id="show-comments" class="btn btn-default" type="button">Show <span class="disqus-comment-count" data-disqus-url="{{ trim .Permalink "/" }}">comments</span></button>
<div id="disqus_thread"></div>

How to contact me

After some stalking problems I stopped using these accounts. I will repost when I have new info.

t-mart / netrw quick
Last active Sep 12, 2021
A quick reference for Vim's built-in netrw file selector.
View netrw quick
Map Action
<F1> Causes Netrw to issue help
<cr> Netrw will enter the directory or read the file
<del> Netrw will attempt to remove the file/directory
- Makes Netrw go up one directory
a Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) showing (display only files which match g:netrw_list_hide)
c Make browsing directory the current directory
C Setting the editing window
d Make a directory
calstad /
Last active Sep 1, 2021
List of resources for TDA

Quick List of Resources for Topological Data Analysis with Emphasis on Machine Learning

This is just a quick list of resourses on TDA that I put together for @rickasaurus after he was asking for links to papers, books, etc on Twitter and is by no means an exhaustive list.

Survey Papers

Both Carlsson's and Ghrist's survey papers offer a very good introduction to the subject

Other Papers and Web Resources

bnagy /
Last active Sep 16, 2021
Mutt, Gmail and GPG

GPG / Mutt / Gmail


This is a collection of snippets, not a comprehensive guide. I suggest you start with Operational PGP.

Here is an incomplete list of things that are different from other approaches:

  • I don't use keyservers. Ever.
  • Yes, I use Gmail instead of some bespoke hipster freedom service
staltz /
Last active Sep 18, 2021
The introduction to Reactive Programming you've been missing
#!/usr/bin/env python3
"""Usage: [FILE]...
Guesses first 64 bytes of vim-encrypted files. Method implemented is sufficient
for plain English (preferably with lots of spaces), but any knowledge of
underlying plaintext would do.
$ ./ 1.txt 2.txt 3.txt 4.txt

Keybase proof

I hereby claim:

  • I am ewfelten on github.
  • I am EdFelten ( on keybase.
  • I have a public key whose fingerprint is 4016 659B 637C 4BEF B20F DDCD A965 22DD 9197 0E34

To claim this, I am signing this object:

juderosen /
Last active Mar 12, 2021
Git Wars: GitHub vs Bitbucket

Git Wars: GitHub vs Bitbucket


Now, you might think the answer I'm going to give you is already obvious because I'm using GiHub right now, but it's not. Both GitHub and Bitbucket offer great Git services, but each has its own features and pricing plans. In the following... thing, I'm going to compare the two and then offer a final solution that should work for most people.

TL;DR: Both. Use GitHub for open source and public repos (you'll spend most of your time here) and Bitbucket for private repos. But, sign up for GitHub first, then import account into Bitbucket. Also, check comments for updates. P.S. I personally prefer GitHub.

Interface and Functionality