Skip to content

Instantly share code, notes, and snippets.

View chriskyfung's full-sized avatar
🎯
Focusing

Chris K.Y. FUNG chriskyfung

🎯
Focusing
View GitHub Profile
@chriskyfung
chriskyfung / youtube2rss.php
Last active July 19, 2020 04:24 — forked from Skalman/index.php
Dynamic RSS feeds from Youtube links * DOES NOT WORK FOR NEW YOUTUBE FRONTEND *
<?php
if (!isset($_GET['url'])) {
?>
<!DOCTYPE html>
<meta charset="utf-8">
<title>Youtube RSS creator</title>
<form>
<p>Create an RSS feed for the videos on the following page:
<p><input name="url" placeholder="E.g. https://www.youtube.com/user/scishow/videos" style="width: 30em">
@chriskyfung
chriskyfung / upload_to_trello.py
Created June 21, 2021 08:04
Simple python script to upload a file to Trello.
"""
Simple python script to upload a file to Trello.
This script is a demo - done to show how to do it - it doesn't have
much practical purpose as it requires the use of a number of tokens
and identifiers which you can only get programmatically or by visiting
the website (in which case you may as well upload the attachment directly.)
You should read the Trello API docs prior to using this:
https://trello.com/docs/gettingstarted/index.html