Skip to content

Instantly share code, notes, and snippets.

View miguelgargallo's full-sized avatar
🇮🇨
https://pylar.org

Miguel Gargallo miguelgargallo

🇮🇨
https://pylar.org
View GitHub Profile
@miguelgargallo
miguelgargallo / .bashrc
Created August 22, 2023 11:56 — forked from arindam89/.bashrc
.bashrc example
View .bashrc
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't overwrite GNU Midnight Commander's setting of 'ignorespace'.
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
# ... or force ignoredups and ignorespace
export HISTCONTROL=ignoreboth
@miguelgargallo
miguelgargallo / README.md
Created January 11, 2023 21:37 — forked from midudev/README.md
Transcribe vídeo de YouTube con Whisper e Inteligencia Artificial
View README.md

Requisitos

Necesitas tener instalado Python 3.9 e instalar la dependencia de Whisper y PyTube:

pip install git+https://github.com/openai/whisper.git
pip install pytube

También necesitas tener instalado ffmpeg. Según tu sistema operativo se instala de esta forma:

@miguelgargallo
miguelgargallo / gist:de51fbf3e3932df852f2ea71e6776262
Created August 30, 2022 11:17 — forked from BjornDCode/gist:5cb836a6b23638d6d02f5cb6ed59a04a
Tailwind - Fixed sidebar, scrollable content
View gist:de51fbf3e3932df852f2ea71e6776262
// Source: https://twitter.com/calebporzio/status/1151876736931549185
<div class="flex">
<aside class="h-screen sticky top-0">
// Fixed Sidebar
</aside>
<main>
// Content
</main>