I have an array of data that looks like this : uint32_t data[128]; //Could be more than L1D Cache size In order to do computation on it, I want to put the data
I want to call arm-none-eabi-gdb with -x parameter when launch debugger after installing cortex-debug. How can I do in launch.json or setting.json, thanks for y
I want to call arm-none-eabi-gdb with -x parameter when launch debugger after installing cortex-debug. How can I do in launch.json or setting.json, thanks for y
I am using a software, which modifies some bytes in an executable. I don't know what it does exactly, but I use it for license protection of the already built b
If I compile the following program: $ cat main.cpp && g++ main.cpp #include <time.h> int main() { struct timespec ts; return clock_gettime
Among the tons of cp questions I have not found anything about this difference in behaviour (tested on Ubuntu 18.04). Sorry for the lost post, but the setting i
When opening a file with O_CREAT set, the file in question will be created if it does not already exist. I want special action to be taken only if the file is n
I am trying to install R 4.0 on Ubuntu 18.04.4 LTS but I keep getting errors of > sudo apt install r-base-core Reading package lists... Done Building depen
I once did something similar under windows, copying the whole python and specifying PYTHONPATH by a .bat script to make it work locally. But today I got a Linux
How can I log in to a website using Bash in Linux? For example, to log in to Stack Overflow I tried many different methods, shown below, but nothing's worked. w
In Intellij Ultimate docker is not detected automatically. I choose "create new", but i get the message, that i cannot connect to docker daemon at unix /var/run
The default shell of OpenWrt is ash, but I would like to change it to fish. When I ran chsh -s /usr/bin/fish (the absolute path of fish), it returned -ash: chs
I'm trying to learn how to create NFTs on the Ethereum block chain. In terminal (Ubuntu 20.04.3 LTS) Aki-Zeta:~/my-nft$ node scripts/mint-nft.js I keep getting
I am trying to send a notification message from a kernel module to user space application using netlink sockets interface and custom netlink protocol. My unders
I am using CentOS 8. I'm trying to install Python 3. Command: sudo dnf install python3. Error: Failed to synchronize cache for repo 'BaseOS' How can I fix
My centos machine has no connection to internet. I need to install make utility to compile some modules from source code. I am getting this error while i run yu
I am trying to get the output of a Python script with qprocess but I can't seem to make it work. I think the issue is with the script since I can get the output
I want to search for hidden directories or files with "find" and store it in a variable. I tried like this and it works, but it is stored one after one in TEST.
I recently been trying to execute system commands using pure assembly. I managed to achieve it in a x32 bit binary as posted here: execute system command (bash)
I have this code to download a big file in chunks: import requests from tqdm import tqdm def get_size(url): response = requests.head(url) size = int(r