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/sh | |
| # To find proper value for $1, open a developer tools on a Twitch stream and select "Network." Search for "m3u8," copy the longest URL you see, and it should work. | |
| ffmpeg -i $1 -c copy -bsf:a aac_adtstoasc $2 |
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 | |
| # Run 'nvm use' automatically every time there's a .nvmrc file in the directory. | |
| # Also, revert to default version when entering a directory without .nvmrc | |
| enter_directory() { | |
| if [[ $PWD == $PREV_PWD ]]; then | |
| return | |
| fi | |
| PREV_PWD=$PWD |
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
| <?php | |
| /** | |
| * Preload styles | |
| * | |
| * @return void | |
| */ | |
| function mytheme_preload_styles(): void { | |
| global $wp_styles; | |
| if ($wp_styles) { |
OlderNewer