1. Create a docker group $ sudo groupadd docker 2. Add the connected user $USER to the docker group Optionally change the username to match your preferred user. $ sudo gpasswd -a $USER docker 3. Restart the docker daemon $ sudo service docker restart
Programming
CBS Currency Position Left
Open up the currency class Find your currency, for me is Hong Kong dollar done
The new windows terminal
Microsoft finally have something replacing the cmd.exe and the PowerShell app, it is call Windows Terminal I like it the most because it's tab features, and you can add your favorite command line program to it, below example I added git-bash shell to Windows Terminal,...
AlexTechTips – Software List
Coding toolsTerminal ToolsiTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.10 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted.Get it here - http://bit.ly/2GJV2BD...
How to use docker for WordPress development
1. Use wordpress:latest to create ssl version of wordpress container Create Dockerfile file FROM wordpress:latest RUN apt-get update && \ apt-get install -y --no-install-recommends ssl-cert && \ rm -r /var/lib/apt/lists/* && \ a2enmod ssl && \ a2ensite default-ssl...
Docker – Kitematic (The GUI)
Here you can get the GUI for docker, it is develop using Electron, so the program should be alike across Windows, Mac and linux. Currently you can get the program via the GitHub page - link here: https://github.com/docker/kitematic/releases You can search all the...
Docker – get start guide
Docker – get start guide I’ve discover the love for python language, I’ve tried django route but I think is too complicated for beginning of programming python, then I’ve discover flask, is much simpleper to develop small apps quickly, I’ve try to develop simple app...
git with existing folder
To initialization the project with existing folder [php] git init git add . git commit -m 'message' git remote add origin git push -u origin master [/php] Git refusing to merge unrelated histories on rebase [php] git pull origin master --allow-unrelated-histories...
SQLite3 Database cheatsheet
For me SQLite can quickly mock-up a database project, it can be run within any program and with any programming language, it does not rely on any rational database management system, it can run directly from the terminal and it uses binary file to store data. First,...