Category "command-line-interface"

How to create a GitHub repository secret /encrypt it using bash on Ubuntu?

I'm trying to create/update a GitHub secret using bash on Ubuntu. Their api docs say that I should get the public key from the repo encrypt the secret with it c

How do I run a gui Java application headless, without control of the source code?

I want to execute a Jar file using javax swing GUI with 1 radial option, a file selector and a button. The goal is to be able to automate the jar through CLI an

How to open Visual Studio Code from the command line on OSX?

The docs mention an executable called code, but I'm not sure where I can find that so I can put it on my path. The zip I downloaded from the VSCode site did not

Change directory in Jupyter Lab not working

I ran the commands attached below in my command line and it works, as it should, but not in JupyterLab. It seems odd but I was wondering what's going on?

Swagger-codegen: error: ignored arguments: 'Object'

I'm getting a weird error, and I can't seem to google the right things, as I'm finding no help online. I am writing a script that converts swagger files to type

Short flag for `git push --force-with-lease`?

I've begun using git push --force-with-lease rather than --force in most cases for the additional branch protection: git push --force-with-lease vs. --force I m

Parsing HTML on the command line; How to capture text in <strong></strong>?

I'm trying to grab data from HTML output that looks like this: <strong>Target1NoSpaces</strong><span class="creator"> .... <strong>Targ

How to query CSV using pure spark sql

I hope to get output from spark-sql CLI. But the data is in CSV which is separated by "\t". Is there any way to do this using pure sql? cmd like: spark-sql -e '

How to query CSV using pure spark sql

I hope to get output from spark-sql CLI. But the data is in CSV which is separated by "\t". Is there any way to do this using pure sql? cmd like: spark-sql -e '

Is there a way to erase the last line of output?

A very simple program that prints 3 lines of output: console.log('a'); console.log('b'); console.log('c'); Is there a way from program to delete the last line

How to run a Mininet CLI command from inside python module

I wrote a python module to generate a random topology using Mininet and connected OpenDayLight as the remote controller. I would like to pass a command to the

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

How to find command line executable (cli) in TYPO3 in Composer and non Composer mode?

The paths for the cli command has changed somewhere from TYPO3 7 to 8. Also, on my TYPO3 system there are 2 files: ./public/typo3/sysext/core/bin/typo3 ./vend

How to avoid terminal to catch error instead of Symfony profiler

[edited on 19th june] The question is not regarding the content of the logs, but why logs doesn't not appear in my symfony profiler My symfony profiler doesn't