Process all arguments except the first one (in a bash script)
I have a simple script where the first argument is reserved for the filename, and all other optional arguments should be passed to other parts of the script.
Using Google I found this wiki, but it
Linux and Unix exit code tutorial with examples | George Ornbo
Tutorial on using exit codes from Linux or UNIX commands. Examples of how to get the exit code of a command, how to set the exit code and how to suppress exit codes.
According to this page, $@ and $* do pretty much the same thing:
The $@ holds list of all arguments passed to the script.
The $* holds list of all arguments passed to the script.
After searchin...
Auto-completion for Workflows JSON and YAML on Visual Studio Code
If you’re like me, you probably use VS Code to author your Workflows JSON or YAML. You also probably expect some kind syntax validation or auto-completion as you work on your workflow. Unfortunately, there’s no VS Code extension for Workflows and Cloud Code for VS Code does not support Workflows.
However, there’s a way to get partial auto-completion for Workflows in VS Code.
VS Code and JSON Schema VS Code has the ability to display auto-complete suggestions for JSON and YAML files out of the box.
python-jsonschema/jsonschema: An implementation of the JSON Schema specification for Python
An implementation of the JSON Schema specification for Python - python-jsonschema/jsonschema: An implementation of the JSON Schema specification for Python
Jenkinsfile syntax highlighting in Java project using IntelliJ IDEA
We already tried the approaches as listed below:
https://github.com/oliverlockwood/jenkinsfile-idea-plugin
https://st-g.de/2016/08/jenkins-pipeline-autocompletion-in-intellij
After having searche...
eclipse-theia/theia: Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript. - eclipse-theia/theia: Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.