I am trying to convert this string '4-6,10-12,16' into a list that looks like this [4,"-",6,10,"-",12,16]. There would be a combination of integers and the spec
I've set up a new page and added jQuery.mmenu. now when I load the page the mmenu opens already by default. mmenu is firing and adding mm-opened on the body on
I am trying to implement a project on the cloud for as minimum resources as possible (cpu, ram usage) and be able to handle medium to large number of requests t
If I have the following constructor function; function Person(age) { this.age = age; this.talk = function() { return “talking”; }; } And I create
I am wondering if I calculate the time complexity correctly with the function below. mat is a list of lists. k is an integer. def kWeakestRows(mat, k): has
For the following code: %%time steps = df.select("step").distinct().collect() for step in steps[:]: _df = df.where(f"step = {step[0]}") # by adding coale
I'm creating a local app. I'd like to be able to shutdown the server from am api call, but do not have any success. Here're some code: # q.py from multiprocessi