Hi, I am Masso Dasuki!

Hello, I'm incharge here !
I am Software Engineer graduate of Universiti Teknologi Malaysia, Skudai Johor Bahru.
I want to share my little knowledge & Please enjoy .

 











































How to install Ubuntu 18 LTS at virtual machine

 














Using Netdata for Monitoring the Ubuntu resources

 Before this, I have used a Window container for docker and never face issues with code 139.

Then I changed to WSL (Windows Subsystem for Linux) container for the purpose to improve the performance. 




But by using WSL I can't start a certain image, the container keeps restarting. This restarting state makes it is impossible to see the container logs by using the command $ docker logs -f <container>

Hence instead of using $ docker-compose up -d I use $ docker-compose up so I can see the logs during the start.





sample


So somewhere I read this 139 related to system unable to access so location due to permission issues. Then to solve this issue at WSL by updating the .wslconfig by adding 
kernelCommandLine = vsyscall=emulate

    Step 1 : Create a file named .wslconfig in your user directory
    Ex:- C://users/[your user name]/.wslconfig

    Step 2 : Add following line to the .wslconfig file


kernelCommandLine = vsyscall=emulate



Docker exited with code 139 (Solved)

                                    

Install Python 


Download python here https://www.python.org/downloads/





After downloading find the application to install






Click on the application and install. Please tick the checkbox of "Add Python 3.10 to PATH".




Next open cmd or PowerShell then run $ python --version to make sure it has already been installed






Install Google-OR-Tools


Install the Google-OR-Tools as shown at their website at https://developers.google.com/optimization/install.

By using the Powershell run command $ python -m pip install --upgrade --user ortools







Google-OR-Tools installation complete 


Running Python program 


Then after installing the OR-Tools we can start the code. Furthermore, Google has given a sample script at https://developers.google.com/optimization/introduction/python that we can try.





Use any IDE that you like, for example, I use Sublime. Create a new file paste the script and save it as "program.py"





Next, find the file directory and open the File Explorer. Then by using the Shift + Right Click on Mouse inside the folder.

You will be able to open the PowerShell at the folder directory/location. Choose the "Open PowerShell window here" option.








Finally, run the script by using $ python program.py on the PowerShell.





















How to use Google-OR-Tools with Python ( Beginner Tutorial)





Failed to connect with another node due to genesis using old cached 

$ tendermint unsafe_reset_priv_validator

Bigchaindb

 


Download JMeter here --> https://jmeter.apache.org/download_jmeter.cgi




Extract the zip and find the application 




Choose File then click on Template




Choose Building Web Test Plan and click on "Create"


To increase users thread goto Scenario 1 and change the Number of Thread



Lastly, click on the Start button



View the result







[Windows] Tutorial of JMeter to Web Load Testing (Localhost)