Intro to C#
In this article, we are going to explore c#, an OOP language, in order to showcase and understand OOP concepts.
C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft within its .NET initiative led by Anders Hejlsberg. C# is a modern, general-purpose, object-oriented programming language developed by Microsoft and approved by the European Computer Manufacturers Association (ECMA) and International Standards Organization (ISO). C# is based on object-oriented programming concepts.
Want to read this story later? Save it in Journal.
The following reasons make C# a widely used professional language:
I recently worked on a fun project and we have different hardware and servers set up locally. I set up a door monitor system that would keep track of every entrance and exist in the room for security purpose.
Even though there are several door monitor devices, services, and gadget out there that I could have bought online, I decided to use my electronic and programming background to built one from scratch with a Raspberry Pi.
So, I’m going to share some of the problems I ran into and how I fixed them while building a fully functional door monitor…
Algorithm’s Time Complexity
Let’s start with a short popular fun story:
I’m originally from the D.R.Congo, in Central Africa and we have a very low internet speed. For illustration, opening a Gmail might take about 2 to 3 min of loading time (sometimes the whole process might just failed and time out).
In 2009, a company in South Africa had a similar issue: “really slow internet speed”. …
Virtual Machine vs Container
Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.
We are going to demo how to setup Github Actions in your Angular project to build and deploy your app to Firebase.
for the purspose of this demo, I assume that your angular project repo is on Github and was built with firebase.
Back in 2018, a new feature was introduced into Github, called Github Actions. It allows GitHub users to automate their project workflow. Github takes care of a number of processes that can be triggered by a variety of events on the platform such as (but not only):
Intro to Terraform & Infrastructure as Code
One of the mottos I live by is Albert Einstein says that goes like this: “If you can’t explain something simply, you probably don’t understand it well enough”.
Every now and then there is the introduction of new concepts, methods, or ways of doing this that revolutionized the IT industry and push it a needle forward. These words pretty much sum it up: Version control, Agile, CI/CD, DevOps, Site Reliability Engineering, Cloud Computing, Virtualization, containerization, Orchestration, Infrastructure as Code, etc.
Now, with these new concepts, methods, and ways of doing things — come…
Intro to Infrastructure as Code | AWS Automation | Python 3
If you frequently set up environments AWS and resources that need to be up and down on demand and wish you had some way to automate that process. Basically, bring up those AWS resources like EC2 instances, DBs, etc; and tear them down when you don’t need them; this blog post is something that might be for you.
For the purpose of this article, I’m assuming that you’re familiar with the AWS platform and its services. As well as coding with Python.
But let’s just do a short review…
Intro to source code management With GitLab
Well now that we have our CentOS 8.2 template set up and ready. Let’s go ahead a create VM to host our GitLab source code management by cloning the template VM:
Things to double-check:
* Adapter 1 is set to NAT
* Adapter 2 is set to Host-only Adapter: vboxnet1
After powering on the Gitlab VM, we need to do all the network configuration for internet access and set the Static IP address on the second Adapter.
To do so, turn off both adapters on the VM and verify the IP address allocation:
Intro to source code management With GitLab
GitLab is a web-based DevOps lifecycle tool that provides a Git-repository manager providing wiki, issue-tracking, and continuous integration and deployment pipeline features, using an open-source license, developed by GitLab Inc.
Why is GitLab used for?
GitLab is a single application for the entire DevOps lifecycle that allows teams to work together better and bring more value to your customers, faster. GitLab does this by shortening your DevOps cycle time, bridging silos and stages, and taking work out of your hands.
Similar to GitHub, GitLab is a repository manager that lets teams collaborate on…
The golden rule of debugging: Don’t think; Look! Don’t assume; Validate!
Much more like most things in life, when It comes to code debugging; “Assumption is the mother of all fuckups.” I learned this early on from Chris Shellenbarger and it helped me catch really dumb mistakes I made when I was a junior software engineer.
There are several different kinds of errors that can occur when writing code or in programming; mainly, all those errors fall into these 3 categories:
Syntax errors are mistakes in the source code, such as misspelling an instruction…
Writer — Model — Soccer Player— Software Engineer "Learning is experience; everything else is just information!"