Skip to content

Instantly share code, notes, and snippets.

View guhungry's full-sized avatar

Woraphot Chokratanasombat guhungry

View GitHub Profile
@guhungry
guhungry / subgit-docker
Last active October 1, 2019 01:54
SVN Migration via docker
SVN_URL=https://35.240.170.113/svn/dmproject
REPO_DIR=dmproject
mkdir $REPO_DIR
cd $REPO_DIR
docker pull polinux/subgit
docker run \
-ti \
-w /subgit \
-v ${PWD}:/subgit \
polinux/subgit \
@guhungry
guhungry / TalkUtils.java
Created April 5, 2019 03:52
TextToSpeech api wrapper
package com.accenture.acncodechallengeandroid.utils;
import android.content.Context;
import android.os.Build;
import android.speech.tts.TextToSpeech;
import android.speech.tts.UtteranceProgressListener;
import java.lang.ref.WeakReference;
/**