Questions tagged [console]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
91 views

Password Generator “Crapcode”

I made Password Generator on C#. It prompts the user for the length of the password, whether it contains numbers, lowercase letters, uppercase letters or symbols, and generates a strong password from ...
10
votes
2answers
115 views

Text based rendering/animation engine for the terminal

This project was highly inspired by the popular drawille project, that lets one draw to the terminal using the braille unicode characters. The advantage of drawing with braille characters compared to ...
2
votes
0answers
19 views

Analog Clock for WebAssembly in AEC

I've ported the Analog Clock program written in AEC from Linux to WebAssembly. You can see the live version. ...
5
votes
2answers
271 views

Object oriented approach for snake game in C++

I started to code in c++ recently and my goal is to develop games using c++. After learning basics I tried to implement my own version of snake console based game in c++ with the help of some online ...
3
votes
1answer
33 views

(Improved) get-release npm module

Improved version of the original question I've created a simple npm module and CLI program to get the latest GitHub and Bitbucket release from their APIs using Node.js. Please tell me if there's ...
8
votes
1answer
51 views

get-release npm module

Solved, question with improved code I've created a simple npm module and CLI program to get the latest GitHub and Bitbucket release from their APIs using Node.js. Please tell me if there's anything to ...
3
votes
1answer
62 views

7-Day Agenda in Python

This is a personal project of mine. I made a simple seven day agenda program in Python that stores tasks as a string, saves it into a .dat file, and returns that task when you input a day of the week....
1
vote
2answers
93 views

My first C# console program

I just started coding c# 4 days ago. I just finsihed my first ever Console Program. I would like to hear some suggestions, on how I could improve my code. I would also like to add that this is my ...
4
votes
1answer
82 views

Simple Console Chat in Java

I have rewritten my little chat application and tried to pay attention to former hints and tips. The viewer and the writer have to run as seperate applications. the Writer.class basically stores ...
6
votes
2answers
91 views

C# Better structure in my code & any other critiques

Any advice on how to make this code; cleaner, more effective, just overall better! Program creates a 'post' in the console. The post has a: message create on date score for 'upvotes' and 'downvotes' ...
4
votes
2answers
99 views

I made basketball program using Java that runs on console

I made a simple console basketball game using Java. ...
6
votes
1answer
75 views

Tool for converting OEIS sequences into Desmos lists

https://github.com/CascadeIllusion/DesmOEIS Recently began work on a Python project called DesmOEIS to build up my portfolio. It's a simple console program that looks up integer sequences from the ...
5
votes
1answer
207 views

Fishy password management

Problem When it comes to security I like to don a tin foil hat. As such I use the, off-line password manager, Keepass. Keepass allows you to to use multi-factor authentication via; a password, a ...
2
votes
0answers
23 views

A Firebase Uploader CLI

I built this code as part of a test project that was given to me by a company. They had given me a .csv file that contained over 9000 records and wanted me to build a program that would upload it to ...
15
votes
4answers
981 views

A top-like live monitor for virsh/kvm/qemu VM's

I needed a tool to monitor VM's running on my server in relatively real-time (similar to top or the many variants out there). The main things I need to keep track ...
1
vote
1answer
31 views

Efficiency problem: Validating initial inputs then a joint validation test

The code works as intended but I believe it is very inefficient. The calculation of weights is simple, but I imagine this would be silly, for example, a 100 asset portfolio. The first problem is that ...
1
vote
0answers
39 views

Analog Clock in AEC

I've made a simple terminal-based analog clock for Linux in AEC. Here we go: ...
2
votes
1answer
51 views

Command Line app for calculating payroll in Java

I had an assignment last semester to program a payroll app utilizing methods. I went back to it and re-wrote it to include an extra class as well. I would like some feedback regarding whether my code ...
1
vote
0answers
45 views

A basic prototype of “Hello World” EXE maker

This is a basic prototype of my "Hello World" EXE maker to display custom text string compatible with DOS and 32-bit Windows, but the C# code is rather cryptic because of hard-coded ...
4
votes
1answer
51 views

Small program to convert multiple header files into one

UPDATE: I have changed some of the code from feedback provided on #cpp_review I created a little project that will basically move all header files into one (mostly for libs). The project is small, ...
4
votes
1answer
55 views

command-line demo app

I started learning from the book: head first design patterns. As I am trying out different programs in the book, I am compiling them in this one demo app. Below is the code for its driver function. ...
6
votes
2answers
177 views

Follow Up DinoPass - CLI Password Manager

This is a follow-up (somewhat) to this post. I said somewhat because I've kinda changed most of the logic. Changes: I've changed the project name I've changed the CLI UX I've added encryption / ...
5
votes
1answer
118 views

Caesar Cipher [The Odin Project-Javascript Exercise]

Very new to coding, so please don't bully me. Implement the legendary caesar cipher: In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, ...
4
votes
1answer
89 views

Animated progress bar in C++ | How to simplify or alternatives using strings

i'm a beginner in C++ i decided to learn the Scary C++ Programing Language i am a slow learner and after 2 Months learning C++ i saw the need to have a Nice and Tidy progress bar for my programs. ...
1
vote
1answer
80 views

A Credit Payment Calculator

So I've attempted this project from hyperskills where you're asked to make a calculator script that can calculate annuity and differentiated payments given that 3 of 4 values are known. I think i went ...
2
votes
2answers
111 views

Python Command Line Interface

