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
document.getElementById("pricing").innerText = "Hello World" |
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
name: Log Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest |
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
const options = { | |
method: 'POST', | |
headers: { | |
Authorization: 'Bearer API_KEY_HERE', | |
"Content-Type": 'application/json' | |
}, | |
body: JSON.stringify({ | |
"project": "upmeet", | |
"title": "Website Analytics", | |
"value": "Analytic Total", |
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
function measureSpeed() { | |
fetch('https://fast.com/speedtest/').then(response => { | |
return response.text(); | |
}).then(data => { | |
const match = data.match(/speed-results-primary.*?(\d+\.\d+)/); | |
if (match) { | |
const downloadSpeed = match[1]; | |
console.log('Download speed: ' + downloadSpeed + ' Mbps'); | |
} else { | |
console.log('Speed test failed.'); |