Skip to content

Instantly share code, notes, and snippets.

View anphetamina's full-sized avatar

Antonio Santoro anphetamina

  • Italy
View GitHub Profile
@anphetamina
anphetamina / colabReconnect.js
Created January 1, 2020 00:37
Prevent Google Colab from disconnecting
function ClickConnect(){
console.log("Working");
document.querySelector("colab-toolbar-button#connect").click()
}
setInterval(ClickConnect,60000)
@anphetamina
anphetamina / ffmpeg batch conversion
Created July 19, 2020 22:58
Convert all .wav files into the current folder into 320kbps mp3 files
for %i in (*.wav) do ffmpeg -i "%i" -b:a 320k "%~ni.mp3"