This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
def getToken(): | |
req = requests.post("https://westeurope.api.cognitive.microsoft.com/sts/v1.0/issuetoken", | |
headers={"Ocp-Apim-Subscription-Key": "YOUR_AZURE_API_KEY_HERE"}, | |
) | |
return req.text | |
def textToMp3(text, voice="it-IT-ElsaNeural"): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
WEBHOOK_DESTINATION="http://localhost:3000/stripe/webhook" | |
WEBHOOK_SECRET="whsec_ENTER_YOURS_HERE" | |
if [[ ! "$#" -eq 1 ]]; then | |
echo "USAGE: $0 /path/to/event.json"; | |
exit 1; | |
fi | |
timestamp="$(date +%s)." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Based on CalFileParser (https://github.com/controlz/CalFileParser) by Michael Mottola | |
// Author: @LucaTNT | |
// My code is MIT licensed as well | |
// Inserisci qui dove salvare il file ICS sistemato | |
$saveTo = '/Users/luca/Downloads/AddToiCal.ics'; | |
/* | |
* CalFileParser |
OlderNewer