• Skip to main navigation
  • Skip to main content
  • Skip to footer
  • Portfolio
    • Java
    • DevOps
    • Data mining
  • Online games
  • Posts
    • Author: QubeDron
    • Author: SnailDog
  • Experiments
  • Contacts
  • Skip to menu toggle button

ScAlAn

Scientific Algorithms and Analytics

Tag: bash (page 2)

Docker: How to copy file from container to local computer

Task: Copy some file from container to local computer Solution: docker cp <container>:<path><filename.ext> <localpath> Example: docker cp nginx:/var/log/mylog.log . Done.
Continue reading “Docker: How to copy file from container to local computer”…
Posted on: September 1, 2021 Last updated on: September 1, 2021 Comments: 0 Written by: Alex

How to play mp3 file from osX console

Task: Play mp3 file from osX console Implementation: Use internal player: afplay file.mp3 Useful parameter: -r <rate> – set playback…
Continue reading “How to play mp3 file from osX console”…
Posted on: June 2, 2021 Last updated on: June 2, 2021 Comments: 0 Written by: Alex

Howto monitor AWS EC2 instance status in bash script

Task: Monitor instance status in bash script Implementation: #!/bin/bash instanceID=i-… # your instance ID # Get instance status… instanceStatus=$(aws ec2…
Continue reading “Howto monitor AWS EC2 instance status in bash script”…
Posted on: January 18, 2021 Last updated on: December 24, 2020 Comments: 0 Written by: Alex

Howto get list of directories and their size in Linux

Task: Get lust of directories and their size Solution: du -sh * With hidden directories: sudo du -sh $(ls -A)…
Continue reading “Howto get list of directories and their size in Linux”…
Posted on: December 19, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Howto wait beanstalk environment to be ready

Task: Implement loop to wait till AWS BeansTalk environment will be ready Implementation: #!/bin/bash echo ‘Waiting…’ status=” iterations=0 maxiterations=20 while…
Continue reading “Howto wait beanstalk environment to be ready”…
Posted on: December 19, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Script to prepare iPod audiobook on ubuntu from mp3 files

Task: create iPod audiobooks on linux (Ubuntu) with tempo = 1.5 Solution: Run this script in the directory with mp3…
Continue reading “Script to prepare iPod audiobook on ubuntu from mp3 files”…
Posted on: December 5, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Howto Jenkins+Jmeter HTML reports

Task: Fix display JMeter reports on the resource page Fix: Modify /etc/default/jenkins file to: … # Allow graphs etc. to…
Continue reading “Howto Jenkins+Jmeter HTML reports”…
Posted on: November 22, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Howto setup nginx+Jenkins+SSL+SSH on EC2 ubuntu

Task: Setup Jenkins on EC2 Ubuntu Implementation steps: Update Ubuntu and install nginx: sudo apt updatesudo apt upgradesudo apt install…
Continue reading “Howto setup nginx+Jenkins+SSL+SSH on EC2 ubuntu”…
Posted on: November 17, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Howto check site working in the Jenkins pipeline

Task: Check site working (response code = 200) in the Jenkins pipeline step Implementation sh script: url=’https://scalan.com’ attempts=5 timeout=10 online=false…
Continue reading “Howto check site working in the Jenkins pipeline”…
Posted on: November 10, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

How to clone git repository without enter login and password from keyboard

Task: clone git repository in bash script without enter login and password Implementation: Use next format: git clone http://<login>:<password>@server.com/repository.git Another…
Continue reading “How to clone git repository without enter login and password from keyboard”…
Posted on: November 6, 2020 Last updated on: December 23, 2020 Comments: 3 Written by: Alex

How to update Jenkins CI/CD

Task: update early installed jenkins ci/cd Implementation steps: Open jenkins home URL and check job’s working. Done.
Continue reading “How to update Jenkins CI/CD”…
Posted on: November 2, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex

Output HTML page into the image

Task: display html page by link to some pngimage. Solution: One of ways is use google-crome browser: google-chrome –headless –screenshot…
Continue reading “Output HTML page into the image”…
Posted on: October 18, 2020 Last updated on: December 23, 2020 Comments: 0 Written by: Alex
« Previous page 1 2 3 Next page »

Recent Posts

  • Alternative js log from devices without access to console
  • Configure .htaccess file for React app located in the subdirectory
  • Write jUnit test to check service with json files
  • Setup FTP server on Paspberry PI
  • Add autoformat java sources into your maven project
  • Add autoformat java sources into your gradle project
  • Create Accordion on html and js
  • Adding and removing users version 2.0
  • Adding and removing user
  • Java Script summer
  • Java Script summer weekend day № 1: Finding the largest word
  • Freecad: fasteners for curtains in the bathroom
  • Java Script Array modification and output

What’s ScAlAn?

Main activity of our co-working team is service to develop and support IT solutions.

Can we help?

We can offer professional development and support for your business.

You have an idea?
You want to make some improvement?
You want to implement?

Contacts

Email: info@scalan.com
Phone: +38 (067) 573-24-19
© 2025 ScAlAn | Using Modern WordPress theme. | Back to top ↑