A mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks

learn more… | top users | synonyms

0
votes
1answer
16 views

Get local network IP programmatically into command prompt

Just as others have asked for other languages, I would like to know how I get the local network IP into the command line (Windows 7) without passing it as a parameter. From this I know it is not saved ...
0
votes
2answers
24 views

Drawing a vertical histogram c#

I want to compute a vertical histogram in a console from an integer array. The array gets filled by this sinus-formula and afterwards two for loops should do the magic: for (int i = 0; i < 30; i++)...
1
vote
0answers
192 views

Laravel artisan script memory footprint

In my application (Laravel 5.1) I have different commands which are fairly simple: Get ip from RabbitMQ Attempt to establish a connection to that ip Update DB entry Since it can take a while to ...
0
votes
2answers
31 views

My Rails Console keeps crashing

I have a problem with my Rails Console, it keeps crashing and I can't figure out why. For example, when I type the following rails c Category.connection It begins with the following error: /Users/**...
-4
votes
0answers
14 views

How to print portion of text file, to console? [duplicate]

I import text file. Text file contains letters and numbers. I need the portion to be show'ed to console. Full Text file: In the forest is fruit: berries 34. To the next house, grows fruit: apples ...
0
votes
0answers
9 views

console-stamp adding new lines and needless main.js path

I have the following configuration: const TEST_CLASS = "util.Helper"; require("console-stamp")(console, { pattern: 'HH:MM:ss.l', metadata: '['+TEST_CLASS+']' }); and within my jest test i ...
0
votes
2answers
135 views

Call webpack bundled function/class from console.log

Is it possible to access the exported modules(ES6->ES5 compiled) from web inspector console? They are bundled together using webpack I am trying to call Session.setSessionInLocalStorage('test key', '...
0
votes
0answers
21 views

Reduce the file size of an converted image

I want to reduce size of an Converted Image for example Image1 not yet converted file size 10MB after conversion the byte output must be 300kb not 10MB byte size below code Conversion of Image with ...
1
vote
1answer
43 views

C++: Cannot delete characters already printed to console before outputting

I'm doing a lab for my C++ class in school. The program reads binary numbers in from a file, then calculates their decimal equivalent and prints them to the console, but it has to read the entire file ...
34
votes
4answers
44k views

How to hide console window in python?

I am writing an IRC bot in Python. I wish to make stand-alone binaries for Linux and Windows of it. And mainly I wish that when the bot initiates, the console window should hide and the user should ...
0
votes
0answers
54 views

Console multithreading

I'm trying read stdout byte stream into MemoryStream. All's works properly until I run same code in parallel threads using (Process proc = new Process()) { proc.StartInfo....
1
vote
1answer
17 views

How can I remove the MongoDB message of Java console? [duplicate]

I have MongoDB 3.2.9 and I am developing an Java application with Jongo 1.3.0 but the NetBeans console is showing the next red message: nov 24, 2016 2:30:17 AM com.mongodb.diagnostics.logging....
0
votes
0answers
13 views

Error occurred during activation of changes after deployment in EM

I am stuck with a error while activating my deployment in weblogic server (version - 12.2.1). I am deploying EAR of ADF application to weblogic through em and shows a below error message. An error ...
0
votes
1answer
16 views

Yii2: How do I debug console commands?

The Yii2 debugger seems to only work for web requests. How can I debug console commands (CLI)? Eg. I need to see the SQL statements that were executed during a console command...
0
votes
1answer
10 views

How to disable access to jboss admin console in Jboss-eap-5.1

I have a requirement to disable access to jboss admin console. URL for that is http://[hostname]:[port]/admin-console/login.seam Jboss version is jboss-eap-5.1 Operating System is Red Hat Enterprise ...
1
vote
4answers
40 views

User Input - What Do these 2 Lines Mean

Console.WriteLine("Enter The Radius: "); //"Console.ReadLine();" is what lets me write a number? string radiusString = Console.ReadLine(); //This will grab the "radiusString" number I type and ...
1
vote
1answer
36 views

console.log outputs 'function <valueOf result> ' instead of '<valueOf result>'

I am reading the javascript manual and I have wtote following code: //sum function sum(arg1) { var sum = arg1; function f(arg2) { sum += arg2; return f; }; f.valueOf ...
1
vote
0answers
14 views

JFileChooser to select the input file java.util.InputMismatchException error

In my program I'm trying to do Use JFileChooser to select the input file and display output in colsole. if I choose grade.txt file in that file I have different grades like: 20 98.83 40.05 0.97 9.77 ...
0
votes
1answer
31 views

How do I clear the console in Java [duplicate]

How do I clear the console in Java? This is my code but it doesn't do anything. switch (commandTyped.toUpperCase()) { case "I": final String ANSI_CLS = "\u001b[2J"; ...
8
votes
4answers
26k views

Get application directory using C# Console Application?

I found something on google but it not working on C# Console Application What I found: string appPath = Path.GetDirectoryName(Application.ExecutablePath); How I can get application directory using ...
0
votes
0answers
10 views

can not display the console with QNAP [on hold]

I installed ubuntu server 16.04 on qnap ts-869pro and connected it to the TV (Sony KDL-40HX800). The console screen does not appear after startup. Although it is displayed during start-up (a screen ...
69
votes
10answers
52k views

Capture console exit C#

I have a console application that contains quite a lot of threads. There are threads that monitor certain conditions and terminate the program if they are true. This termination can happen at any ...
0
votes
0answers
12 views

Eclipse: Add timestamp to Maven log entries

I'm using Eclipse Neon.1 and I use the deploy goal of Google App Engine plugin <!-- https://github.com/GoogleCloudPlatform/app-maven-plugin --> <plugin> <groupId>com.google....
53
votes
8answers
115k views

How to open Console window in Eclipse?

I accidentally closed the Console window in Eclipse, and now I can't see the result of my code being run. How do you open it again?
216
votes
8answers
86k views

How do I increase the capacity of the Eclipse output console?

Even with the "scroll lock" option enabled for the Eclipse console, eventually it overfills and starts auto-scrolling on me. Is there some way of increasing the capacity of the console so that it ...
0
votes
2answers
41 views

Decode text from console

I try to execute this code: private void Test(object sender, RoutedEventArgs e) { ProcessStartInfo start = new ProcessStartInfo("cmd", "/c \"wbadmin start recovert -version:02/26/2014-...
134
votes
17answers
432k views

How can I write to console in PHP?

Is it possible write string or log into the console? What I mean Just like in jsp, if we print something like system.out.println("some") it will be there at console not at page.
0
votes
0answers
15 views

Puppet Enterprise Console certificate update

I've setup and been managing a Puppet (enterprise 2016.1) instance with over 50 nodes. PE console uses self-signed certificate (https://<fully-qualified-domain-name>/) which is starting to get ...
-2
votes
0answers
55 views

Delphi: OmniThreadLibrary…Is it possible to use BackgroundWorker execution in a loop?

Is it possible to use BackgroundWorker execution in more iterations in console application, e.g. in the first iteration I will schedule 100 WorkItems that will be processed by the Execute method. The ...
0
votes
1answer
19 views

Eclipse showing old output in console

I have a very strange issue. I have an application that im building in eclipse. I have a line which is commented out. //System.out.println("starting new thread with conf: " + Main.config("...
-3
votes
1answer
30 views

i made my play store developer console and admob account but how i care of invalid click

i am new in play store developer console and adMob any one can give advise about what type care we should do to make real success in admob and which place should i used my account & it is safe to ...
1
vote
1answer
25 views

Use console.log in EJS

Is it possible to use console.log in a node / ejs template? It doesn't seem to do anything when I try, even something as simple as: <% console.log('test') %> I've also tried: <%= console....
0
votes
0answers
33 views

describe function in R, I can't see all contents

I used describe function in R for analyze big data. My bigdata has 74,836 obs & 147 variables. And I input describe(Data name) But.. I can't see all contents in console page. only I can see ...
-8
votes
2answers
57 views

How do I start this one [on hold]

Hi guys i'm new to this so be gentle. I am trying to create a console app in C# that does mathematic equations based on user input. So for example if a user inputted 2 + 3 - 4 * 8 ^ 2 / 3 the result ...
1
vote
1answer
17 views

Can't capture first CRLF with raw IO::console

I'm trying to get input from the console using IO::console::getch in a loop but getch doesn't seem to capture the first linefeed (I need to hit enter twice for the loop to break), while getc does, but ...
1
vote
1answer
60 views

How to readline in Haskell without transfer to the next line?

I am trying to use readline in Haskell without transfer cursor to the next line. For example, I wrote the following code: readEvalPrintLoop :: IO() readEvalPrintLoop = do line <- getLine ...
1
vote
1answer
40 views

Why does writing to STD_OUTPUT_HANDLE crash under Sublime Text? [duplicate]

I have an application which happens to log to the console using winapi's WriteFile on a handle acquired from GetStdHandle. Minimal test case: #include <Windows.h> int main(int argc, char** ...
0
votes
1answer
26 views

How to read console echo data using java

I have a utility which detects DB Vendor name from the configuration file. it is working fine but we have one .ini file for output redirection for this utility. if i use this utility as cfgtest -v ...
130
votes
16answers
168k views

How to keep the console window open in Visual C++?

I'm starting out in Visual C++ and I'd like to know how to keep the console window. For instance this would be a typical "hello world" application: int _tmain(int argc, _TCHAR* argv[]) { cout &...
1
vote
1answer
36 views

C - Is playing music possible?

I am making a text-based adventure game in language C. I am using CodeBlocks and the game will be a console application. Is it possible to put a "background music" thingy in the program? It would ...
0
votes
0answers
12 views

In command prompt, why does ^G ring only once, when I could write it three times?

Along with Python's "\a" for some reason, my computer will only ring its bell once. I've done echo control g (three ^G) and it will make one sound, not three. How come? I have Windows 10
1
vote
1answer
22 views

How to execute pipe hidden C++

I have a C++ program for Windows in which I need to know the type of graphics card the user has. The way I obtain it is by executing this pipe command std::shared_ptr<FILE> pipe(_popen("wmic ...
-1
votes
1answer
75 views

Set the stack trace limit in rinari-console

As can be seen from this question the back trace limit in Rails console is set by passing a new value to context.back_trace_limit. While this can be set in the .irbc file, I'd much rather Emacs set it ...
0
votes
0answers
17 views

Weird Input in Code::Blocks console

When I typed numbers, CodeBlocks console displayed weird characters, but the letters work fine. I have tried with other codes and the Numlock button but there were no different. How can I solve this ...
0
votes
3answers
49 views

Arraylist Nullpointerexception. Exception on the add-function [duplicate]

I tried to create a Arraylist. I try to add my object but if I run the Programm I get these Errors NullpointerException. Exception in thread "main" java.lang.NullPointerException at controller.Menue....
-1
votes
1answer
19 views

Why does my int not print [duplicate]

I'm new to coding Blah Blah same old story but I put this code in: { public static Random Random; public int numberOne = 5; public int numberTwo = 6; public void Run() { ...
227
votes
5answers
136k views

Unable to show a Git tree in terminal

Killswitchcollective.com's old article, 30 June 2009, has the following inputs and outputs git co master git merge [your_branch] git push upstream A-B-C-D-E A-B-C-D-E-F-G ...
0
votes
2answers
23 views

Console not printing lines and/or words

I have a simple code just to have fun, it was supposed to print the entire alphabet, each letter separated from each other with 100 empty lines... But this is not printing any line.... Note: Before I ...
0
votes
0answers
34 views

Qt C++ No output to stdout when console application is executed directly

I'm new to Qt and used the example project xmlstreamlint. When I do a printf in main I see the output when I run the application from QT Creator. But when I navigate to the debug directory and run the ...