Open in app

Sign In

Write

Sign In

Kanan Rahimov
Kanan Rahimov

124 Followers

Home

About

Pinned

Archive Git repositories with Shell Script

Shell script to clone repositories at a specific branch, remove the .git folder, and have a clean, archived copy of the repository. — Git Repositories and Branch Names Recently, I needed to archive multiple Git repositories into a single Git repository. In addition, some of these archived repositories have multiple branches worth archiving. So, I needed to support a format like this: "git@github.com:KenanBek/dbui.git;main,dev" "git@github.com:KenanBek/django-skeleton.git;master"

Git

7 min read

Archive Git repositories with Shell Script
Archive Git repositories with Shell Script
Git

7 min read


Pinned

Golang HTML Tokenizer: extract text from a web page — Kanan Rahimov

Golang HTML Tokenizer: extract text from a web page One thing is to load the content of a web page, and another is to extract some valuable information from it. For the second one, sometimes, it is helpful and needed to get only the textual information. Because most of the time, it is the particular text that we are…

Go

5 min read

Golang HTML Tokenizer: extract text from a web page — Kanan Rahimov
Golang HTML Tokenizer: extract text from a web page — Kanan Rahimov
Go

5 min read


Apr 30

Mask Email Addresses with Custom React Component for Display Purposes

Overview In this tutorial, we will demonstrate how to create a custom React component that masks email addresses for display purposes. This component will hide part of the email’s username and domain to protect user privacy. We will start by building the component in JavaScript (JSX), then rewrite it in TypeScript…

React

2 min read

Mask Email Addresses with Custom React Component for Display Purposes
Mask Email Addresses with Custom React Component for Display Purposes
React

2 min read


Apr 16

Next.js and React Project Configuration: ESLint, Prettier, and Git Hooks

In this tutorial, I share an opinionated set of configurations for ESLint, pre-commit hooks, and styling and indentation configuration. Next.js Project Setup I have a Next.js project that I set up with TypeScript and ESLint. npx create-next-app@latest --typescript The npx create-next-app@latest --typescript command specifically sets up a new Next.js project with TypeScript. The…

Nextjs

5 min read

Next.js and React Project Configuration: ESLint, Prettier, and Git Hooks
Next.js and React Project Configuration: ESLint, Prettier, and Git Hooks
Nextjs

5 min read


Apr 10

Implementing a Timestamp-Based Rate Limiter for Next.js API Routes

Overview In this tutorial, we will learn how to implement a simple, timestamp-based rate limiter for Next.js API routes. Rate limiting is a technique that helps protect your API from excessive usage or abuse. By implementing rate limiting, you can control the number of requests a user can make within a…

Nextjs

3 min read

Implementing a Timestamp-Based Rate Limiter for Next.js API Routes
Implementing a Timestamp-Based Rate Limiter for Next.js API Routes
Nextjs

3 min read


Apr 8

Using Firebase and Firestore in a Next.js Application: A Step-by-Step Tutorial

Overview In this tutorial, we will walk you through the process of integrating Firebase and Firestore into a Next.js application. By the end of this article, you’ll be able to fetch and post data to Firestore from your Next.js app. We will cover the following steps: Installing and configuring Firebase using…

Nextjs

3 min read

Using Firebase and Firestore in a Next.js Application: A Step-by-Step Tutorial
Using Firebase and Firestore in a Next.js Application: A Step-by-Step Tutorial
Nextjs

3 min read


Jan 2

Using Spotless with Maven

Enforcing code style and formatting rules for a Java codebase with Maven and Spotless. — Spotless is a general-purpose formatting plugin and can be used to enforce code style and formatting rules in your Java projects. It is particularly useful for enforcing a consistent style across a team and for ensuring that your code meets certain standards of quality. In this post, we will look…

Maven

4 min read

Using Spotless with Maven in a Spring Boot Project
Using Spotless with Maven in a Spring Boot Project
Maven

4 min read


Jan 8, 2022

Organizing Table Tests in Go

Table tests are one of the approaches to how to organize multiple use-cases for a single test. In this tutorial, I want to share my approach on how I organize table tests and structs used for it. Standard Approach Most IDEs can generate table-driven tests automatically. For this only thing, you need…

Go

5 min read

Organizing Table Tests in Go
Organizing Table Tests in Go
Go

5 min read


Published in

Beat Engineering Blog

·Sep 7, 2021

From Python to Go. My journey at Beat.

Introduction Go is fast… Really fast, developer-friendly, and built-in concurrency and parallelism. Τhe growth in the maturity of Go, the strong user base, and the fact that more and more companies have decided to move to Go after successful benchmarking has been increasing more and more. At Beat, we write world-class…

Go

8 min read

From Python to Go. My journey at Beat.
From Python to Go. My journey at Beat.
Go

8 min read


Apr 4, 2021

How to make HTTP Get Request using Golang and Rust?

This code snippet is part of my local repository for demo and simple applications. I wanted to see a difference between Go and Rust code for the given task. There are many ways to implement a simple HTTP Get in each language. …

Go

2 min read

Go

2 min read

Kanan Rahimov

Kanan Rahimov

124 Followers

👋🏼 follow me on Twitter: twitter.com/KenanBekk

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Pinterest Engineering

    Pinterest Engineering

  • Palantir

    Palantir

  • Blake Lemoine

    Blake Lemoine

  • Akihiro Suda

    Akihiro Suda

See all (43)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams