Skip to content

Instantly share code, notes, and snippets.

View CypherpunkSamurai's full-sized avatar
😶
Currently Busy 🌻🐢

Cypherpunk Samurai CypherpunkSamurai

😶
Currently Busy 🌻🐢
View GitHub Profile
export ANDROID_HOME=\"/opt/android/sdk\"
export PATH=$PATH:/opt/android/sdk/cmdline-tools/tools/bin
if [ ! -d \"$ANDROID_HOME/cmdline-tools\" ]; then
curl -o sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip
unzip sdk.zip
rm sdk.zip
mkdir \"$ANDROID_HOME/cmdline-tools\"
mv cmdline-tools \"$ANDROID_HOME/cmdline-tools/tools\"
yes | \"$ANDROID_HOME/cmdline-tools/tools/bin/sdkmanager\" --licenses
fi
@CypherpunkSamurai
CypherpunkSamurai / README.md
Last active May 6, 2022 14:02
Gitpod Gradle

README

This script builds using gradlew

Bug Fix

  • Often removing .gradle folder works.
  • When local sources are build remove build folders
@CypherpunkSamurai
CypherpunkSamurai / sign_all.sh
Last active May 6, 2022 15:52
Sign Zip Align
#!/bin/sh
find app/build/outputs -name "*.apk" -exec ./sign_zip.sh "{}" \;
@CypherpunkSamurai
CypherpunkSamurai / tacotron2_wav_file_ffmpeg.txt
Last active May 16, 2022 19:35
ffmpeg commands for tacotron2 training data
# Tacotron Convert FFMPEG
ffmpeg -i input.wav -acodec pcm_s16le -ac 1 -ab 352000 -ar 22050 output.wav
@CypherpunkSamurai
CypherpunkSamurai / ffmpeg.md
Created May 9, 2022 07:57 — forked from whizkydee/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CypherpunkSamurai
CypherpunkSamurai / tutorial_converting_pytorch_to_tf_to_tflite.ipynb
Last active May 16, 2022 19:35
Tutorial_Converting_PyTorch_to_TF_to_TFlite.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CypherpunkSamurai
CypherpunkSamurai / ddc-tts_and_multiband-melgan_tf_example.ipynb
Created May 16, 2022 19:37
DDC-TTS_and_MultiBand-MelGAN_TF_Example.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CypherpunkSamurai
CypherpunkSamurai / tacotron2-and-wavenet-text-to-speech-demo.ipynb
Created May 16, 2022 19:39
Tacotron2 and WaveNet text-to-speech demo.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CypherpunkSamurai
CypherpunkSamurai / README.md
Created May 18, 2022 20:33 — forked from typebrook/README.md
A bash script for gist management #bash #gist