ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
<!DOCTYPE html> | |
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5"> | |
<div> | |
<b>Username:</b> | |
<div sec:authentication="name"> | |
The value of the "name" property of the authentication object should appear here. | |
</div> | |
</div> | |
<div> | |
<b>User Roles: </b> |
""" | |
A tiny youtube video downloader. | |
usage: yt.py [-h] [--only-audio] [--num_retries NUM_RETRIES] [--output OUTPUT] video_url | |
Built by Abigail Adegbiji on April 7, 2024. | |
Inspried by this blog post: https://tyrrrz.me/blog/reverse-engineering-youtube-revisited | |
Note that the get_video_info function will be subject to change when Youtube changes their api. | |
Also note that ffmpeg and ffmpeg-python are required dependencies. | |
""" |
// Creating a node graph editor for Dear ImGui | |
// Quick sample, not production code! | |
// This is quick demo I crafted in a few hours in 2015 showcasing how to use Dear ImGui to create custom stuff, | |
// which ended up feeding a thread full of better experiments. | |
// See https://github.com/ocornut/imgui/issues/306 for details | |
// Fast forward to 2023, see e.g. https://github.com/ocornut/imgui/wiki/Useful-Extensions#node-editors | |
// Changelog | |
// - v0.05 (2023-03): fixed for renamed api: AddBezierCurve()->AddBezierCubic(). |
# TODO: Verify to link statically some dependencies usually not available in a default instllation of RHEL/CentOS (ex.: libxcb) | |
################### | |
## Configuration ## | |
################### | |
FFMPEG_CPU_COUNT=$(nproc) | |
FFMPEG_ENABLE="--enable-gpl --enable-version3 --enable-nonfree --enable-runtime-cpudetect --enable-gray --enable-openssl --enable-libfreetype" | |
FFMPEG_HOME=/usr/local/src/ffmpeg |
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
""" | |
Python script to interact with existing Windows Task Scheduler tasks. | |
CLI usage: | |
python windows_task_scheduler.py {enable|disable|run} -t "TaskName" | |
import usage: | |
import windows_task_scheduler as wts | |
wts.enable_task(task_name='TaskName') | |
wts.disable_task(task_name='TaskName') |
This is me documenting my journey moving my Homelab from a Qnap NAS and a Single host Proxmox server to a Hyper-converged multi-node Proxmox Cluster.
The reason to document it here is twofold:
It's written 'first to scratch my own itch' but hopefully it benefits others too, or even better, that others improve upon my implementations. Feel free to comment or share improvements and insights!
rebase
vs merge
).rebase
vs merge
)reset
vs checkout
vs revert
)git rev-parse
)pull
vs fetch
)stash
vs branch
)reset
vs checkout
vs revert
)<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>2D Airplane Game</title> | |
<style> | |
canvas { | |
border: 1px solid black; | |
} |