Skip to content

Instantly share code, notes, and snippets.

View gormlabenz's full-sized avatar

Gorm Labenz gormlabenz

  • Labenz
  • Berlin, Germany
  • 08:57 (UTC +01:00)
View GitHub Profile
@Meldiron
Meldiron / app.ts
Created August 16, 2021 10:07
Typescript snippet for sync-like function execution in Appwrite
// This snippets expect that your functions use JSON as both input and output
// Connect to appwrite, should be globaly shared
let sdk = new Appwrite();
sdk
.setEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
// Shared type for strict type definition
@gchavez2
gchavez2 / cut_mp3.py
Created July 3, 2016 12:28
Cut mp3 file with Python and pydub
# https://github.com/jiaaro/pydub
from pydub import AudioSegment
files_path = ''
file_name = ''
startMin = 9
startSec = 50