Skip to content

Instantly share code, notes, and snippets.

View lhotakj's full-sized avatar
💭
coding at home, coding at work, coding everywhere.

Jaroslav Lhoták lhotakj

💭
coding at home, coding at work, coding everywhere.
View GitHub Profile
@jiffyclub
jiffyclub / markdown_doc
Last active August 1, 2023 11:16
This script turns Markdown into HTML using the Python markdown library and wraps the result in a complete HTML document with default Bootstrap styling so that it's immediately printable. Requires the python libraries jinja2, markdown, and mdx_smartypants.
#!/usr/bin/env python
import argparse
import sys
import jinja2
import markdown
TEMPLATE = """<!DOCTYPE html>
<html>
@Jonathan-Mckenzie
Jonathan-Mckenzie / readme.md
Last active July 15, 2024 15:37
Give everyone in your strava feed a kudos

Give kudos to every event in your feed

  1. Navigate to the main feed page of Strava in a web browser:
    https://www.strava.com/dashboard?num_entries=100
  2. Replace the "100" in the above URL with whatever number of activities you wish to give kudos to
  3. Open Developer Tools in your web browser and navigate to the console
  4. Paste the script below into the console and press enter: