Questions tagged [console]
A mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks
console
14,169
questions
-4
votes
0
answers
28
views
Is there a way to make JavaScript vars non user editable for websites?
I have vars in my JavaScript script for a HTML website, and when I go into console on this website I can edit these vars. For example, I have a button which is collected from the HTML into the ...
0
votes
1
answer
29
views
Why code works different at IDE and Console?
I have simple code for locating and clicking button using pyautogui
def click_at_button(button_name, count):
count_tries = 0
while True:
try:
time.sleep(1)
...
0
votes
0
answers
39
views
How do I specify a user secret in a .NET Core console app?
I've created a .NET 8 Console app. I have also created a user secret with a connection string to one of our SQL Server databases, that looks like this:
{ "TTConnectionString": {
"...
-1
votes
0
answers
21
views
play.google.com developer console blocking phone numbers
Does Google currently block registration of developers from Ukraine and from Ukrainian numbers? I live in Ukraine, the city of Kharkiv.
We can't register.
At the moment we cannot register from the ...
0
votes
1
answer
40
views
Python code giving different ouputs for a function call when input taking from the python console or terminal
The following code is generating two different output if executed in console(>>> ) or from a function.py file ($ python3 function.py).
1 def test():
2 print("I am happy")
3 ...
-1
votes
0
answers
28
views
Aditional quotation marks showing in console after using console.log() in Javascript [duplicate]
I'm new to coding and while doing this exercise (about multiplication and loops) my console shows additional double quotation marks when I execute the code BUT only when the code starts with a ...
0
votes
0
answers
8
views
The method 'setTrackingSource' was not found in "_paq" variable
Am getting the below error for the website am trying to setup the Free Version Piwik Pro. The website is made on Wordpress and am currently using the plugin to add the container address and siteID. Am ...
-2
votes
0
answers
42
views
Why is input.value.trim() not returning anything in console? [closed]
So I've been trying to learn js after html and css (beginner). I have a program that I want to update a according to a user input after a button click. I've defined input, button and list variables ...
0
votes
0
answers
24
views
Git output into a document while keeping font colors?
I am trying to take the output of git log --graph --online --all --decorate and put it into a Word Document or PDF. I want to keep the font colors, for obvious reasons since a git commit tree looks ...
0
votes
0
answers
14
views
MSTest Serilog Console issue
I have a library C# project which has services written. This is using serilog and able to print serilogs on console during normal execution. But when I am using same library within my functional test ...
0
votes
0
answers
18
views
Writing to `CONOUT$` on Windows for node.js 22
I am trying to fix a node.js package that writes directly to the console (/dev/tty in Unix-likes) in the case of Windows. It's using some internal bindings, sadly, which means it breaks with different ...
0
votes
0
answers
8
views
Showing calling file+line in console.log of a function [duplicate]
When using console.log("test"), the console will not only show "test" but also the file and line where that code was called from.
How can I accomplish the same effect for my own ...
0
votes
2
answers
48
views
JavaScript variables being called in html tags (button)?
I am following this online free course on YouTube, this is the link if you want to visit it:
"Youtube link", but at around 2:15:00, he shows how to call javascript variables in HTML tags and ...
0
votes
1
answer
39
views
How to get Java console scan 2 strings separated by TAB key
I cannot type the TAB key into the console for 2 strings separated by the tab key, i used the split method but it didn't work. The Java console does not accept the TAB key.
Here's a snippet of my code
...
-1
votes
1
answer
11
views
Implementing client side logger with console.log capabilities
in order to extend console.log in the browser with a few extras (like a timestamp and loglevel) I came up with the following implementation:
const LOG_LEVELS = {
DEBUG: 0,
INFO: 1,
WARN: ...
-1
votes
0
answers
30
views
Linux console not outputing the expected amount of characters [duplicate]
I am trying to fill the entire visable screen, with characters, in this case 0-9.
Yet, when I compile and run it with gcc.
The output of the console is diffrent sized blocks of text.
Yet the ...
0
votes
0
answers
25
views
JPA console error in IntelliJ IDEA 2024.1.4
I try to select entity in IntelliJ IDEA Ultimate, but I get error:
java.lang.ClassNotFoundException: jakarta.json.bind.JsonbException PluginClassLoader(plugin=PluginDescriptor(name=Jakarta EE: ...
0
votes
4
answers
175
views
What is the difference between Console.WriteLine and Console.Out.WriteLineAsync in an async method?
Once, when I used the cw snippet (type cwTAB) in an async method, Visual Studio would use await Console.Out.WriteLineAsync(); instead of the original Console.WriteLine();. Today I updated Visual ...
0
votes
0
answers
47
views
How do I remove the console window in a C++ application in Visual Studio?
I have a GLFW and OpenGL program in C++ Visual Studio with a window. The console window popping up whenever I run the program is annoying. How do I remove it? I'm on windows but I don't want to make ...
0
votes
0
answers
16
views
Python console in Taipy
I've been trying to create a section in my Taipy application in which I print the content of the underlying Python console, to have a read-only application log that stays up-to-date in real time.
So ...
-1
votes
0
answers
34
views
API Quota limit 250 Query
I want to know API limit of 250 per user per second means 250 is concerned to the developer account of company or 250 is the limit to user's email that we integrate like we are x company and we have a,...
4
votes
0
answers
75
views
Reading emojis using WinAPI console functions returns UTF-8 Replacement Character instead
For a project of mine I need to be able to read all possible MBCS UTF-8 codepoints from the Windows console. As it is well known that Windows works internally with wchar_t (UTF-16), I tried an ...
0
votes
1
answer
32
views
react-native-document-picker is not working
I implement file uploads in react native but there is one issue in console:
const [file, setFile] = useState(null);
const pickDocument = async () => {
try {
const res = await ...
0
votes
0
answers
65
views
Access to "ConsoleHost_history.txt" denied on Windows PowerShell
I am trying to run a file on python but the following error message is getting rendered:
Error reading or writing history file
'C:\Users\ibrah\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\...
-1
votes
2
answers
19
views
How to cut/crop an image file in the half in console
I have an image file image.png, and I want to make a vertical cut in the half and generate two images of equal size.
1
vote
1
answer
55
views
Is there a way to print 2 characters in one space within console?
So, I am attempting to make a maze game for some coursework at college. I have managed to get a maze generation algorithm working which makes use of recursive backtracking. However, the issue with ...
0
votes
0
answers
16
views
C# List of running processes using windows services vs console app [duplicate]
I tried to use the version described in#37 from .NET console application as Windows service #37 with the files:
Program.cs
MyService.cs
MyServiceInstaller.cs
in order to list into a file the ...
1
vote
1
answer
78
views
Is it possible to run a WPF application that is started as an console application in Linux
I have a test WPF application that I have changed so it now can startup as an console application, like this.
How to be dynamically either console application or Windows Application
My application is ...
-1
votes
2
answers
62
views
How can i print an ASCI drawing in Python?
I'm trying to make a an if else game which has ASCI drawings, every time I paste an ASCI drawing inside the print() I keep getting errors "String literal is unterminated" and "also ...
0
votes
1
answer
29
views
How to disable non-intended user input in the terminal C#
When i write a infinite loop that doesn't have any behaviour on its body, the user still have the possibility to write text at it, even without calling any input function:
Note: I'm using Linux, ...