Skip to content

Instantly share code, notes, and snippets.

View kentlouisetonino's full-sized avatar

Kent Tonino kentlouisetonino

View GitHub Profile

Steps

  • Delete the go first in your machine.
# sudo: Allows superuser privileges to execute the command.
# rm: Remove.
# -r: Recursively removes files and directories.
# -f: Forces the removal of files and directories.
sudo rm -rf /usr/local/go

Steps

Go to the root directory of the project. Create a new folder and file. After creating the file, put the sql content.

mkdir docker
cd docker
touch docker_mysql-init.sql

Steps

In LUbuntu, when you install a snap application it will not include a desktop icon in the main menu. Follow the instruction below to add a desktop icon in main menu.

1. Change directory to "/var/lib/snapd/desktop/applications/".
2. Execute the command "sudo cp <name.desktop> /usr/share/applications/".