(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| // https://stackoverflow.com/questions/39320371/how-start-web-server-to-open-page-in-browser-in-golang | |
| // open opens the specified URL in the default browser of the user. | |
| func open(url string) error { | |
| var cmd string | |
| var args []string | |
| switch runtime.GOOS { | |
| case "windows": | |
| cmd = "cmd" | |
| args = []string{"/c", "start"} |
| #!python3 | |
| """ | |
| Convert a requirements.txt file to a Poetry project. | |
| Just place in the root of your working directory and run! | |
| """ | |
| sourceFile = "./requirements.txt" | |
| import re | |
| import os |
| z=0; | |
| document.getElementsByClassName("SetPreview-cardBylineTermsCount").forEach(val => {z+=parseInt(val.innerText.split()[0])}); | |
| console.log(z); |
| // requires jQuery | |
| var items = $(".SetPreview-cardBylineWrapper"); | |
| function parseStr(strr) { | |
| var num = strr.split(" ")[0]; | |
| return parseInt(num); | |
| } | |
| var total = 0; | |
| for (var i = 0; i < items.length; i++) { |
The problem with Arc is that it doesn't allow exporting data (history, bookmarks) to a file natively.
One way to do this is to use a script but that only exports Bookmarks and not the history.
I don't really use the bookmarks feature that much; what I really liked about Arc was that it was really easy to navigate to somewhere I already visited.
So, if you're like me, follow this guide and you'll be able to import your browsing history into Zen browser!