This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://engineering.giphy.com/how-to-make-gifs-with-ffmpeg/ | |
| How to make GIFs with FFMPEG | |
| March 29, 2018 by Collin Burger | |
| INTRODUCTION | |
| To follow along, download media files here: https://github.com/cyburgee/ffmpeg-guide |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import openai # pip install openai | |
| import typer # pip install "typer[all]" | |
| from rich import print # pip install rich | |
| from rich.table import Table | |
| """ | |
| Webs de interés: | |
| - Módulo OpenAI: https://github.com/openai/openai-python | |
| - Documentación API ChatGPT: https://platform.openai.com/docs/api-reference/chat | |
| - Typer: https://typer.tiangolo.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import trafilatura | |
| import feedparser | |
| import requests | |
| from bs4 import BeautifulSoup | |
| from feedgenerator import DefaultFeed, Enclosure | |
| API_URL = "https://api-inference.huggingface.co/models/facebook/bart-large-cnn" | |
| headers = {"Authorization": "Bearer HF_TOKEN"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Built on top of this gist by @karpathy: | |
| https://gist.github.com/karpathy/00103b0037c5aaea32fe1da1af553355 | |
| stable diffusion dreaming over text prompts | |
| creates hypnotic moving videos by smoothly walking randomly through the sample space | |
| example way to run this script: | |
| $ python stable_diffusion_walk.py --prompts "['blueberry spaghetti', 'strawberry spaghetti']" --seeds 243,523 --name berry_good_spaghetti |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| stable diffusion dreaming | |
| creates hypnotic moving videos by smoothly walking randomly through the sample space | |
| example way to run this script: | |
| $ python stablediffusionwalk.py --prompt "blueberry spaghetti" --name blueberry | |
| to stitch together the images, e.g.: | |
| $ ffmpeg -r 10 -f image2 -s 512x512 -i blueberry/frame%06d.jpg -vcodec libx264 -crf 10 -pix_fmt yuv420p blueberry.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # First, let's create an awaitable object. | |
| # In this case it's a very dumb container of integers. | |
| # Any time a coroutine runs `await Thing(n)` it just resolves to n | |
| # However, we could resolve it to something completely different if we wanted to | |
| class Thing: | |
| def __init__(self, n): | |
| self._n = n | |
| def __await__(self): |
Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).
I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "2.4" | |
| services: | |
| transmission: | |
| image: linuxserver/transmission:latest | |
| network_mode: service:gluetun | |
| restart: always | |
| environment: | |
| - PGID=100 | |
| - PUID=1032 | |
| volumes: |
NOTE: I want disclaimer that this work is not complete mine. Most of the work here is comming from: https://dhwaneetbhatt.com/blog/run-docker-without-docker-desktop-on-macos
$ brew doctor
$ brew update