Results 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...
Good Day! I have files in Ubuntu like: ZAF_MM_CYCLE_K051.XLS ZAF_MM_CYCLE_K052.XLS ZAF_MM_CYCLE_K053.XLS which are copy of a file "ZAF_MM_CYCLE_K036...
I am new to Docker. I want to containerise a small environment so that I can run executables, but I am stuck because I can't even get an executable to...
I'm currently working on a fresh install of Ubuntu 22. I'm coming from the newest distro of Pop_OS. I have two VSCode shortcuts that aren't working - ...
I have a Linux(RHEL) runner and creating a CI/CD pipeline to build the project using .yml file from GitLab. When I try to run the pipeline using .yml ...
I have a Linux(RHEL) runner and creating a CI/CD pipeline to build the project using .yml file from GitLab. When I try to run the pipeline using .yml ...
I built a simple project to test if everything was working correctly. However, the autocomplete, IntelliCode, and other features are not working prope...
I need to connect to a remote linux machine via ssh, take the system information and write it to a file on the remote linux machine. I've tried someth...
I am trying to write a small kernel module that can control some LEDs connected to the GPIO pins on my RaspberryPi 4 Model B. My Pi is running Raspbia...
I am trying to implement a block device driver in the Linux kernel (version 6.2). This is a university project, and I need to implement a redundancy s...
I'm trying to get keyboard events on GNU/Linux using php, with this code: $fd = fopen("/dev/input/event0", "rb"); while (true) { $ev = fread($fd,...
I have tried this command eval('my-value') but this error File "", line 1, in NameError: name 'my' is not defined but if i try eval('myval') i get th...
I am trying to move my project from Windows to Linux. Everything works fine, but I get an error: C# SpreadsheetGear AutoFit failed to run on linux wi...
I have the following lines in a file cat test.txt 69|1074330570|1,sip:+121345633210x3Bverstat=TN-Validation-Passed|tel:+12134565534|0 69|1077822111|2,...
i have a behaviour difference between : mvn compile command in Linux terminal mvn compile goal in Intellij IDEA/maven windows/goal compile I detail ...
I'm trying to: apt-get install poppler-utils And I get error of: Unable to locate package poppler-utils. I searched for the package inside https://pa...
Sometimes I need to run old codes in R which have been written some time ago using versions of packages different from what I use now with my current ...
I am developing a vscode extension to wrap some functionality from an external API (ee in the examples below). Some of the functions in this external ...
Suppose we have a socket server in C that is implemented using polling methods such as poll() or epoll(). And suppose the later is used (the same goes...
Back in the day, low-level C/C++ code identified whether a pointer ptr pointed to the read-only memory in Linux OS by doing: extern char etext, edata;...
Recently (as of 2023-11-01) Apple has changed their notarization process. I took the opportunity to drop Apple's own tools for this process (notarytoo...
How can I manually configure the credentials for a CloudWatch agent installed on a Ubuntu server, not running in AWS? I downloaded this dep package fo...
I've run into a problem that pytorch (tested with 2.0.1+cu117) does not fail gracefully when CPU OOM occurs. Specifically, I lose all ssh connections ...
A professor who teaches Linux sent his students this weird question... The weird thing is that, this program will give an output where the parent proc...
When I try to build/install the VMP kernel I receive the following error: Setting up your system for Simics VMP ======================================...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?