I wrote a little module for making quick CLIs in Python and I wanted to get your thoughts on areas of improvement (as well as to see what can break it). One of the issues I had from the start was ...
1
vote
2answers
46 views

CLI application for Football Stats Generator

I'm trying to build a CLI that runs until the user decides to exit. The functionality of the CLI is to be able to explore a json-file by typing commands into the terminal while the program is running. ...
3
votes
0answers
47 views

Using SSH.NET to interact with a Bash shell

I'm trying to interact with a bash shell on a router to automate some CLI commands using SSH.NET. I'm not sure if the approach I'm taking is the best one and would like to get some recommendations on ...
1
vote
0answers
26 views

Simplified Bash getopts flow

I've always found the boilerplate needed to use getopts correctly fairly fiddly and verbose, and was motivated to try to abstract it away. I wanted to try ...
3
votes
1answer
50 views

Command line dictionary tool, using webscraping

This is my first proper Go program, after completing Go by Example and https://tour.golang.org. I have a background in Python. This program scrapes definitions from Wordnik, then prints them nicely ...
1
vote
0answers
17 views

Processing commandline arguments [closed]

I'm parsing commandline arguments in lua with a command parser library (penlight lapp). This works fine, is easy to design and flexible enough for me. However, now ...
7
votes
1answer
160 views

C# random math questions project

I made a C# console math project where the user answers addition, subtraction, multiplication, division, power or square-root questions based on the difficulty they choose! However, I am struggling ...
4
votes
3answers
189 views

Stopwatch class without using System.Diagnostics in C#

Design a class called Stopwatch. The job of this class is to simulate a stopwatch. It should provide two methods: Start and Stop. We call the start method first, and the stop method next. Then we ...
3
votes
2answers
100 views

C# maths quiz with user choosen difficulty-level

I have built a maths project that asks the user an addition, subtraction, multiplication, division, power and square root questions based on the difficulty level they choose! But I am trying to ...
3
votes
2answers
55 views

Python word counter for all files in the current directory

I wrote a simple command-line script to count all words in all documents (of the supported formats) in the current directory. Currently it supports TXT, DOCX, XLSX, and PDF formats and has been ...
2
votes
0answers
79 views

Flashcard app in Golang

Most of my development experience is in the .NET world. I started learning Golang again a few months ago, and decided to build a super simple flashcard app. This project was mainly to get used to ...
2
votes
1answer
42 views

Extract users and privileges from MariaDB and MySQL

This was born out of a need to create database users on a new server to allow views to be created correctly when restoring databases. This is designed to be run from a command line NOT via a web ...
3
votes
1answer
134 views

NodeJS CLI script to create React apps

Background I crated a CLI tool which executes an npm command (to create a react app) and modifies the contents of the generated files. It was a practice attempt at ...
3
votes
1answer
72 views

Discount card reduction calculator

I have started programming a couple of months ago and have recently applied for an internship. One of the assignments was to create a console application, the assignment can be seen here - > HERE My ...
4
votes
1answer
55 views

Wrapper class for mediainfo

I made the following wrapper for the mediainfo command line. I did this mainly because mediainfo gives me more information than ...
1
vote
0answers
166 views

.NET Core Service/Console App Architecture

I have the following setup code for my .NET Core 3.1 console application/microservice app and I want to learn and improve what I have - I have a feeling I could be utilizing the core Microsoft .NET ...
3
votes
1answer
78 views

Chat Viewer working with files

I am writing a textual chat app for exercise purposes. All Chatters using my program have access to a network directory, and there my program is stored. This chat app consists of three programs. The ...
5
votes
0answers
95 views

Simple dmenu launcher for passwords, docs, notes and application shortcuts (Python)

I created a small script for automating password store management and quickly searching and launching notes, shortcuts and documents through some keybindings that will execute the script. Script is ...
4
votes
1answer
384 views

Thread-safe console for C#

I've created an small lib to allow writing to console with multiple threads and reading from console at the same time avoiding output being written in the middle of input because console cursor is ...
21
votes
4answers
5k views

Rock, Paper, Scissors in C++

I have a fair few years experience with programming, and am currently working in a software development role, writing internal web applications in C#. This is the first C++ code I have ever written, ...
0
votes
1answer
66 views

Python 3 Simple Xor Pipe/CLI Program

I wrote a simple Python 3 program that takes data from either a file or standard input and xor encrypts or decrypts the data. By default, the output is encoded in base64, however there is a flag for ...
7
votes
1answer
144 views

Generating Infinite Procedural Terrain Using Command-Line Graphics

Continuing my trend of (ab)using the Windows command-line interface to do fancy graphics-related things with my command-line-graphics library, CLIGL, I've created an infinite procedural terrain ...
1
vote
0answers
45 views

X in a Line Console Game - Python OOP

Please could you review my code below? The game is similar to "Connect 4", but I haven't implemented diagonal checking for wins. In particular I'm interested in my use of OOP. E.g. My choice of ...
3
votes
1answer
42 views

Ubuntu 18.04.3 ASCII strings length with embedded VT100 control codes

As my applications rely on VT-100 emulation, I found that I had to do quite a few workarounds to determine the number of visible characters in a string with embedded VT-100 control codes. So that led ...
9
votes
1answer
132 views

Deduplication by hard-linking files in multiple directories

About a year ago, I wrote a Python script that enumerates all the files in a directory, partitions them based on a couple of criteria (file size, a custom byte-signature of the file, hash, ...) and ...

1
2 3 4 5
14