Git and GitHub SSH Configuration

Installing git Install git from here Choose a selection based on your operating system. For Linux and Ubuntu OS, you may use this alternative: Open your terminal and paste the command below: sudo apt-get install git Ensure you have a GitHub account. If not, create one here Join GitHub. First of all, we’ll configure your details to git. “Assuming your GitHub username is DevAcc, and the email used on GitHub is [email protected]” On your terminal, use the following commands: ...

June 9, 2024 · 2 min · Chris Achinga

GitHub Students Developer Pack

Access the best real-world tools, learning events, and training to shape the next generation of software development, using student benefits from GitHub Education GitHub Education helps students, teachers, and schools access the tools and events they need to shape the next generation of software development. %[https://education.github.com/] Well as a student whose goal/dreams or maybe ambitions are to prosper in the developer zone, GitHub Education offers the bridge to your success using the GitHub Student Developer Pack. Really cool tools available for free of course. ...

June 9, 2024 · 6 min · Chris Achinga

Building a Weather and Time Telegram Bot using Node.js

Telegram bots are automated applications that run inside Telegram. Users can interact with bots by sending messages, commands, and inline requests. Today, we’ll walk you through how to build a simple Telegram bot using Node.js that provides weather and time information for any city. Prerequisites Before we start, make sure you have the following: Node.js and npm are installed on your machine. A Telegram account to create and manage bots. An API key from OpenWeatherMap. Setting Up Your Project Firstly, install the required Node.js packages: dotenv, node-telegram-bot-api, axios, and moment-timezone. ...

May 15, 2023 · 4 min · Chris Achinga

Building a GraphQL API with NodeJS: A Step-by-Step Guide

GraphQL is a powerful query language for APIs that allows developers to request and receive the data they need efficiently. In this step-by-step guide, we will walk you through the process of building a GraphQL API using Node.js, using airport data as a sample for the demo. Whether you’re a beginner or an experienced developer, this tutorial will provide you with the necessary knowledge to easily create your GraphQL API. ...

March 6, 2023 · 3 min · Chris Achinga

Developer Communities In Kenya

2022 has seen growth in Developer communities and Tech events in Kenya. There are now many communities that developers can benefit from just by being a part of. This article will list some of them and how to join the communities. Only Devs Only Devs is a developer Community from Mombasa. It started from a Payment Integration Hackathon, and they have been active ever since. They have weekly sessions on Fridays at Techbridge Invest, where they share skills and knowledge and hold hands-on code sessions. ...

January 12, 2023 · 2 min · Chris Achinga

Using JavaScript in JupyterLab

TL;DR This post will take you through installing JupyterLabs and how to add a NodeJS kernel to it in Ubuntu. Installing JupyterLabs For a better experience, you should install Jupyter Lab inside a virtual environment. sudo apt install python3-venv After the installation is complete, create a new environment: python3 -m venv jlab Note that you can replace the jlab with any name of your choice. Now activate the environment: ...

August 20, 2022 · 1 min · Chris Achinga

State Management in React

A state is the current data passed in React components. State management in React enables you to dynamically update data in Components. This post will take you through creating an initial state and an event to trigger a state update in Reactjs. Prerequisites: NodeJS Installed Knowledge of React Source Code and Demo GitHub Repo Link Creating A New React App: # create a new react app npx create-react-app state-management-demo # move into the new app's directory cd state management-demo # start the app to see if everything is okay npm start For the Demo, clean the App.js to have the following: ...

July 9, 2022 · 2 min · Chris Achinga

How to set up Rust and NEAR for Blockchain/Web3 Development

Near protocol is a decentralized application platform that gives developer-friendly features to build and develop smart contracts. Near offers the platform to build smart contracts in Rust and deploy them. By default, Near supports Rust and AssemblyScript. Rust is recommended for its greater developer experience when it comes to memory allocation and a minimal runtime, among other great reasons. Installing Rust (Ubuntu/Linux) To install Rust, follow the steps below: Install Curl If you don’t have curl installed, use the scripts below: ...

June 8, 2022 · 2 min · Chris Achinga

How To Create A Layout Component: React

When creating a react application/website, most of the pages would be sharing the same content all over. For example the navigation bar and page footer. Instead of importing each component in every page to be rendered, it is much easier and faster to just create a layout component. This post will cover how to create a react app using Layout Components. Live demo: https://hjpx0v.csb.app/ Source Code to the demo: https://github.com/achingachris/react-layout-demo Here is how to do it: ...

May 29, 2022 · 2 min · Chris Achinga

How To Create a Payment Form on WordPress using Flutterwave

Making payments online should be seamless and less frustrating. I conquered my fear and tested out Flutterwave and I was really impressed. Here is how to create a simple payment form using Flutterwave and WordPress. What you’ll need Xampp WordPress Flutterwave Account (Test Mode/Live) To get started with WordPress in your local development environment, here is a step by step guide: How To Install WordPress in Windows Creating Flutterwave Account Create a flutterwave account. Go to settings, and under the API tab, you’ll get your API keys. ...

February 13, 2022 · 2 min · Chris Achinga

How To Install WordPress in Windows

WordPress is a popular, open-source content management system (CMS) allowing users to create, edit, and manage websites and blogs quickly. WordPress is known for its user-friendly interface, extensive customization options, and vast plugins and themes, enabling users to add functionality and design elements to their websites without needing extensive coding knowledge. The platform is used for various websites, including personal blogs, business websites, e-commerce sites, online portfolios, and more. There are two main versions of WordPress: ...

February 8, 2022 · 3 min · Chris Achinga

Reading Data From Files Using Python

Hi There! Welcome to Data 101. In this article, I will take you through reading files using Python as you prepare to analyze them. I will be using Google’s Colaboratory tool as my IDE. You don’t have to install or set up anything on your laptop/computer to use it, simply go to https://research.google.com/colaboratory/ and create a new notebook. Reading CSV Files You’ll need to upload a data file. To do so, click on the folder icon on the far left of the Notebook: ...

October 5, 2021 · 2 min · Chris Achinga

GitHub REST API

Most of us use GitHub services frequently if not on a daily basis. If you are a student, GitHub offers student packages with great tools and freebies you could use. Check my article on Github’s Developer Pack for students. In this article, I will take you through using GitHub REST API to display your repos on your portfolio website. I will use postman to test the API. GitHub REST API Documentation. Playing With The API I’ll use postman to show you what the API can offer for your own personal use. For this, I’ll be using the endpoint to fetch a user’s repositories. ...

July 15, 2021 · 3 min · Chris Achinga

C#(Dotnet) Setup in Ubuntu with VSCode

C# is a general-purpose, multi-paradigm programming language encompassing static typing, strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented, and component-oriented programming disciplines. In this article, I will take you through installing and setting up C#(c-sharp) environment on a Ubuntu OS(Operating System). Requirements: Ubuntu OS (20.0 and above) Internet Connection (For Installation) Command Line Skills (for the obvious LOL) Visual Studio Code Note that .NET is a C# library Installing .NET (Csharp) Start your terminal on Ubuntu; ...

June 18, 2021 · 2 min · Chris Achinga

Using Markdown In Hashnode: Beginners Guide

@Hashnode is by far my best Developer blogging platform. One of the things making me love it is the use of markdown in writing and editing articles. If you just created a @Hashnode blog or thinking of creating one, then this is the best article for you. In few words, I will demonstrate how you can use markdown to create your articles. Join Hashnode Markdown, what is it? 👀 Markdown is a very simple mark-up language using plain text. (very simple 😁😁) ...

June 11, 2021 · 3 min · Chris Achinga