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
package main | |
import "fmt" | |
// number of desired workers | |
const nWorkers = 10 | |
func main() { | |
// make a buffered channel with the space for my 10 workers | |
workerChan := make(chan *worker, nWorkers) |
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
// https://docs.microsoft.com/de-de/learn/certifications/exams/az-305 | |
var mainTitle = document.getElementsByClassName("title is-1 has-line-height-reset")[0].innerText; | |
var titles = ""; | |
var cardTitles = document.getElementsByClassName("card-content-title"); | |
for (let item of cardTitles) { | |
titles = titles + mainTitle + ";" + item.text + ";" + item.href + "\n"; | |
} | |
console.log(titles); |
OlderNewer