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 | |
git config --global alias.utccommit '!GIT_AUTHOR_DATE="$(date --utc +%Y-%m-%dT%H:%M:%S%z)" GIT_COMMITTER_DATE="$(date --utc +%Y-%m-%dT%H:%M:%S%z)" git commit' |
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
$date = "2020-01-01T00:00:00Z"; | |
Get-ChildItem * | foreach { $_.CreationTimeUtc = Get-Date $date; $_.LastWriteTimeUtc = Get-Date $date; $_.LastAccessTimeUtc = Get-Date $date } |
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 | |
# all mp4 files in this directory | |
for file in ./*.mp4; do | |
# create new mp3 name | |
audio="${file%.mp4}.mp3" | |
# if .mp4 is file and .mp3 does not exists | |
if [ -f $file ] && [ ! -e $audio ]; then | |
# ffmpeg will convert mp4 to mp3 with the strongest compressing (-q:a 9) | |
# will show only panic logs | |
ffmpeg -hide_banner -loglevel panic -i $file -vn -codec:a libmp3lame -q:a 9 $audio |
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 9 columns, instead of 7 in line 4.
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
Name,Treble,Author,Date,Website,Download link,XDA link,Telegram link,4PDA post link | |
AICP,No,hemantbeast,2020-04-04,https://aicp-rom.com,https://dwnld.aicp-rom.com/device/santoni/WEEKLY/aicp_santoni_p-14.0-WEEKLY-20200404.zip,https://forum.xda-developers.com/xiaomi-redmi-4x/development/-t3752147,,https://4pda.ru/forum/index.php?act=findpost&pid=88671997 | |
AOSiP Pizza,No,emrecan001,2019-09-26,,https://drive.google.com/u/0/uc?export=download&id=1NtN4V6tEjAeETx68Dbn-9lOVhI47hMqx,,,https://4pda.ru/forum/index.php?act=findpost&pid=89281070 | |
Arrow OS,Yes,Sonal Singh,2019-10-16,https://arrowos.net,https://download.sourceforge.net/arrow-os/Arrow-v9.0-santoni-OFFICIAL-20191016.zip,https://forum.xda-developers.com/xiaomi-redmi-4x/development/-t3822643,https://t.me/Arrow_OS,https://4pda.ru/forum/index.php?act=findpost&pid=77317907 | |
AOSiP DerpFest,No,bikram_m,2020-03-14,https://sourceforge.net/projects/derpfest,https://download.sourceforge.net/derpfest/AOSiP-9.0-DerpFest-Official-santoni-20200314.zip,https://forum.xda-develop |
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 -version 4.0 | |
#Requires –RunAsAdministrator | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory = $false, HelpMessage = "Choose custom language and version. For example, 'zh-TW' or 'N_de-de'. By default this parameter is host system language.")] | |
[string] | |
$Locale = ((Get-WinSystemLocale).Name).ToLower(), | |
[Parameter(Mandatory = $false, HelpMessage = "Path to 'WindowsXPMode_xx-xx.exe' file.")] |
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
https://download.microsoft.com/download/2/5/B/25B89F73-F3D6-44AC-8E53-44473B508093/WindowsXPMode_ar-sa.exe | |
https://download.microsoft.com/download/9/7/5/975C7E04-C541-4895-9320-79A6CA398EB9/WindowsXPMode_cs-cz.exe | |
https://download.microsoft.com/download/9/7/5/975C7E04-C541-4895-9320-79A6CA398EB9/WindowsXPMode_N_cs-cz.exe | |
https://download.microsoft.com/download/1/9/B/19B4BC03-EEC6-483C-AAD9-FDC71391D9C0/WindowsXPMode_da-dk.exe | |
https://download.microsoft.com/download/1/9/B/19B4BC03-EEC6-483C-AAD9-FDC71391D9C0/WindowsXPMode_N_da-dk.exe | |
https://download.microsoft.com/download/C/9/8/C984738B-C8C4-4A59-B396-DD77606D7932/WindowsXPMode_de-de.exe | |
https://download.microsoft.com/download/C/9/8/C984738B-C8C4-4A59-B396-DD77606D7932/WindowsXPMode_N_de-de.exe | |
https://download.microsoft.com/download/F/7/5/F75B1D75-7A1F-4AC1-9788-0F970FC7D875/WindowsXPMode_el-gr.exe | |
https://download.microsoft.com/download/F/7/5/F75B1D75-7A1F-4AC1-9788-0F970FC7D875/WindowsXPMode_N_el-gr.exe | |
https://download.microsoft.com/download/7/2/C/72C7BAB |
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
# Thanks to slhck: https://superuser.com/a/370637 | |
# Thanks to Tim Van Wassenhove: https://timvw.be/2010/11/20/convert-aacm4a-files-to-mp3-with-vlc-and-powershell/ | |
# Test: ffmpeg-mp3-to-aac -Verbose -RemoveOld | |
# Test: ffmpeg-mp3-to-aac -RemoveOld | |
# Test: ffmpeg-mp3-to-aac | |
Param ( | |
[Parameter(Mandatory=$false, HelpMessage="Does the script remove old mp3 file")] | |
[switch] |