- Launch
regedit
- Navigate to
Computer\HKEY_CLASSES_ROOT\Directory\Background\shell\cmd
- Right click on
cmd
folder on registry tree and choose "Permissions" - Click on "Advanced" button
- On the top click on "Change" link
- Type in your user name and click "Check Names"
- Check "Replace owner on subcontainers and objects" checkbox then click "Apply" and "OK"
- From "Group or user names" list select "Administrators (YOURPCNAME\Administrators)" and Allow "Full Control"
- Select "HideBasedOnVelocityId" key and rename it to "ShowBasedOnVelocityId"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:8.0-fpm | |
# Set working directory | |
WORKDIR /var/www/html/public | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
strace \ | |
curl \ | |
libpng-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
app: | |
image: serversideup/php:8.0-fpm-nginx | |
environment: | |
AUTORUN_ENABLED: "false" | |
ports: | |
- "80:80" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker ps --format '{{.Names}}' | grep "keyword" | awk '{print $1}' | xargs -I {} docker stop {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install Golang 1.12.4 64Bits on Linux (Debian|Ubuntu|OpenSUSE|CentOS) | |
## Run as root (sudo su) | |
GO_URL="https://storage.googleapis.com/golang" | |
GO_VERSION=${1:-"1.12.4"} | |
GO_FILE="go$GO_VERSION.linux-amd64.tar.gz" | |
Add required paths to the PATH environment variable
by inserting the lines below in your /etc/profile
file for a system-wide installation or $HOME/.profile
or $HOME./bash_profile
for user specific installation:
Using your preferred editor, open the appropriate user profile file as per your distribution and add the lines below, save the file and exit:
export GOPATH="$HOME/go"
export GOBIN="$GOPATH/bin"
export PATH="$PATH:/usr/local/go/bin"
export PATH="$PATH:$GOBIN"
The final step under this section is to effect the changes made to the user profile in the current bash session like so: