Most voted "console" questions
The command console also called shell for Unix-like systems is a textual interface that interprets the existing commands in an operating system and sends them to the kernel later printing the result of the processing on the screen.
Learn more…149 questions
Sort by count of
-
2
votes1
answer132
viewsTrayicon with hidden console
I have a program in java, no graphical interface, just console. The only output commands are System.out.println(). I implemented it so the program would have a trayicon. The problem is that I only…
-
2
votes2
answers11603
viewsHow to break lines (console mode)?
How I break lines in C#, as if I put two commands Write the console will print them side by side, as I do to print on the bottom line. Ps: Code below var A1 = Console.ReadLine(); var A2 =…
-
2
votes1
answer528
viewsShow / Hide console in an application in c#
I looked for how to show/hide the console in a c# application in the English forums and could not find it. Looking at international I came across several solutions but I found one very easy to apply…
-
2
votes0
answers179
viewsLogin with Firebase
I am developing a Login screen with firebase, I would like to know how to block a call from Xmlhttprequest via browser console? The login is done via ajax, when I receive the login information from…
-
2
votes1
answer235
viewsIs it possible to create PHP console applications in the Clipper style?
It looks like something from another planet, but I would like to see a current language doing old things, like a PHP doing a Clipper-style application, the one with screens with simple lines, but…
-
2
votes1
answer3484
viewsConsole.log displaying all array data
When I run the javascript code below: var dados = Array(); for (var i = 0; i < 2; ++i) { dados.push({index: i}); console.log(dados); } The browser console output for the first interaction will…
-
2
votes1
answer36
viewshow to display the full output of a repeat loop in the console
I have a very simplistic example of code. Segue Ex.: for(var i = 0; i < 5; i++){ console.log("alguma coisa"); } In the Chrome Devtools does not appear well the output I expected, the output is…
-
2
votes1
answer172
viewsExecutable with Hidden console opening console
I’m making a code that uses libraries a lot the and sys. When I was converting to executable (.exe) I used pyinstaller to hide the command prompt but still remains a prompt open during the long run…
-
2
votes0
answers57
viewsHow to select options in java console application?
There is the possibility for the user to select menu options by navigating with the arrow keys up and down, then pressing enter? public static void menu() { print("=====MENU====="); print("|Novo…
-
2
votes2
answers2053
viewsEoferror: EOF when Ading a line
I’m doing a program that’s a resolution of this issue of the Computer Olympiad. A, B, C = input("A").split(), input("B").split(), input("C").split() A, B, C = int(A[0]), int(B[0]), int(C[0]) if A…
-
2
votes1
answer28
viewsArray does not return value using a static method function
In this static function all variables return their respective values, except $funcionario which is an array. Where am I going wrong? class Dtb{ public static $funcionarios =['M','G','N','I'] ;…
-
1
votes2
answers1176
viewsWhy can’t I read a string on the console?
I’m trying to read a string typed into the console, which is halfway through the code, but what happens is it goes right through and displays the final information. using System; namespace Viernes {…
-
1
votes1
answer45
viewsError: Shell class Syncaccesstokenshell could not be found
My app is cake 2.4.4, is hosted on Amazon. Before the server was apache, but now we migrate to Nginx for better performance. As it was to be expected several problems occurred (normal), one more of…
-
1
votes1
answer49
viewsHow to use Twisted on Mac OSX?
I’m following a tutorial to use Twisted to establish connection to an app. However, when testing the connection to localhost for testing, it seems that it is not responding. I am using the following…
-
1
votes1
answer175
viewsHow to create two classes with the same methods, even though one of them is not`Partial`?
I can create a class to implement the class System.Console, without creating extensions? Example: 'A original, da mscorlib: Public NotInheritable Class Console (...) End Class She’s marked as a…
-
1
votes1
answer75
views -
1
votes1
answer97
viewsDoubt with javascript console.log
i have a javascript that performs some actions on a site. I follow through the console to know what is happening, but at various times it executes a command that printa in console.log("check"); I…
-
1
votes1
answer132
viewsHow to preserve Mozilla Firefox Browser Console Log?
In the Google Chrome browser, in the tab consola, there is an option for preservar log while we are testing things or developing our website so that we don’t have to rewrite the whole code again if…
-
1
votes1
answer77
viewsHow do I know which script manipulated a gift and modified the HTML attributes?
It is possible to know through the console? Imagine this story: You have several Javascript files embedded in the page header, and when you send a post, out of nowhere appears a style="display:None"…
-
1
votes1
answer1012
viewsHow to know which keys are pressed in C# Consoleapp and set events
How can I "read" which key is pressed and set an event for such a key if pressed. Example: if you press F1 Sum, F2 subtracts and so on I found this example on the C# help site, but I didn’t…
-
1
votes1
answer3202
viewsProblems with accentuation - Python
Hi, I’m having stress problems in Python. In the code I put this: # -- coding: UTF-8 -- But the accents are not recognized in the cmd. Follow print for better understanding. From now on, thank you!…
-
1
votes1
answer1230
viewsWhich library to use to pause the system instead of getch?
#include <stdio.h> #include <conio.h> int main() { int x=4, y=7; printf("&X:%X &Y:%X x e y (%d,%d)\n",&x,&y,x,y); int *px, *py; px =…
-
1
votes1
answer145
viewsHow to create an integer variable in hexadecimal?
I am trying to create an integer variable in hexadecimal, but an error occurs saying it is not in the correct format. [DllImport("user32.dll")] public static extern short GetKeyState(int vKey);…
-
1
votes1
answer104
viewsC++: Vector in a function
I’m doing a project where I use many vector vectors. Only working with array vectors is easier, so I did the following function: // add.cpp vector <string> sAdd (string In[]) { vector…
-
1
votes1
answer407
viewsUpdate console line
I have a python loop, and would like to inform the value of a variable each time it is updated, however I don’t want to dirty the console printing every time and or clean the whole console. There is…
-
1
votes1
answer304
viewsUse Text User Interfaces in C#?
I would like to give a basic interface to an application developed in Console Application. I want to make use of features like TUI (Text-Based User Interfaces), common on other platforms like…
-
1
votes0
answers384
viewsHow to know where a specific script is running on a given HTML element?
There is a javascript running on a given page, I would like to find out where it is, ie the path or at least the name. For example: ". /files/global.js.download". I have a page that has several with…
-
1
votes1
answer110
viewsHow to call compressed HTML file with gz?
I’m starting to use gzip, I compressed a JS file but when I call it in HTML, the error in the console. IN HTML <script…
-
1
votes1
answer196
viewsConsole shows javascript log very fast and not time view output
This is my code is a simple form: <!DOCTYPE html> <html> <head> <title>Formulário</title> <meta charset="utf-8" /> </head> <body> <form…
-
1
votes1
answer1216
viewsHow to read a keyboard number without using "enter" in C++
I want to create a menu in which the user chooses the option 1 to 5, I would like the user to type the number and the program to enter the option without pressing Enter. Follow an example #include…
-
1
votes2
answers668
viewsAssign values to a variable
I have the following program: #include <stdio.h> int a,b; int main(int argc,char *argv[]){ int c; printf("%d",a+b); printf("%d",c); return 0; } How do I pass a value to the global or local…
-
1
votes1
answer287
viewsUpdate console line with C#
I already asked this same question once, but in that case I needed for the python language, now I need to solve this same problem, with the C language# I have a loop in C#, and would like to inform…
-
1
votes1
answer114
viewsHow to Save Data Console Application using Entityframework
I made a console application using the Entity Framework, I’m just having a hard time implementing the methods of my repository class that I inherit from an interface,: public interface…
-
1
votes0
answers88
viewsConnect to the database via browser console
I have a JS application that runs via browser console. I would like to know the possibilities of sending and receiving data via mysql via the Console. I don’t know if it’s possible either. I tried…
-
1
votes2
answers381
viewsHow to find out if your browser console is open?
Is there any way to capture the information that the browser console is open? Currently I make a script that checks if the height of the browser has been changed... but in case it dislodges the…
-
1
votes1
answer32
viewsitems Hidden by Filters - error console
I am creating an Electron application with angular2, where I make requests to an api. When disconnecting the machine from the internet, (because I want the application to work differently without…
-
1
votes1
answer1701
viewsHTTP Basic Authentication with AJAX and php
I am trying to do a simple password authentication using HTTP BA. follow the codes: login.php <?php if(!(isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW']))){…
-
1
votes0
answers938
viewsIs it possible to run a Javascript file and have the output on the Node.js console inside the Visual Studio IDE 2019?
Is it possible in Visual Studio IDE 2019 to run a javascript file and get the output from the Node.js console that is inside Visual Studio? how Visual Studio Code has the Node extension called "Node…
-
1
votes1
answer529
viewsOpen a browser and run a javascript directly on the console through another programming language
My question is this: Imagine the following scene. You open the browser, open the console and then put some javascript code there to perform some task. I wonder if it is possible to create a script…
-
1
votes1
answer39
viewsRelationship Problems Entity Framework Core 3,
I’ll expose the code first, then explain the problem. Pupil.Cs using System.Collections.Generic; namespace SalaDeAula.Models { public class Aluno { public int AlunoId { get; set; } public string…
-
0
votes1
answer93
viewsModify VIM cursor by running on Console2
I cannot change the cursor type of VIM when I enter Insert mode, when I use Console2. I wanted him to do as he does in the cmd, as the figure below: Does anyone know if it’s possible, and if it’s…
-
0
votes1
answer115
viewsView help typing help c#
I need that when the user type help prints a help text, but this needs to work anywhere in the code and not in some parts. Same as CMD that when someone type help appears all available commands.…
-
0
votes1
answer46
viewsButtons, panels and other shapes in the CONSOLE
Well, these days there, I’m making a Console, very simple, and I was curious to see some apps made by super advanced third, with Menus, panels and even buttons! When you click on them, they give the…
-
0
votes1
answer654
views -
0
votes2
answers1509
viewsOrder queue in c#
Since I already have this code: Queue<string> Fila = new Queue<string>(); //Declaração da Fila string opcao = "1"; //Define opção como 1 while (opcao == "1") //Enquanto ele quiser…
-
0
votes1
answer711
viewsWrite information in the browser console via the . NET
I need to demonstrate information on browser the classic console.log Javascript, only that I would like to do this on browser with . Net and not on output Visual Studio because I believe that Azure…
-
0
votes0
answers135
viewsJava charset - How to read correctly from System.in?
I am creating an application to exchange messages between computers using Sockets, through cmd or terminal (I want it to run on linux and windows, console application). But I’m having trouble…
-
0
votes1
answer92
viewsGet all the console buffer
How can I get all the Console text (System.Console) for a String, without redirecting the console output to a process, for example, I want to get what’s in the Console through the Console itself. Is…
-
0
votes1
answer52
viewsError in the google-Charts console?
The graphics are drawn correctly in html, but this error is in the console. VM6537:108 Uncaught Error: Container is not defined /*Graficos*/ google.charts.load('current', {packages: ['corechart']});…
-
0
votes1
answer768
viewsHide/change console error message
I try to take for example a file that does not exist on my site, as: try { $.getScript('app/controllers/arquivo-errado.js', function(){}); } catch (e) { // caso de erro } The error is returned in…