Skip to content

Instantly share code, notes, and snippets.

View diegocostares's full-sized avatar

Diego Costa R. diegocostares

View GitHub Profile
@diegocostares
diegocostares / audiotranscribertool.ipynb
Last active May 3, 2024 18:53
AudioTranscriberTool: Herramienta de transcripción de audio con WisperX que admite múltiples fuentes de entrada, incluidos archivos de audio, video y enlaces de redes sociales. Luego produce una transcripción del contenido en varios formatos (TXT, SRT, JSON).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@diegocostares
diegocostares / pprint.py
Created May 23, 2023 20:04
Example from the pprint
import pprint
class MyPrettyPrinter(pprint.PrettyPrinter):
def format(self, object, context, maxlevels, level):
if isinstance(object, unicode):
return (object.encode('utf8'), True, False)
return pprint.PrettyPrinter.format(self, object, context, maxlevels, level)
pp = MyPrettyPrinter()
data = { 'name': 'John Doe', 'age': 30, 'city': 'New York' }
@diegocostares
diegocostares / .zshrc
Last active May 11, 2023 16:28
My .zshrc config
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
# ZSH THEME
ZSH_THEME="robbyrussell"
@diegocostares
diegocostares / settings.json
Created October 20, 2022 01:02
Vscode theme Color Customizations - workbench
{
"workbench.colorTheme": "One Dark Pro Flat",
"workbench.colorCustomizations": {
// Welcompage
"welcomePage.background": "#14161b",
"welcomePage.progress.background": "#ecf1ff",
// Editor
"minimap.background": "#14161b",
"editor.background": "#14161b",
"editor.lineHighlightBackground": "#1c1f25c7",