Simple maze game Task: Learn game development process with my younger son and write simple maze game. Implementation: Link: to play game. Continue reading “Simple maze game”…
How to disable run multiple cron jobs on different EC2 instances Task: Disable run multiple cron jobs on different EC2 instances with common EFS directory Implementation Run bash script as a… Continue reading “How to disable run multiple cron jobs on different EC2 instances”…
Yii get user’s attributes Task: get password from user Object: app\models\User#1( => null => null => null … => [… Continue reading “Yii get user’s attributes”…
Amazon Linux + Apache + phpFPM Task: Prepare environment with Apache and phpFPM Implementation: install apache: yum install httpd install php-fpm: yum install php-fpm add autostart:… Continue reading “Amazon Linux + Apache + phpFPM”…
Arduboy sound example Task: Play simple sound on the Arduboy device: Implementation: Done. Continue reading “Arduboy sound example”…
CLI RPN Calculator Task: Implement a command-line reverse polish notation (RPN) calculator using a language that you know well. Language: Java Java command… Continue reading “CLI RPN Calculator”…
How to make dump of Elasticsearch index Task: Create dump of index in JSON format Steps: install npminstall elasticdump tools:npm install elastic dump -gcommand to make a… Continue reading “How to make dump of Elasticsearch index”…
Arduino fast sin function Task: Create fast function to get math sinus. One of implementation – create array for each degree values: float sin… Continue reading “Arduino fast sin function”…
HowTo tar with process symlink directory files Task: compress directory with all symlink files. Use command: # tar -cvhf backup.tar /backupdirectory Result – tar.gz file with all… Continue reading “HowTo tar with process symlink directory files”…
Configure WP HyperDB plugin Task: Add and configure HyperDB plugin to work with master and slave MySQL databases. Implementation:Configure MySQL master and slave from… Continue reading “Configure WP HyperDB plugin”…
Docker: Setup MySQL master-slave Task: create docker-compose environment to run MySQL master and slave servers. Implementation: docker-compose.yml file: version: ‘2’ services: mysqldb-master: image: mysql:5.7… Continue reading “Docker: Setup MySQL master-slave”…
Setup nginx+php7.2fpm Ubuntu 18.04 Install NGINX # Install software-properties-common package to give us add-apt-repository package sudo apt-get install -y software-properties-common # Install latest nginx… Continue reading “Setup nginx+php7.2fpm Ubuntu 18.04”…