Skip to content

Instantly share code, notes, and snippets.

View xa-bi's full-sized avatar

Xabier Vázquez Gallardo xa-bi

View GitHub Profile
from plexapi.server import PlexServer
import glob
import re
import codecs
# create a directoy called listas_filmaffinity and put there the txt files with the movies
# the name of the txt file will be the name of the collection
# the content of the txt file will be the movies of the collection
# the format of the txt file will be: title (year)
# example: listas_filmaffinity/terror.txt
@xa-bi
xa-bi / pre-commit
Last active October 13, 2020 08:27
pre-commit
#!/bin/bash
#
# Install:
# 1. Copy this file as `.git/hooks/pre-commit`
# 2. Make it executable `chmod +x .git/hooks/pre-commit`
# 3. Set your desired options in the `WORKFORCE_PRECOMMIT` ENV var
#
# Posible options: eslint, jstest, rubocop, rubytest
#
# Sample config: in your ~/.bashrc | ~/.zshrc | ...
@xa-bi
xa-bi / about.md
Created February 20, 2018 07:30 — forked from automata/about.md
Using @mattdesl's Texel with Three.js (WebGL renderer)
npm install texel@1.0.15 --global
texel index.js --open
ffmpeg -framerate 24 -i tmp/%03d.png -y output.gif
ffmpeg -framerate 24 -i tmp/%03d.png -y -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4

output.gif