Category "windows"

How to setup default rust compilation target on CI using rustup command on github actions?

I need to compile my code for both 32 and 64 bit windows. As far as I understand, I basically need to configure my CI so that this command: rustup default print

Cache entry deserialization failed, entry ignored

C:\Users\deypr>pip3 install sklearn Collecting sklearn Cache entry deserialization failed, entry ignored Retrying (Retry(total=4, connect=None, read=N

Windows Console (conhost) discards newline when output matches witdth of the window

I have a C++ application on Windows, that logs to stdout (via the Win32 api using WriteConsole). Each logline consists of some text and a trailing newline chara

Could not import module Yara

I am currently attempting to run Volatility3, but I have encountered an error which is caused by yara failing on import. The main issue is I am unable to import

Is there a way to take advantage of multiple CPU cores with asyncio?

I've created a simple HTTP Server with python and asyncio. But, I have read that asyncio-based servers can only take advantage of one CPU core. I am trying to f

How can I use logical AND (&&) in Powershell?

In terminal I used to run two commands at once using '&&' operator. For example if I want to compile and run C source code I only need to write: gcc co

Windows 10 defender detects Backdoor:PHP/Dirtelti.MTF for php file

I am running wamp with Windows 10 and I have a simple example code that uses eval function: <?php echo eval(file_get_contents('test2.php')); Windows defende

TensorFlow : failed call to cuInit: CUDA_ERROR_NO_DEVICE

My test : import tensorflow as tf hello = tf.constant('Hello, TensorFlow!') sess = tf.Session()` Error : c:\l\work\tensorflow-1.1.0\tensorflow\stream_execut

PyWin32 and Python 3.8.0

Python 3.8.0 has been recently released (on 20191014, and can be downloaded from [Python]: Python 3.8.0). PyWin32 has builds for it on [PyPI]: pywin32 225 (rele

What is the meaning of Google Benchmark Iteration?

I am working with Google Benchmark to measure the execution time of some code. For example, I wrote the following code to measure its execution time performance

batch file from scheduled task returns code 2147942401

I am trying to schedule a job to run a batch file with Windows 10 Task Scheduler, but it results in return code 2147942401. The batch file is on remote locatio

ImportError: No system module 'pywintypes' (pywintypes39.dll)

I was making a virtual assistant in python, but I see the following error. ImportError: No system module 'pywintypes' (pywintypes39.dll) I am using Windows 10

Javascript Modules not working on some clients

I recently started using Javascript modules in my websites, and everything was fine when developing on my desktop. I went to do work on my laptop, but for some

Where do Windows "Product ID" and "Device ID" values come from? Are they useful for Licensing/Identification? How can they be accessed in code?

As you can see, it has 2 "Hardware-Identity" values that could be very useful in applications like C# for license validating. Is it possible to find these val

browsersync doesn't work with XAMPP

I created the project at the address D:\xampp\htdocs\dashboard\optimizedphp (gulpfile.js). What kind of proxy should I use? I tried many, but after changing the

How was a standard windows 7 user able to delete files under C:\Program Files?

In c++, the DeleteFile() function shouldn't allow standard users to delete files under C:\Program Files, but someone running the program was able to do this! H

How to downgrade or install a specific version of Composer?

I'm getting the following error in a project I'm setting up: You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you u

I cut/pasted a folder into a local repository mid-clone - the clone failed and the folder disappeared. Is the folder I pasted gone forever?

I wanted to put my local code into a GitHub repository. I created a repo on GitHub and tried cloning with HTTPS. The clone was taking a moment but the folder wa

How to add layer on top of file system? Like cache in OneDrive or Google Drive

I'm looking for a way (using C# .Net or C++ and WinApi or anything) to add a layer between filesystem and client application to add custom behaviour. Like OneD

What does percent sign with tilde syntax(%~a) mean in command line [closed]

for %a in (*.txt) do ren "%~a" "%~na version 1%~xa" This command line script can rename files in a directory by adding text ( version 1) to th