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
| # Based on the Catppuccin theme for kitty | |
| # source https://github.com/catppuccin/kitty/blob/main/themes/mocha.conf | |
| # Add this file to your Git Bash Terminal theme directory | |
| # (e.g. C:\Program Files\Git\usr\share\mintty\themes). | |
| # Open Git Bash, right click on the terminal top bar and go to | |
| # Options../Looks/Theme to select the theme | |
| ForegroundColour=205,214,244 | |
| BackgroundColour=30,30,46 | |
| Black=69, 71, 90 |
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
| # Requires ffmpeg | |
| #!/bin/bash | |
| for file in *mkv; do | |
| filename="${file%.*}" | |
| echo "$filename" | |
| ffmpeg -i "$file" -vn -an -codec:s srt "$filename.srt" | |
| done |
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
| # Display more rows and columns of the DataFrame | |
| def display_all(df, n_rows=1000, n_cols=1000): | |
| with pd.option_context("display.max_rows", n_rows, "display.max_columns", n_cols): | |
| display(df) |