15 changed files with 33 additions and 75 deletions
@ -1,4 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
pdfjam "$1" --scale 0.71 --offset '0 50mm' -o "a5_$1" |
|
||||||
|
|
@ -1,4 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
pdfjam "$1" --scale 0.5 --offset '0 75mm' -o "a6_$1" |
|
||||||
|
|
@ -1,4 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
convert -density 300 '*.pdf' -density 300 all.pdf |
|
||||||
|
|
@ -1,4 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
find . -mindepth 1 -maxdepth 1 -type f -exec tar -cvzf 'out/{}.tgz' '{}' \; |
|
||||||
|
|
@ -1,8 +0,0 @@ |
|||||||
#!/bin/sh |
|
||||||
in_file=$1 |
|
||||||
out_wav_file_name="$1.wav" |
|
||||||
out_mp3_file_name="$1.mp3" |
|
||||||
cat "$1" | sed 's/[^a-zA-ZА-Яа-я0-9., ]//g' | text2wave -o "$out_wav_file_name" |
|
||||||
lame "$out_wav_file_name" "$out_mp3_file_name" |
|
||||||
rm "$out_wav_file_name" |
|
||||||
|
|
@ -0,0 +1,6 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
cur_dir=$(pwd) |
||||||
|
|
||||||
|
echo "alias_dir='${cur_dir}'" >> ~/.bashrc |
||||||
|
echo "source ${cur_dir}/alias_config" >> ~/.bashrc |
@ -0,0 +1,8 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
mkdir GIT_Hub |
||||||
|
cd GIT_Hub |
||||||
|
git clone git@github.com:Former/IceWM_Desktop_Config.git |
||||||
|
git clone git@github.com:Former/LinuxScript.git |
||||||
|
git clone git@github.com:Former/LC3_script_tools.git |
||||||
|
|
@ -1,4 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
# |
|
||||||
pdfjam --preamble '\usepackage{fancyhdr} \pagestyle{fancy} \topmargin -65pt \oddsidemargin 150pt \rfoot{} \cfoot{} \rhead{} \chead{\Large\thepage} \renewcommand {\headrulewidth}{0pt} \renewcommand {\footrulewidth}{0pt} ' --pagecommand '\thispagestyle{fancy}' -o "pagenum_$1" "$1" |
|
@ -1,7 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
mkdir tmp |
|
||||||
convert -density 300 $1 tmp/output-%03d.jpg |
|
||||||
convert tmp/output*.jpg -normalize -threshold 60% tmp/final-%03d.jpg |
|
||||||
# convert tmp/output*.jpg -level 0% tmp/final-%03d.jpg |
|
||||||
convert tmp/final*.jpg new_$1 |
|
@ -1,10 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
gamma=$2 |
|
||||||
[ gamma == '' ] && gamma=3 |
|
||||||
|
|
||||||
mkdir tmp |
|
||||||
convert -density 300 $1 tmp/output-%03d.jpg |
|
||||||
convert tmp/output*.jpg -gamma ${gamma} tmp/final-%03d.jpg |
|
||||||
# convert tmp/output*.jpg -level 0% tmp/final-%03d.jpg |
|
||||||
convert tmp/final*.jpg new_$1 |
|
@ -1,20 +0,0 @@ |
|||||||
#!/bin/sh |
|
||||||
# Общественное достояние, 2024, Алексей Безбородов (Alexei Bezborodov) <AlexeiBv+mirocod_txt2mp3@narod.ru> |
|
||||||
|
|
||||||
# Тест всех голосов |
|
||||||
|
|
||||||
in_file=$1 |
|
||||||
|
|
||||||
declare -a speaker_arr=("oksana" "jane" "omazh" "zahar" "ermil" "silaerkan" "erkanyavas" "alyss" "nick") |
|
||||||
declare -a emotion_arr=("neutral" "good" "evil") |
|
||||||
|
|
||||||
for s in "${speaker_arr[@]}" |
|
||||||
do |
|
||||||
for e in "${emotion_arr[@]}" |
|
||||||
do |
|
||||||
echo "speaker ${s} emotion ${e}" |
|
||||||
echo "~/txt2mp3_by_yatts -i \"${in_file}\" -o \"${in_file}_${s}_${e}.mp3\" -e \"${e}\" -s \"${s}\"" |
|
||||||
~/txt2mp3_by_yatts -i "${in_file}" -o "${in_file}_${s}_${e}.mp3" -e "${e}" -s "${s}" |
|
||||||
done |
|
||||||
done |
|
||||||
|
|
@ -1,3 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
perl -CSD -pe "s/\N{U+200B}//gu" < $1 > noU200B_$1 |
|
||||||
|
|
Loading…
Reference in new issue