Learncado
Learncado

Learncado brings together a vast collection of questions and answers. Expand your knowledge, learn new skills, and find solutions to your queries effortlessly. Enhance your learning experience and save valuable time by exploring our website today.

Resources

  • Questions
  • Question By Tags

Help and support

  • Contact
  • About

  • Geniecourse
  • Jetsodeals
  • Rentcado
  • Dealcado
© 2021-2023 Learncado All Rights Reserved.

Search Results (1844)

Results for code-coverage

December 11th, 2023
Strange character escape codes produced by Gimp C-code exports

When I export an image from GIMP in "C source code" format, it saves the RGBA pixel bytes using octal character codes in a string. However, it is prod...

c
Read more
December 10th, 2023
style.display="block" no longer working once moving my code to neocities.org off of VScode

So, I coded in a section of my project in which one image/link is hidden until the user goes to multiple other links and then back. When I open in liv...

javascripthtml
Read more
December 10th, 2023
Display the exit code of previous command only when it's non-zero, without using commands?

Inspired by this answer implementing command execution time display with only substitutions, I'm trying to rewrite my exit code display with the same ...

bashps1parameter-expansion
Read more
December 10th, 2023
VS Code terminal changes places

I accidentally changed the location of my terminal vs code as shown in the picture.vs code screenshot I want to move to the original place at the bott...

visual-studio-codeterminalbash
Read more
December 9th, 2023
I couldnt change the image cropping code to be a defined image

( im gonna try to explain my problem onemore time ) I found a script on the internet and you can see in this link : Link But i couldnt change to code ...

javascriptajaxjqueryhtml
Read more
December 9th, 2023
How to compile code using `__declspec(dllexport)` for Linux

There are a few questions out there about __declspec(dllexport), but none seem to fit my use case: Source code was originally written for Windows and...

gccc++
Read more
December 8th, 2023
I have a problem with the function part of my code giving me a visual response

function displayOutput(massage){ const element = document.getElementById("jsoutput4"); element.innerHTML = massage; } function calculateF(...

javascript
Read more
December 8th, 2023
I am trying to set height for header and footer in section through code but it doesn't work

I tried to set height for footer and header for section in table view through code but it doesn't work . When I do it from storyboard , it works fine ...

swiftuikituitableview
Read more
December 8th, 2023
Set exit code of a prompt in a bash shell

I have a command that returns a number from 0 to n, and would like to catch that number and use as the exit code of the command itself. I was able to ...

bashshellsh
Read more
December 7th, 2023
Is this cast of void pointer valid code or vile code?

Is this valid/proper code, or does it violate standards -- possibly invoking undefined behavior (UB)? --> Specifically, the cast of void * to char ** ...

cundefined-behaviorcasting
Read more
December 7th, 2023
by specifying file extensions 'not file names', python code to download files from url

I tried several codes, this is the latest, to download any file has a CSV extension from a provided URL. It does download the file, however it is corr...

pythonweb
Read more
December 7th, 2023
Why is it important to update dependencies on front end code if the backend is highly secure?

Probably a stupid question from a mostly backend engineer, but I legitimately do not understand why it is important to keep your packages up to date i...

frontendbackend
Read more
December 7th, 2023
Why does this code print different values compiled by clang and gcc?

asm.s: .intel_syntax noprefix .global Foo Foo: mov ax, 146 ret main.c: #include extern int Foo(void); int main(int argc, char** args){ ...

cassemblyx86-64calling-convention
Read more
December 6th, 2023
Unable to read response when status code of fetch call is 500

I am making restful call to a service and getting 500 status code. The response looks like this: { "error": true, "message": "Test error", ...

javascriptfetch-api
Read more
December 6th, 2023
How do I run code once immediately after an object is created?

I'm working on an internal tool built using Django. Part of what we're doing with this tool is digitizing content from old PDFs. The PDFs have been th...

djangodjango-admin
Read more
December 5th, 2023
Not able to apply jQuery code on multiple classes that have the same class name?

I am having some issues with apply jQuery code on multiple classes with the same class name on a page. It looks like the code will only work for one o...

javascriptjqueryjavascript-objects
Read more
December 4th, 2023
Code returns "float" object is not iterable

I'm trying to get the extra credit on an assignment and ran into an issue with the 3rd line from the bottom returning with an error! I need it to prin...

pythonpython-3.xerror-handling
Read more
December 4th, 2023
write, read lines as code into a csv file

I have a date frame with a column containing lines of code. f1 'paste0("f","q","D",collapse = "")' f2 "q df 1:2 , lg=c(TRUE,FALSE)) the code can be ...

r
Read more
December 4th, 2023
C code working on online compilers but not on Leetcode

So there is a question on Leetcode to make a basic calculator (It just has operators + and -, and ( and ) brackets). For some reason the code is givin...

c
Read more
December 4th, 2023
What is the best way to plan out the code I am going to write?

I am a beginner programmer, and I would like to know the best way to plan out my code. When I am faced with a problem that I must solve with code, wha...

project-planning
Read more
December 3rd, 2023
How to stop Express server from exiting after error in synchronous code

Environment: Express 4.18.2, Node.js 20.10.0 Question: The default Express error handler crashes the server after an error. Is this correct? Am I mi...

node.jsexpress
Read more
December 3rd, 2023
Why realloc function is modifing variable 'x' in this code?

I'm studying C and trying to solve exercise 412 of LeetCode. My problem is, when x is 127, when the line 64 of the code is executed, x returns to 124 ...

c
Read more
December 4th, 2023
Why realloc function is modifying variable 'x' in this code?

I'm studying C and trying to solve exercise 412 of LeetCode. My problem is, when x is 127, when the line 64 of the code is executed, x returns to 124 ...

c
Read more
December 5th, 2023
How do I detect if a UTF-8 file uses code-points versus binary encoding?

I have a text file in UTF-8 encoding, but how do I detect if it is in code-points versus binary? I ask because NLTK (https://www.nltk.org/api/nltk.tok...

unicodebinarynltk
Read more
December 4th, 2023
How do I create a custom button in the git Message field of the VS Code Source Control tab?

I am creating a VS Code extension. I want to add a custom button to the Git message field of the VS Code Source Control tab? To be specific location, ...

visual-studio-codevscode-gitvscode-extensions
Read more

Hot Topic

  • 25881

    How do I undo the most recent local commits in Git?

  • 11618

    How can I remove a specific item from an array in JavaScript?

  • 20343

    How do I delete a Git branch locally and remotely?

  • 7387

    How can I find all files containing a specific text (string) on Linux?

  • 7330

    How to find all files containing specific text (string) on Linux?

  • 7611

    How do I revert a Git repository to a previous commit?

  • 2671

    How do I create an HTML button that acts like a link?

  • 8481

    How do I check out a remote Git branch?