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 {BlobServiceClient, generateBlobSASQueryParameters} = require("@azure/storage-blob"); | |
require("dotenv").config(); | |
const connectionString = process.env.AZURE_TEST_CONNECTION_STRING; | |
const containerName = process.env.AZURE_TEST_CONTAINER; | |
// MAGIC VALUE, empty buffer causes errors/timeouts, non-empty buffer is copied | |
const content = Buffer.from(''); | |
async function getSignedUrl(blobClient){ |
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 | |
mysql "$@" -AN <<'SQL' | |
SELECT CONCAT('CREATE USER ', QUOTE(user), '@', QUOTE(host), ' IDENTIFIED WITH ', QUOTE(plugin), ' AS ', QUOTE(authentication_string), ';') | |
FROM mysql.user WHERE user<>'' AND host<>'' | |
ORDER BY user, host | |
; | |
SQL |
OlderNewer