To install Rust, copy and paste this to your terminal curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
After running this command, you need to add Rust env to your $HOME using :
source "$HOME/.cargo/env"
To install Rust, copy and paste this to your terminal curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
After running this command, you need to add Rust env to your $HOME using :
source "$HOME/.cargo/env"
const sendTokenWithTermii = async (message) => { | |
const data = { | |
"api_key" : Config.termiiToken, | |
"message_type" : "NUMERIC", | |
"to" : "+2348140850141", | |
"from" : "Bigjara", | |
"channel" : "dnd", | |
"pin_attempts" : 10, | |
"pin_time_to_live" : 5, | |
"pin_length" : 4, |
A hypothetical community is facing issues with food scarcity .
In a given day, people within the community will be complaining about lack of food because available food is depleted quickly
Another reason for this issue is absence of planning .
The community managers do not know the total number of people in the community.
#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"] |
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. |
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.