Skip to content

Instantly share code, notes, and snippets.

View joeynotjoe's full-sized avatar
🍉
Free Palestine

joeynotjoe joeynotjoe

🍉
Free Palestine
View GitHub Profile
@fbegue
fbegue / example_output.json
Last active July 11, 2024 22:25
spotify_api_concerts_opester_fork
{
"data": {
"artistUnion": {
"goods": {
"events": {
"concerts": {
"items": [
{
"artistsV2": {
"items": [
Moved to https://github.com/zrooda/curated-mame-arcade-romset
@dbrookman
dbrookman / build-mpv_silicon.sh
Last active April 5, 2025 10:57
How to build mpv & mpv.app on an Apple silicon Mac
#!/usr/bin/env bash
# Builds mpv & mpv.app on Apple silicon Macs.
# Run this script from the root directory of the mpv repo.
# if anything fails, gtfo
set -ex
meson setup build
meson compile -C build
@rmorey
rmorey / gen.sh
Created August 17, 2021 19:58
List of Uniform Type Identifiers
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep uti: | cut -c 29- | sort | uniq > utis.txt
@AbsoluteDestiny
AbsoluteDestiny / 01. Download Locations for FFmpeg.md
Last active March 16, 2023 12:54
Some FFMpeg commands I need to remember for converting footage for video editing. http://bit.ly/vidsnippets
@baderj
baderj / tutorial_themoviedb.py
Last active October 18, 2022 17:02
Example how to use the API v3 of "The Movie Database" (themoviedb.org). Saves all available posters for the movie with IMDb id tt0095016 to the current folder, using the maximum available resolution.
import os
import requests
CONFIG_PATTERN = 'http://api.themoviedb.org/3/configuration?api_key={key}'
IMG_PATTERN = 'http://api.themoviedb.org/3/movie/{imdbid}/images?api_key={key}'
KEY = '<your_api_key>'
def _get_json(url):
r = requests.get(url)
return r.json()