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 | |
| table_file=./table.txt | |
| echo "wait" | |
| echo -n "" > $table_file | |
| wget -q https://github.com/LineageOS/lineage_wiki/archive/master.zip | |
| unzip -q master.zip | |
| rm master.zip |
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 | |
| ##Original from here: https://www.makemkv.com/forum2/viewtopic.php?f=3&t=5266&start=30#p56468 | |
| build_dir="/tmp/build-makemkv/" | |
| build_log="/tmp/makemkv_install.log" | |
| url_ffmpeg_releases="https://www.ffmpeg.org/releases/" | |
| url_makemkv="https://makemkv.com/download/" | |
| url_makemkv_serial="https://forum.makemkv.com/forum/viewtopic.php?f=5&t=1053" | |
| serial_makemkv=$(curl -s4 --url "${url_makemkv_serial}" | grep -oP 'T-[\w\d@]{66}') | |
| vers_ffmpeg=$(curl -s4 "${url_ffmpeg_releases}" | grep -E -o 'ffmpeg-([0-9]{1,}\.)+[0-9]{1,}' | sort -t. -rn | head -n 1) | |
| ##If there are problems, use 3.2.4 - https://makemkv.com/forum2/viewtopic.php?f=3&t=16059 |
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
| import java.io.*; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.regex.Matcher; | |
| import org.apache.commons.io.FileUtils; | |
| import static java.lang.System.exit; | |
| public class HashReplace { |
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
| import org.apache.commons.io.FileUtils; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.math.BigInteger; | |
| import java.net.URI; | |
| import java.net.URISyntaxException; | |
| import java.net.URL; | |
| import java.nio.file.FileStore; | |
| import java.nio.file.FileSystems; |
NewerOlder