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 | |
| cat <<EOF | |
| This utility will find <Search> string and replace it with <Replacement> string | |
| in all files in current folder including their both filename and contents | |
| EOF | |
| # check if GNU rename utility exists | |
| if [ ! -f /usr/local/bin/rename ] |
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 | |
| val1="testing" | |
| val2='' | |
| ### Не пустая ли строка | |
| if [ -n $val1 ]; then | |
| echo "Строка '$val1' не пустая" | |
| else | |
| echo "Строка '$val1' пустая" |
Ниже приведен пример файла extended M3U на платформе Windows. Песня.mp3 и Песня.ogg — это медиафайлы, 123 и 321 — длительность. Если продолжительность медиафайла неизвестна, в параметре длительность можно указать −1 (обычно указывают для потоков: онлайн-радио, телевидение, вещание). После параметра длительность указывается параметр название, который по умолчанию эквивалентен пути файла, что указывается во второй строке. На платформах Mac OS X и Linux используются Unix путь.
#EXTM3U
Updates composer.lock hash without updating any packages
composer update --lock
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 | |
| // autoload_namespace.php generated by Composer | |
| $vendorDir = dirname(__DIR__); | |
| $baseDir = dirname($vendorDir); | |
| return array( | |
| 'Volcanus\\Validation' => $vendorDir . '/volcanus/validation/src/', | |
| 'Symfony\\Component\\HttpFoundation' => $vendorDir . '/symfony/http-foundation/', |
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
| javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?later=yes&noui=yes&jump=close&tags=TAGS GO HERE&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=100,height=100')); | |
| // Copy and paste the above into a new bookmark. Replace "TAGS GO HERE" with your tags. Presto! |
yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The main focus of this project is adding new features and patches while also keeping up to date with the original project