Skip to content

Tag: windows

How to disable encoding in a text-editor?

This is such a basic question I am surprised I could not easily find an answer to it: I use Notepad++ to write my scripts in. Someone sent me some code for a shell script (.sh) that I could modify to suit my needs. I simply changed a small bit of text using Notepad++ (on Windows) and used FileZilla (SFTP)

Send Commands remotely from Windows to Linux through Java

I searched everywhere but can’t find a solution that works. I have a Linux Debian machine in my network, which is running as a Mqtt Broker. I want to write a java programm to send sub and pub commands to the broker from another computer (Windows). Is there a way to send Linux commands from a Windows Com…

Provide windows avilable cores

I use the following in my script to find how many available cores I can use. This is for Linux: This is for Mac (darwin): How should it be in Windows? Answer You can use one of those commands: (here you have two physical processors) Or as suggested in comments: In Makefile the record should be something like:…

C++ build process – lib dependencies

I have a Visual studio solution with 5 projects Main: application A,B,C,D: static libraries Main depends on A,B. A depends on C,D. I have a fragile understanding of the build process. The libs were building alone fine, especially A; I did not feel I was linking C and D to A. And to build the Main application,…