What is ‘Neutron’?
Neutron is the networking component of OpenStack. It’s the component responsible for managing your cloud networking resources and provide network devices connectivity.
It manages resources such as networks, routers, subnets, and ports and allows users to develop and implement plugins to makes use of various networking devices and technologies.
Continue reading “OpenStack Neutron 101”
This first post will cover the basics of how to connect Jenkins with Github and how to configure both to auto trigger a build upon a pull request (PR) and post back results to GitHub.
While we chose Jenkins and Github, all of the concepts you are going to read here are quite similar between the different tools (bitbucket, TeamCity, GitLab, etc), we only chose Jenkins as it is still being used by most users out there.
Let’s jump right in! Continue reading “Jenkins: building a CI/CD system – part1”
Describe each of the following components in Ansible, including the relationship between them:
Continue reading “20 Ansible Interview Questions”
In this post, you’ll find a collection of basic exercises for you to practice ‘Algorithms’ which is a fundamental topic in Computer Science. Each exercise includes a solution but for the absolute beginners, I recommend to try and solve the questions by yourself, without peeking at the solution. This is the best way to master algorithms over time. Enjoy!
Index equal to value
Given a sorted array T of integers, write an algorithm (using pseudocode) that searches for T[i] = i
In case of success, it will return the value of i, otherwise, it will return -1.
Continue reading “Algorithms: Basic Exercises – Part 1”
You generated a table using jQuery Datatable without loading the page, using Ajax. You wish to change the HTML of cells in a certain column after the data is processed. How to do it?
For the sake of this example, we’ll say we want to switch the data in the first column of the table into a hyperlink.
Continue reading “jQuery Datatable Ajax: Change cell’s HTML after data is processed”
In this post we’ll see how to work with Jinja2 in your Python projects, to easily create and modify templates.
Jinja2 is widely used and you probably already noticed it if you used projects such as Flask and Ansible or even if you simply searched for a robust templating engine.I can describe its greatness for a couple of minutes if not hours, but the
I can describe its greatness for a couple of minutes if not hours, but the official doc does it much better, so I recommend to go over them to get an idea on what you can achieve by using it. This post is mainly for those who are looking for a quickstart guide.
Continue reading “Python: Working with Jinja2 templates”
We have the following table which is populated with data, using Ajax
Now, let’s say you want to color the table rows, based on the second column status after, the table is already filled with data:
- UNSTABLE -> Yellow
- SUCCESS -> Green
- Failure -> Red
Continue reading “Ajax Datatable: changing row color based on the data”