10,631 questions
Tooling
1
vote
2
replies
36
views
tcl tk: add command with multiline label
I created a menubar with several menubuttons in tcl/tk. Then I wanted to add several commands. The text ist normally short enough for one line, but there is one text which is longer. Is there any way, ...
0
votes
1
answer
55
views
Why only the netcat server that was run first receives connection if there are 2 netcat servers running on the same hostname and port [closed]
I'm on a debian-based Linux distro and currently testing and learning about some networking stuff.
So I have 3 terminal open, the first 2 I will run this command to set up 2 netcat servers on port ...
0
votes
0
answers
42
views
Emacs interactive functions that generate lisp-errors with some names when using Ivy and lsp
Many interactive functions generate lisp errors depending on the function name when using ivy and lsp and debugging it is difficult (in part because of the bytecode compile-function references). This ...
2
votes
2
answers
96
views
How to hide files from find-file in emacs?
What I need to do is simple: I have A-f bound to find-file in emacs, but want to hide specific files that I do not care about. I have them hidden in dired already using this config:
(setq dired-omit-...
0
votes
0
answers
32
views
Symfony 6.4 controller receives blank response from command
I have a Symfony 6.4 controller that accepts a JSON, retrieves the values from the JSON, sets the arguments and calls a Symfony Command with these arguments. The Command executes certain API calls and ...
0
votes
0
answers
100
views
How to pass command line arguments from a tcsh alias to a bash script
At the bottom of my bash script, after all of my needed bash aliases and functions have been defined, I've got just a single line to be executed when the script is run:
echo "$# args: $@ passed ...
0
votes
2
answers
70
views
Run a .bat file in another folder
I have a batch file called 'Rename.bat' which renames files with the .cbz extension to the .cbr extension. The current code is:
pushd %~dp0
forfiles /S /M *.cbz /C "cmd /c rename @file @fname.cbr&...
-2
votes
1
answer
93
views
Is there any way to send a code to a batch file via Java?
I've been trying to run a batch file (run.bat for a minecraft server) via Java console.
while i did manage to figure out a way to run the batch script on java, it seems that i cannot send commands ...
0
votes
2
answers
153
views
Trying to run my file in windows command prompt but can't find pytube
I'm trying to make a python file that converts the argument (a youtube link) provided in command prompt something like C:\Users\Username\Desktop>YTMP3.py URL
however, the script can't find the ...
0
votes
1
answer
102
views
Property Command from EventToCommandBehavior didn't work
I followed the steps from the accepted answer from this link.I did my "own implementation", but the command doesn't raise. Also, I did the same as the post said, but it didn't work.
Here is ...
0
votes
0
answers
61
views
How do I enter into a function in Python Breakpoint in the terminal?
How do I enter into a function in Python Breakpoint in the terminal? I am trying to enter into a function that I called with my code but in the terminal, PDB just goes through it, like this:
-> def ...
0
votes
1
answer
127
views
Response format R7 to CMD8 in SPI mode
In the SD Card specification, the response format for CMD8 is R7, and its structure differs slightly between SD mode and SPI mode.
In SPI mode, there's a 4-bit field called command version. However, I ...
0
votes
1
answer
92
views
How to add mathematical operations with dice rolls to my Discord bot?
I’m building a Discord bot using Python and discord.ext.commands. My bot already supports basic dice rolls using commands like !r 1d20 or !r 2d6. Now, I want to expand its functionality to allow ...
0
votes
1
answer
51
views
How to remove duplicate field outcome
I am running the following request.
database
|where sourceServiceName_s == ("xyz")
|where TimeGenerated between(datetime(2024-11-01) .. datetime(2024-12-03))
|take 1000
As result
Row 1 : ...
2
votes
2
answers
79
views
How to Pass Parameters to the handle() Function in Laravel Artisan Commands?
I am creating a custom Artisan command in Laravel, and I need to pass parameters to the handle() function. However, I'm not sure how to define and access these parameters when running the command.
...
0
votes
1
answer
63
views
Problem with passing ImageSource in Release MAUI
When debugging, everything is transferred correctly and the method for deleting images works fine, but in the release version I encountered a problem that ImageSource is not transferred, what could ...
0
votes
1
answer
58
views
mySql error #2014 - SET FOREIGN_KEY_CHECKS = ON; - Commands out of sync; you can't run this command now
I have read many posts on stackoverflow regarding this error, but could not find my answer.
I have created this procedure on MySQL 8.0 Standard via phpMyAdmin on a shared server :
DELIMITER //
CREATE ...
1
vote
1
answer
114
views
XAML Binding warnings when using commands and AncestorType
I have a small MAUI program using CollectionView - and per item, there are buttons attached with a command (like changeitem)
The app is working. But I am getting warnings at compile and runtime about ...
0
votes
0
answers
29
views
How to terminate a child process in Rust? [duplicate]
There is a function name execute_command that implemented to handel infinitely commands like ping <ip> -t. so Im trying to terminate the child process in using .kill() if it lasts more than 20 ...
-1
votes
3
answers
115
views
How can i move specific files from one folder to another, through terminal?
I have a folder with multiple .png and .txt files and I want to make two folders inside the folder I have, so that the files are separated. The .png files will go to a images folder, and the .txt ...
1
vote
1
answer
514
views
Is there a way to execute CLI command in IntelliJ in Before launch (Run/Debug configurations)
Before running anything (e.g. a TestNG test), I want to execute a CLI command, and I would like to place it into the Run/Debug window Before launch section if it is possible.
So far, I have found a ...
1
vote
0
answers
37
views
How to find out keybinding for command starting with particular words in emacs?
I would like to find a way in Emacs to display only those commands that already have key bindings, based on the words I type after M-x. Ideally, this should leverage describe-keymap for the current ...
0
votes
1
answer
292
views
Problem with synchronizing interaction commands on discord bot in python
I'm developing a bot for a discord with some specific features. In some of them there is a command that is /aviso and /initiar and they are working, or they were...
I made a modification to the /aviso ...
1
vote
1
answer
63
views
VS code terminal appears case sensitive?
I've just started learning python on the ATBS course and have been going for almost 2 months. I'm having trouble with the terminal and command prompt on my PC which is running on windows 10
I have a ...
1
vote
1
answer
189
views
.NET MAUI Relative Binding Error "Property ... not found on "System.String"
I'm doing the .NET MAUI for beginners tutorial series that dotnet uploaded and my relative binding is just not working, did everything as they said but the error keeps popping.
I'm trying to bind a ...