devenv

[!TIP]

installer

[!NOTE]

application

copilot

[!NOTE|label:references]

CLI

java

  • download jdk 1.8.0_121

  • setup java environment

  • setup default jdk

groovy

  • download groovy binary pakcage

  • setup groovy environment

  • set default groovy

groovy completions

gcc

[!NOTE]

  • install

  • configure

  • verify

info-zip

[!TIP|label:references]

brew install

[!NOTE|label:references]

build from source

[!NOTE|label:references]

  • zip30

  • zip31d

glibc

[!NOTE|label:references:]

  • No rule to make target glibc-build/Versions.all, needed by glibc-build/abi-versions.h. Stop.

  • make[2]: *** [/mnt/lfs/sources/glibc-build/misc/syslog.o] Error 1

  • ldconfig: Can't open configuration

  • manpath

lua

[!NOTE]

  • build with .so file

ruby

[!NOTE|label:references:]

mono

[!NOTE]

  • repo files

cmake

[!NOTE|label:references]

llvm

[!NOTE|label:references:]

clang++ in windows

[!NOTE|label:references:]

go

[!NOTE|label:references:]

node && npm

[!NOTE|label:see also:]

config

  • list all configure

  • npm prefix

  • registry

channel via snap

nodejs for ubuntu/debian

nodejs for centos/rhel

node/npm troubleshooting

[!NOTE]

install from private registry

upgrade via n

node warnings

[!NOTE|label:references:]

gradle

[!NOTE]

flags for gradle

[!NOTE|label:references:]

rust

haskell

[!NOTE|label:references:]

haskell-platform

haskell-stack

  • system dependency

docker

[!NOTE|label:references:]

jfrog-cli

  • build from source

pandoc

[!NOTE|label:references:]

to pdf

[!NOTE|label:references:]

  • css

  • header.html

  • convert to pdf with header and footer

mysql

built from source code

  • build

  • configure

install from apt repo

install old version

reconfiguration

mysql-connector (jdbc)

vncserver

[!NOTE|label:see more:]

compiler environment

pkg-config

ldconfig

auto completion

[!NOTE|label:references:]

  • check all commands: compgen -c

bash-completion

[!TIP|label:references:]

bash-completion@2

[!NOTE|label:references:]

  • completion files: $(brew --prefix bash-completion@2)/share/bash-completion/completions

  • brew info bash_completion@2

  • local files:

tools completion install

  • gpg

troubleshooting

