sergiors / envfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get to the global npm list

npm ls -g --json > npmlist.json

PHP on Docker

docker image pull php:8.0-cli-alpine3.14
sudo touch /usr/local/bin/php
sudo chmod +x /usr/local/bin/php
docker run \
    --network=host \
    --rm \
    -e HOME="$HOME" \
    -u $(id -u):$(id -g) \
    -v "$HOME":"$HOME" \
    -w "$PWD" \
    php:8.0-cli-alpine3.14 \
    php "$@"

exit $?

About


Languages

Language:Ruby 47.8%Language:Vim Script 40.6%Language:Shell 11.6%