Category: Programming

MAC OSX
Alex

AlexTechTips – Software List

AlexTechTips Software List Terminal Tools iTerm2 iTerm2 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 List process in the command line: $ ps

Read More »
container
Design
Alex

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 EXPOSE 80 EXPOSE 443 run $ docker build -t ssl_wordpress:1.0 . 2. Create the folder structure 3.

Read More »
docker gui kitematic
Docker
Alex

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 images on the docker store and download it into your local repo then create

Read More »
docker
Commands
Alex

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 locally, connect to database and render out data to a

Read More »
Commands
Alex

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 [/php] Python .gitignore file [php] # Virtualenv .Python [Bb]in [Ii]nclude [Ll]ib [Ll]ib64 [Ll]ocal [Ss]cripts

Read More »
Commands
Alex

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, to install sqlite3 using brew [php]brew install sqlite3[/php]

Read More »
Scroll to Top