Skip to content

Instantly share code, notes, and snippets.

View AdamKane's full-sized avatar

Adam Kane AdamKane

View GitHub Profile
# Beginner's Guide: Converting Markdown to PowerPoint with Python
Creating PowerPoint presentations from Markdown can save time and ensure consistency. This beginner-friendly guide will walk you through setting up the Python environment on Windows, formatting your Markdown files, understanding how the provided script works, customizing slide templates, and planning for future features like images and videos. Let's get started!
## 1. Installation Instructions (Windows)
Before using the script, make sure you have **Python 3** installed on your Windows PC and then install the **`python-pptx`** library (which the script uses to create PowerPoint files).A
**Step 1: Install Python 3 on Windows**
1. **Download Python:** Visit the official Python download page and download the latest Python 3 installer for Windows (choose the 64-bit installer if you have a 64-bit system) ([How to Install Python on Windows 10 | DigitalOcean](https://www.digitalocean.com/community/tutorials/install-python-windows-10#:~:t
@AdamKane
AdamKane / README.md
Created July 30, 2021 20:52 — forked from astamicu/Remove videos from Youtube Watch Later playlist.md
Script to remove all videos from Youtube Watch Later playlist

UPDATED 3.12.2020

The old version of youtube with "disable_polymer" is not working anymore, so the script also stopped working.

Thanks to JanTheDeveloper we have a new working script. Big up!

I just changed the '//span[contains(text(),"Watch later")]', to '//span[contains(text(),"Remove from")]', and it should work for any playlist, not just the watch later one. (thanks to hudsonite for the tip)

setInterval(function () {
 document.querySelector('#primary button[aria-label="Action menu"]').click();
List<XRInputSubsystem> subsystems = new List<XRInputSubsystem>();
SubsystemManager.GetInstances<XRInputSubsystem>(subsystems);
for (int i = 0; i < subsystems.Count; i++)
{
subsystems[i].TrySetTrackingOriginMode(TrackingOriginModeFlags.Floor);
}
@AdamKane
AdamKane / prepare-commit-msg.sh
Created November 3, 2019 11:06 — forked from bartoszmajsak/prepare-commit-msg.sh
How to automatically prepend git commit with a branch name
#!/bin/bash
# This way you can customize which branches should be skipped when
# prepending commit message.
if [ -z "$BRANCHES_TO_SKIP" ]; then
BRANCHES_TO_SKIP=(master develop test)
fi
BRANCH_NAME=$(git symbolic-ref --short HEAD)
BRANCH_NAME="${BRANCH_NAME##*/}"