I asked for a linux system in my office and they gave me a ubuntu server with broken apt. here are the things I tried - enabled Acquire::AllowInsecureRepositories - updated so...
How can we share cookies between different domains like Medium does ?
I am querying mysql db using mysql2 lib. after running the query it returns an array with first element as result from database but it has different types RowDataPacket[][] |...
false == 0 // outputs true true == 1 // outputs true //So, why not null == 0 // outputs false ? +null == 0 // But this outputs true
I am configuring an nginx server, I want to catch all locations of my rest api for example : domain.com/api/login, domain.com/api/user all the request on /api/* should go my r...
man page says "time() returns the time as the number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC)." So, 0 should be represented as "Thu Jan 1 00:00:00 1970" B...
Is there any way to get the process id of another process (not calling or child process) ?
My laptop freezes after 3-4 days of working with Firefox and vscode open . Is it normal ?
How c knows where the array will end ? does it remembers the size of array from declaration ? if yes then where it stores the length of the array ?
I know i shouldn't hardcode the addresses but i want to know that if i can access the memory location of a variable from other progam. If i don't exit the first program the va...
I readed on quora that when you declare a variable OS allocates some block of memory to it and maybe there are some value already left by the other programs on that block it i...
I want to read the implementation of qsort function . In stdlib.h file there is only declaration of that function , where the function is implemented ?
Why adb is not recognizing that i am in plugdev group ?
When i try to get intput from user using fgets function it add \n automatically to the end of the string. But i don't need that \n because of that \n i comparing the strings r...
I was getting this error when i play live videos on youtube in firefox and chromium. I am using fedora Can someone help me to fix this ?
Thanks for your time ! but it is getting complicated for me, can you tell me what should i learn to understand it ? .
can anyone explain me why the size of this structure is of 16bytes ? typedef struct { int *x; int y; } node;
I don't want to remove the default stdout ? i want a seprate file descriptor that will output to the terminal
❝ The computer likes data to fit inside word boundaries. So if a computer uses 32-bit words, it won’t want a short , say, to be split over a 32-bit boundary. ❞ What word bou...
Ohh So if i have to use any third party library i have to tell the compiler where the object file is ?