windows-10

Arduino IDE (Win10) crashes when I launch the program

房东的猫 提交于 2020-07-01 17:00:51
问题 My Arduino IDE (ver 1.8.12 on Win10) crashes when I launch it. Running the arduino_debug.exe I get this error message. C:\Program Files (x86)\Arduino>arduino_debug.exe Set log4j store directory C:\Users\volke\AppData\Local\Arduino15 Loading configuration... Initializing packages... java.lang.NullPointerException at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134) at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483) at processing.app.Base

Batch command to change an icon of the currently running window

时光总嘲笑我的痴心妄想 提交于 2020-06-29 04:25:11
问题 In my working environment I can have up to 10 command prompt windows open, each one set up to work in a different context. Having all of them open, I find myself having to switch between several of them to find the right one that I want to work with. I am already setting different foreground and background colors of each window based on some criteria, but it would be much more easier to distinguish between them by having a different colored icon in the taskbar. That way, I would not even have

Is Docker no longer compatible with Windows 10 Home? [closed]

若如初见. 提交于 2020-06-28 05:35:14
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 days ago . Improve this question I was installing Docker on Windows 10 but found out that the stable version of Docker now only supports Windows 10 Pro, Enterprise or Edu. So is there any way to install Docker on my windows? 来源: https://stackoverflow.com/questions/62542510/is-docker-no-longer

How can I create a batch file that changes my MAC address?

强颜欢笑 提交于 2020-06-28 01:58:16
问题 I recently learned how to change my MAC address thanks to https://superuser.com/questions/1514745/how-to-change-mac-address-on-windows-10-without-third-party-software/1544773 but I was wondering if I could implement this in a batch file. The registry key for my NIC is HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0011 . I want to create a batch file that randomizes my MAC Address. You don't need to create the batch file for me (you can, I can't

How do I create a WPF application that can handle the URL:callto and URL:tel protocols in Windows 10?

做~自己de王妃 提交于 2020-06-26 07:46:14
问题 My task is to create a WPF application that when users click callto: and tel: links in the browser (Chome, IE) the default application that opens them is the Windows 10 WPF application that I have created and to handle them. I have tried changing the registry by writing a script and by manually entering the path to my published .exe that Visual Studio has output but neither of these has worked, whenever I click a callto: or tel: link the default program that is opened is still a voip

Windows 10 : Pen (stylus) not working on MFC application

折月煮酒 提交于 2020-06-17 07:53:39
问题 I have an MFC application that works fine with Pen (Stylus) under Windows 7, but unfortunately, it does not work on Windows 10. Under Windows 7 , I am able to scroll vertically with the stylus WITHOUT using ( clicking and dragging ) the scroll bar, i can scroll vertically by clicking and dragging from anywhere in my dialog (formview) Under Windows 10 , I am not able to scroll vertically with the stylus WITHOUT using ( clicking and dragging ) the scroll bar. I must click (and drag) with the

No tests discovered when using VSCode, python and absolute imports

假如想象 提交于 2020-06-16 20:10:08
问题 I am trying to add unit tests to my python project and I can't get VS Code to discover my test. The problem is when I try to import the class that I am testing. If I try to run the test file, it passes. If I omit the from A.myfile import MyFile the test is discovered. Question : What am I doing wrong here? File structure : root ├── A │ ├── __init__.py │ └── myfile.py └── tests ├── __init__.py └── A ├── __init__.py └── test_myfile.py myfile.py : class MyFile(object): def __init__(self): self

No tests discovered when using VSCode, python and absolute imports

自古美人都是妖i 提交于 2020-06-16 20:04:51
问题 I am trying to add unit tests to my python project and I can't get VS Code to discover my test. The problem is when I try to import the class that I am testing. If I try to run the test file, it passes. If I omit the from A.myfile import MyFile the test is discovered. Question : What am I doing wrong here? File structure : root ├── A │ ├── __init__.py │ └── myfile.py └── tests ├── __init__.py └── A ├── __init__.py └── test_myfile.py myfile.py : class MyFile(object): def __init__(self): self

Python is in conda env, but has not been activated in Windows virtual env

a 夏天 提交于 2020-06-14 04:32:15
问题 I created a Windows (10) Python virtual environment (env3.7.3). When I open a cmd window activated in the virtual env, I get the following warning message when starting Python in the virtual env: (env3.7.3) C:\Users\redex\OneDrive\Documents\Education\Machine Learning-Ng Python\Exercise7>python Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32 Warning: This Python interpreter is in a conda environment, but the environment has not been

PS1 bash command substitution not working on windows 10

送分小仙女□ 提交于 2020-06-12 05:06:29
问题 This is my script that sets up my bash PS1 # Reset Color_Off="\[\033[0m\]" # Text Reset # Regular Colors Black="\[\033[0;30m\]" # Black Red="\[\033[0;31m\]" # Red Green="\[\033[0;32m\]" # Green Yellow="\[\033[0;33m\]" # Yellow Blue="\[\033[0;34m\]" # Blue Purple="\[\033[0;35m\]" # Purple Cyan="\[\033[0;36m\]" # Cyan White="\[\033[0;37m\]" # White # Bold BBlack="\[\033[1;30m\]" # Black BRed="\[\033[1;31m\]" # Red BGreen="\[\033[1;32m\]" # Green BYellow="\[\033[1;33m\]" # Yellow BBlue="\[\033[1