Tutorials  Articles  Notifications  Login  Signup


BookMyShow
Product Design Intern BookMyShow •1 week, 6 days ago
Accenture
New Associate-Business Process Design Accenture •1 week, 6 days ago
Amazon
Software Development Engineer - Campus Hire Amazon •2 weeks, 3 days ago

Sign in to Publish articles, apply into jobs, participate in Hackathons.

Sign in

RK

Rajan Kumar

Founder at HackersFriend May 9, 2022, 9:25 p.m. 31 views

Leaky Bucket algorithm for Rate limiting system design

Designing a rate limiting system for any API can be done in many ways. In this article I'll talk about …


RK

Rajan Kumar

Founder at HackersFriend Updated April 24, 2022, 6:09 p.m. 131 views

How to format date output in Linux bash script

To get current timestamp in bash you can use:

timestamp=$(date +%s)

This will give you seconds since UNIX epoch …



RK

Rajan Kumar

Founder at HackersFriend July 18, 2021, 12:59 p.m. 754 views

What is HTTP header X-Forwarded-Host ?

The HTTP X-Forwarded-Host header is the part of HTTP header that contains information for identifying the original host requested by the …


VK

Vikash Kale

Programmer and Software Engineer at Tata Consultancy Services Jan. 8, 2021, 7:55 p.m. 1628 views

Program Code - calculate the absolute difference between the sums of its diagonals.

Given a square matrix, calculate the absolute difference between the sums of its diagonals.

For example, the square matrix  is shown …


RK

Rajan Kumar

Founder at HackersFriend Dec. 19, 2020, 3:13 p.m. 2040 views

How to install Python libraries without using the pip command ?

To install any python library without pip command, we can download the package from pypi.org in and run it's …


HS

Harsh Shukla

Intern at Microsoft Sept. 3, 2020, 1:49 p.m. 710 views

Reverse words in a given string

Let's take a string s,  we want to reverse its words. For example - 

Sample input 1

Hello HackersFriend …

VS

Vishal Saxena

SDE 1 at Amazon Aug. 20, 2020, 11:23 a.m. 2201 views

How to take screenshot of a div using JavaScript ?

Using html2canvas library you can take screenshot of any html element from page. You can learn more about it from …


DG

Dhirendra Gupta

Student at BIT Mesra Aug. 15, 2020, 1:16 p.m. 604 views

Python Write File

We can use open() function to write into a file or create a new file.

open() function accepts 2 parameters …


RA

Ritu Aggrawal

Site reliability engineer at Uber Aug. 14, 2020, 11:46 a.m. 438 views

HTML How to assign an initial value to radio button as checked

To assign a values as checked to any radio button in html, we can use checked attribute.

<input type="radio …

HackerFriend Logo

Join the community of 1 Lakh+ Developers

Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.


Create a free account

View more
HackerFriend Logo

Join the community of 1 Lakh+ Developers

Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.


Create a free account

HackersFriend Updates




View more