One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
// 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++) { |
z=0; | |
document.getElementsByClassName("SetPreview-cardBylineTermsCount").forEach(val => {z+=parseInt(val.innerText.split()[0])}); | |
console.log(z); |
#!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 |
// 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"} |
(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.