All Questions

Filter by
Sorted by
Tagged with
0votes
0answers
3views

Generates date between a date range

I need to generate the dates from start date and end date. For example, Start date is 11th March 2022 and the end date is 11th March 2023. A screenshot of the end product is attached below. I have ...
0votes
0answers
4views

Django:Model class firts_app.models.Topic does not declare an explicit app_label and isn't in an application in INSTALLED_APPS

I am trying to populate models using populate script. I have set up models,and did migrations. I have tried every solution that I found on internet so far, but it did not work. It gives : "...
0votes
0answers
5views

How to access a property in JSON from API request and display in React?

Background I am currently trying to access the second property of a JSON file below named 'year_level'. I am doing this so that I can pass the data into an array and later display it in a react ...
-1votes
0answers
7views

Command line arguments with quotes in #c

How can I add quotes to a command line argument? Example output: 1: "word" I tried: .\test " \"word" \" But That produces the following output: 1: " word 2:"
-1votes
0answers
7views

How can I split orders data based on product owner in reactjs or nodejs

Is there any possible way To separate user orders based on vendor email? I am trying to develop a multi-vendor project where vendors can be able to upload products. I am trying to do when a user ...
  • 113
0votes
0answers
6views

Bash. Unset all environment variables problem

I tried to remove all environment variables for the current shell and for the subshell: bash-3.2$ unset $(env | cut -d= -f1) OLDPWD bash-3.2$ export bash-3.2$ For shell, everything turned out as ...
0votes
0answers
4views

C# record calls ToString in the base record instead of the one in the derived record

I have the following two records: internal record Token { private string content; public string Content { get => content; init => content = value ?? throw new ...
  • 185
-1votes
0answers
4views

What are the practical consequences of not explicitly closing a HTTP request?

I have a function that parses the body of an incoming HTTP call: func parseApiCall(w http.ResponseWriter, r *http.Request, parsedBody interface{}, action string) (err error) { // Read body b, ...
  • 22.3k
0votes
0answers
6views

Why I can not put breakpoint in Chrome Sources tab in a line?

I can put breakpoint in 105 and 106 but not into 112. Why?
  • 28.9k
0votes
0answers
3views

how to set gopath correctly on kali linux

How to set $GOPATH ➜ ~ git:(main) ✗ goenv zsh: command not found: goenv ➜ ~ git:(main) ✗ go env $GOPATH/go.mod exists but should not ➜ ~ git:(main) ✗ were is go supposed to reside on linux
0votes
0answers
5views

Is there a way to append rows to an existing csv file while retaining the colors of rows?

Suppose I have a csv file and I've changed colors of some rows. Now I have a new csv file that I am downloading from the internet. It has some new rows and some old. I want to find the unique data in ...
0votes
0answers
3views

How to Move from Fragment to Fragment using TabLayout?

I have created a category adapter where to get Images/Texts from API. public void onBindViewHolder(@NonNull viewHolder holder, @SuppressLint("RecyclerView") int position) { VideoModels ...
0votes
0answers
5views

Seed Method In Migritions

I want to know Seed method in Configuration(Migritions) run when database is created .Right? can I use it for add some data to database. after database created?
0votes
0answers
4views

Youtube SHA1 HASH finder

authorization: SAPISIDHASH 1647161101_b354141177aedfe832aad947e43f2d17d119a7e6 I took it from the Youtube headers, what is this hash encrypted with and will it be a decrypter?
0votes
0answers
11views

Why `shared_ptr<int> p; p=nullptr;` compiles?

Since the constructor of std::shared_ptr is marked as explicit one, so expressions like auto p = std::make_shared<int>(1); p = new int(6); is wrong. My question is that why std::make_shared<...
  • 1,365

15 30 50 per page
1
2 3 4 5
1488918