Java: Prepare pem keys objects from strings Task: Prepare Personal, Public and Certificate keys from strings Implementation: Done. Continue reading “Java: Prepare pem keys objects from strings”…
Java: Find first file in the directory and return its name Task: Search files by mask and return first name Implementation: Done. Continue reading “Java: Find first file in the directory and return its name”…
How to execute SQLs in the docker Postgres db Task: Write script to execute SQL commands in the docker Prostgers DB Script: Import dump file: Done. Continue reading “How to execute SQLs in the docker Postgres db”…
How to Set all directories to 755 and all files to 644 Task: set different attributes for files and directories Solution: Done. Continue reading “How to Set all directories to 755 and all files to 644”…
Service to gather sports data Project duration: 2 years. Continue reading “Service to gather sports data”…
Python get wind speed and direction and display them on the clock Task: Get wind speed and direction and display them on my clock’s screen Implementation: Result you can see on this… Continue reading “Python get wind speed and direction and display them on the clock”…
Install Java on Raspberry Pi Task: Install Java on Raspberry Pi Implementation: Update system:sudo apt updatesudo apt upgradeInstall java:sudo apt install default-jdkCheck it working:java -version… Continue reading “Install Java on Raspberry Pi”…
Monitor periodically linux ordered processes Task: Monitor processes on the linux instance order by CPU usage Solution Use next command (displays top 15 rows): ps… Continue reading “Monitor periodically linux ordered processes”…
Linux check if server exists by IP and port Task: Check if server exists by IP and port in the Jenkins Job before connect to it by SSH in… Continue reading “Linux check if server exists by IP and port”…
AWS get list of ec2 ids by beanstalk environment name Task: Get list of EC2 instances Id(s) by beanstalk environment name Solution: envname=”wp-env” for ec2Id in $(aws elasticbeanstalk describe-environment-resources –environment-name… Continue reading “AWS get list of ec2 ids by beanstalk environment name”…
Linux: /dev/ttyUSB0: Permission denied Problem: Can’t connect to the Arduino device. Solution: Run next command(s) under root user: usermod -a -G dialout scalan usermod… Continue reading “Linux: /dev/ttyUSB0: Permission denied”…
Liquibase: Index.exists exception fix Task: Fix index exists precondition exception Solution: Instead of using index exists liquibase tag use sql to check index exists.… Continue reading “Liquibase: Index.exists exception fix”…