-bash: [: too many arguments

  • files:

    • vim $(brew --prefix)/etc/bash_completion.d/gcc

    • vim $(brew --prefix)/etc/bash_completion.d/ifupdown

    • vim $(brew --prefix)/etc/bash_completion.d/ipsec

    • vim $(brew --prefix)/etc/bash_completion.d/kldload

    • vim $(brew --prefix)/etc/bash_completion.d/man

    • vim $(brew --prefix)/etc/bash_completion.d/net-tools

    • vim $(brew --prefix)/etc/bash_completion.d/pkg_install

    • vim $(brew --prefix)/etc/bash_completion.d/procps

    • vim $(brew --prefix)/etc/bash_completion.d/wireless-tools

  • modify to:

-bash: _compopt_o_filenames: command not found

[!NOTE|label:references:]

  • solution 1

    [!TIP|label:highly recommended in OSX:]

    • using bash-completion@2 instead of bash-completion

  • solution 2

    • replace _compopt_o_filenames to compopt -o filenames in $(brew --prefix)/etc/bash_completion.d/ssh

      • impacted files:

    • or workaround function to handle _compopt_o_filenames

    • or workaround script to handle _compopt_o_filenames

_comp_compgen_known_hosts__impl

[!NOTE|label:references:]

  • issue: ssh bash_completion: _comp_compgen_known_hosts__impl: -F: an empty filename is specified

tools

fzf

_comp_compgen_split: command not found

[!NOTE|label:in ubnut 22.04]

npm

[!NOTE|label:references:]

python

  • pipenv

  • pipx

  • pip

ansible

git

others

lint

[!NOTE|label:references:]

| TOOLING FORMAT | LINTER | ADDITIONAL |----------------|----------------------------------------------------------------------------------------------------------| | ACTION | actionlint | | ANSIBLE | ansible-lint | | API | spectral | | ARM | arm-ttk | | BICEP | bicep_linter | | CLOUDFORMATION | cfn-lint | | DOCKERFILE | hadolint | | EDITORCONFIG | editorconfig-checker | | GHERKIN | gherkin-lint | | KUBERNETES | kubeconform | | KUBERNETES | helm | | KUBERNETES | kubescape | | PUPPET | puppet-lint | | SNAKEMAKE | snakemake | | SNAKEMAKE | snakefmt | | TEKTON | tekton-lint | | TERRAFORM | tflint | | TERRAFORM | terrascan | | TERRAFORM | terragrunt | | TERRAFORM | terraform-fmt |

CODE QUALITY CHECKER
LINTER

COPYPASTE

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

REPOSITORY

SPELL

SPELL

SPELL

hadolint

npm-groovy-lint

[!NOTE|label:rerefences]

VARIABLE
DESCRIPTION
DEFAULT VALUE

GROOVY_NPM_GROOVY_LINT_ARGUMENTS

User custom arguments to add in linter CLI call. Ex: -s --foo "bar"

-

GROOVY_NPM_GROOVY_LINT_COMMAND_REMOVE_ARGUMENTS

User custom arguments to remove from command line before calling the linter. Ex: -s --foo "bar"

-

GROOVY_NPM_GROOVY_LINT_FILTER_REGEX_INCLUDE

Custom regex including filter. Ex: (src|lib)

include every file

GROOVY_NPM_GROOVY_LINT_FILTER_REGEX_EXCLUDE

Custom regex excluding filter. Ex: (test|examples)

exclude no file

GROOVY_NPM_GROOVY_LINT_CLI_LINT_MODE

Override default CLI lint mode

  • file: Calls the linter for each file

  • list_of_files: Call the linter with the list of files as argument

  • project: Call the linter from the root of the project

list_of_files

GROOVY_NPM_GROOVY_LINT_FILE_EXTENSIONS

Allowed file extensions. "*" matches any extension, "" matches empty extension. Empty list excludes all files. Ex: [".py", ""]

[".groovy", ".gvy", ".gradle", ".nf"]

GROOVY_NPM_GROOVY_LINT_FILE_NAMES_REGEX

File name regex filters. Regular expression list for filtering files by their base names using regex full match. Empty list includes all files. Ex: ["Dockerfile(-.+)?", "Jenkinsfile"]

["Jenkinsfile"]

GROOVY_NPM_GROOVY_LINT_PRE_COMMANDS

List of bash commands to run before the linter

-

GROOVY_NPM_GROOVY_LINT_UNSECURED_ENV_VARIABLES

List of env variables explicitly not filtered before calling GROOVY_NPM_GROOVY_LINT and its pre/post commands

-

GROOVY_NPM_GROOVY_LINT_CONFIG_FILE

npm-groovy-lint configuration file nameUse LINTER_DEFAULT to let the linter find it

.groovylintrc.json

GROOVY_NPM_GROOVY_LINT_RULES_PATH

Path where to find linter configuration file

workspace folder, then megalinter default rules

GROOVY_NPM_GROOVY_LINT_DISABLE_ERRORS

Run linter but consider errors as warnings

false

GROOVY_NPM_GROOVY_LINT_DISABLE_ERRORS_IF_LESS_THAN

Maximum number of errors allowed

0

GROOVY_NPM_GROOVY_LINT_CLI_EXECUTABLE

Override CLI executable

['npm-groovy-lint']

commitlint

[!NOTE|label:references:]

Checkpatch

[!NOTE|label:references:]

troubleshooting

issues

cheatsheet

check osx compilers

check *.o file

env

manpath

[!NOTE|label:references:]

  • show manpath

  • config file

  • manpath

manual add man.1

others

[!NOTE|label:references:]

Last updated

Was this helpful?