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
// ==UserScript== | |
// @name Frovo mp3 link extractor | |
// @description It convers the play button to link, to be able to copy directly playable link of the mp3 | |
// @include https://forvo.com/* | |
// @version 1.0 | |
// @run_at: "document-end" | |
// ==/UserScript== | |
const PlayRegEx = /Play\(\d+,'([a-zA-Z0-9=]+)'/; | |
const PlayPhraseRegEx = /PlayPhrase\(\d+,'([a-zA-Z0-9=]+)'/; |
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
# Source: https://stackoverflow.com/questions/8199231/how-to-setup-mass-dynamic-virtual-hosts-in-nginx | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
# Match any server name with the format [subdomain.[.subdomain...]].domain.tld.dev | |
server_name ~^(?<subdomain>([\w-]+\.)*)?(?<domain>[\w-]+\.[\w-]+)\.dev$; | |
# Map by default to (projects_root_path)/(domain.tld)/www; |