Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
2 answers
81 views

Renaming jpg files in sequential order in Mac or Windos [duplicate]

I have 100 files that are named 1.jpg,2.jpg,3.jpg....100.jpg in a folder. I would like to rename them sequentially starting from number 83. Eg: 1.jpg becomes 83.jpg, 2.jpg becomes 84.jpg and so on.. I ...
transit hut's user avatar
-1 votes
2 answers
44 views

sed loop not working on Mac OS as it would work on Linux

I am trying to use the following sed loop (to remove newline char) on mac (bash) but it does not seem to be working. Previously had been using it on Linux and it worked: cat temp | sed ':start;N;s/\n//...
Abid Ghufran's user avatar
0 votes
0 answers
60 views

Build Python wheel for ARM macOS on Linux

I would like to build a python wheel package for ARM macOS but I have only Linux server (Gitlab CI). Is it possible to build wheel for ARM Mac on Linux server? If so how? I did not find much relevant ...
romanzdk's user avatar
  • 1,212
0 votes
0 answers
13 views

Fetch unique row with unique combination from a csv file using linux / mac terminal [duplicate]

I have a csv file using tens of thousands of records . The file is so huge cannt be exported to excel properly . The file has 3 values SOURCE,PROT,SPORT . All with different combinations and ...
Zoso619's user avatar
  • 177
0 votes
3 answers
50 views

Appending a line in place with sed on macOS

The sed command below works on Linux (without the '') to append a line in place in a file, but I can't get it to work on macOS with its sed command: $ sed -i '' "/my_integration_tenants:/a \ - ...
Dean Schulze's user avatar
0 votes
0 answers
17 views

Date validator fails using Express-validator on OSX but not Linux

I'm having inconsistent behavior from express-validator v7 ("express-validator": "^7.0.1",). I'm sending the following payload {"startDate":"2024-04-25"} to ...
PatientOtter's user avatar
  • 2,239
1 vote
1 answer
76 views

Weird OS-Dependent behaviour on custom malloc implementation

I'm taking a course in which we have a custom implementation of malloc, taken from this article, the implementation for the malloc can be seen here, in addition, we also have this program that tests ...
Marco Gonçalves's user avatar
0 votes
0 answers
33 views

Is there any way to create a new window terminal (pseudo-terminal) using a command without setting env $DISPLAY?

I am currently building an open-source utility (plugin), which requires a new terminal window (pseudo-terminal) to become more effective whenever it gets executed. I was using gnome-terminal to ...
zenitsu's user avatar
-2 votes
1 answer
62 views

is it feasible to run a dockerized locatunnel on Mac?

As an alternative to the very famous ngrok I used to use efrecon/localtunnel docker image to expose my http server on the internet for testing purposes. With linux I used to: start my local HTTP ...
Alessandro Argentieri's user avatar
0 votes
1 answer
78 views

How to listen to system event like sleep, lock, awake, shutdown, hibernate

I have a tauri application where I want to listen to the above events is there library or code that I can use, thanks
Sourav Paria's user avatar
1 vote
1 answer
77 views

Why does Hugo generate different taxonomy-related HTML on different OS's?

I have modified the Ananke theme for Hugo for my own purposes, the modifications are here. The key change was that I wanted a list of linkable tags (that the theme already put at the bottom of every ...
executor21's user avatar
  • 4,588
2 votes
1 answer
233 views

"loading shared libraries " error, but the name is <garbled char>

I want to install IDA Pro for Linux(or IDA Free has the same problem) on my ARM64 Ubuntu 22.04 Virtual Machine, which utilizes Rosetta 2 for compatibility. After spending considerable time resolving ...
iMakar's user avatar
  • 33
-1 votes
1 answer
95 views

Why docker build isn't platform independent?

I have the following Dockerfile FROM python:3.8-slim-buster # Set environment variables ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 ARG WORK_DIR=my-app # Create a new directory to keep the ...
JPG's user avatar
  • 87k
0 votes
4 answers
96 views

Results from dplyr::join on UUID column differ between Linux and Mac OS

I am attempting to join 2 tibbles (dplyr::inner_join) based on a UUID column in each. Oddly, instead of the expected one-to-one relationship, the join produces a many-to-many relationship (as stated ...
mtnrambler's user avatar
0 votes
0 answers
30 views

Docker refusing to pick up arch specification on MacOS M2

I'm attempting to build a docker image, and ever since moving from an AMD64 to the ARM64 architecture, it's been giving me fits. One problem is that a lot of third-party software isn't built for the '...
Elf Sternberg's user avatar

15 30 50 per page
1
2 3 4 5
182