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
| #!/bin/bash | |
| # Basic spotify commands through dbus using dbus-send | |
| # https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4360856#M15590 | |
| # https://gist.github.com/wandernauta/6800547 | |
| pause() { | |
| dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause | |
| } |
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
| #!/bin/bash | |
| # https://pypi.org/project/edge-tts/ | |
| # edge-tts -v fr-CH-ArianeNeural -t "test" | ffplay -v 0 -nodisp -autoexit - | |
| #Name: fr-BE-CharlineNeural | |
| #Name: fr-BE-GerardNeural | |
| #Name: fr-CA-AntoineNeural | |
| #Name: fr-CA-JeanNeural |
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
| # use C-a, since it's on the home row and easier to hit than C-b | |
| #set-option -g prefix C-a | |
| #unbind-key C-a | |
| #bind-key C-a send-prefix | |
| #set -g base-index 1 | |
| # Easy config reload | |
| bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." | |
| # vi is good |
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
| git diff 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD | |
| # https://stackoverflow.com/questions/40883798/how-to-get-git-diff-of-the-first-commit |