Skip to content

Instantly share code, notes, and snippets.

View ChrisTowles's full-sized avatar

Chris Towles ChrisTowles

View GitHub Profile
@ChrisTowles
ChrisTowles / Overdrive in browser download a book as mp3s.js
Last active December 24, 2023 16:07
Get the download links from a book mp3 in overdrive
//open window to the lent book.
var baseUrl = "https://ofs-" + window.bData["-odread-buid"] + ".listen.overdrive.com"
window.bData.spine.forEach(function(x) { console.log("" + baseUrl + "/" + x.path ) } )
var model = {
title: window.bData.title,
parts: [],
};
conda activate tf

# no idea why but had problems with ~ in path. 

cd /home/towlesd/Code/tacotron2
mkdir /home/towlesd/OutputDir/
mkdir /home/towlesd/OutputDir/tacotron2
@ChrisTowles
ChrisTowles / commands.openSeq2Seq.md
Last active February 14, 2019 01:59
ML - commands working with openSeq2Seq
@ChrisTowles
ChrisTowles / ExpanderIcon.vue
Last active April 16, 2019 01:49
has fade of icon
<template>
<span class="parent">
<transition name="component-fade" mode="out-in">
<i v-if="!expanded" class="fa fa-chevron-right" aria-hidden="true" :key="1"></i>
<i v-else class="fa fa-chevron-right fa-rotate-90" aria-hidden="true" :key="2"></i>
</transition>
</span>
</template>
<script>