Skip to content

Instantly share code, notes, and snippets.

View adeisbright's full-sized avatar

Adeleke Bright adeisbright

View GitHub Profile
@adeisbright
adeisbright / Virtual Environment in Python
Last active October 5, 2023 09:13
Setting up virtual environments in Python
When building applications using any programming language, we sometimes use codes provided by the programming community.
In Python, without an isolated environment newer version of a particular package will replace older ones and this will in turn
lead to breaking changes for the project that depends on the older package.
To handle this problem, Python provides us a tool(venv) to create an isolated environment for our project dependencies.
When we install a package, we do not want it to be installed on the global path for site packages; we want that package to be
isolated and constrained to the application that needs it.
#The instructions in this file will be used by docker to build an image
FROM node:16-alpine
RUN echo 'I am testing out working with dockerfile'
WORKDIR /app
COPY package*.json ./
COPY . .
RUN npm install
EXPOSE 3800
CMD ["node" , "dist/src/index.js"]
@adeisbright
adeisbright / Flask-lessons.md
Last active April 3, 2022 20:06
Learning Flask
@adeisbright
adeisbright / server-side.md
Created March 13, 2022 04:49
Server Side Programming

Programming Servers

I know the term "server" is popular.

Some of us write programs that are termed "Server Side Programs"

Writing server side codes in any language follows the same guideline that I will outline here

@adeisbright
adeisbright / beginner-python.md
Last active March 12, 2022 19:24
Get started with the basics of python
@adeisbright
adeisbright / html-lessons.md
Last active March 8, 2022 13:44
Explanatory videos on HTML

This gist contains the following lessons :

Lesson 1 : Welcome and Familiarization

This lesson is a 9 minutes video that shows you what and how the resource for learning is composed.

It also focuses on what we will be learning in the front end program.

The lesson link

@adeisbright
adeisbright / react-todolist-project.md
Created February 21, 2022 06:57
Creating a task manager

React Todolist Project

This project is a task management project that covers essential react features such as:

  1. State Management
  2. Uncontrolled Component
  3. Component Life Cycle
  4. Routing
  5. etc

The Lessons should be followed as presented below:

@adeisbright
adeisbright / rabbitmq-beginner.md
Last active February 1, 2022 16:15
Integrate RabbitMQ into your application faster and easily

RabbitMQ is a message queueing system also know as a message broker. It is a queue that applications can connect in order to to transfer a message or messages or consume from it. RabbitMQ is a queuing system that is mostly used for building event driven systems. In this Gist, I will share some snippets of code and idea on how to go about MQ assuming you are just getting started.

Table of Contents

  1. Understanding RabbitMQ
  2. Downloading and Installing RabbitMQ
  3. Understanding our project
  4. User Service
@adeisbright
adeisbright / bigjara-devops.md
Last active December 15, 2021 07:27
A DevOps primer

DevOps is a software delivery philososhpy that increases a teams capabiltity to produce results at high frequency. It is a combination of two words : "Development" and "Operations" which is a term that describes the operation of a team collaborating throughout a software production process.

In this DevOps training , we will focus on :

  1. How to change our software delivery process
  2. Using DevOps tools
  3. Testing Softwares
  4. Monitoring and Logging
@adeisbright
adeisbright / bigjara-css.md
Last active October 16, 2021 07:37
Get Started with CSS