This file contains hidden or 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
| const axios = require('axios'); | |
| const crypto = require('crypto'); | |
| async function authenticateMPG(email, password) { | |
| const amplitudeId = crypto.randomUUID(); | |
| const validate = (status) => status < 400; | |
| // Step 1: Initiate auth with MPG | |
| const formData = new URLSearchParams({ email, password }); | |
| const auth = await axios.post( |
This file contains hidden or 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
| #!/bin/sh | |
| # cloudflareddns.sh - dynamic dns updater module for Synology | |
| # | |
| # Author: | |
| # Michael Wildman (http://mwild.me) | |
| # | |
| # Version: | |
| # 0.2 | |
| # |