bash : ttsScript.sh

#!/bin/sh usage () { echo " Usage: $0 --name \"TTS-TNM@1-PG\" --page 1-2 " >&2; exit 1 } while [ $# -gt 0 ]; do case "$1" in --name) NAME="$2"; shift;; --page) PAGE="$2"; shift;; --) shift; break;; -*) usage ;; *) break ;; esac; shift done [ "$NAME" = "" -o "$PAGE" = "" ] && […]

Read More

CentOS 7 : tts festival

# yum install festival festvox* # festival festival> (voice.list) (nitech_us_slt_arctic_hts  nitech_us_rms_arctic_hts  nitech_us_clb_arctic_hts  nitech_us_awb_arctic_hts  nitech_us_bdl_arctic_hts  nitech_us_jmk_arctic_hts  ked_diphone    kal_diphone)   festival> (set! voice_default 'nitech_us_jmk_arctic_hts) festival> (SayText "Hello, world!") festival> (quit) # text2wave test.txt -o test.aiff -otype aiff   # echo "How are you?" | festival --tts  

Read More

ssh remote command with trusted by ssh-keygen Hint!

[local ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa):  Enter passphrase (empty for no passphrase):  Enter same passphrase again:  Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx root@local The key's randomart image is: +---[RSA 2048]----+ […]

Read More

oracle : use dblink by command line

must be added tnsnames [DB Links] object not enough ~     # vi /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora   REMOTETNS1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.10)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = XE)))   # su - oracle -c "expdp dbuser/xxxxxx@REMOTETNS1 dumpfile=file.dmp logfile= file.log directory=BACKUP_DIR reuse_dumpfiles=y"    

Read More