Category: Uncategorized
-
Go by Example: Rate Limiting
Rate limiting is a technique for controlling the rate at which events occur in a system. In Go, it can be used to control the rate at which network requests are made, or the rate at which a function is called. Here’s an example of rate limiting using a time.Ticker: In this example, there are […]
-
Solve bits stdc-h file not found in macOS
Sometimes we run the c++ code in vs code (visual studio code) in macOS or Windows but show the message. Stdc++.h lib that includes all libs in c++ bits/stdc++.h’ file not found or fatal error: ‘bits/stdc++.h’ file not found or sometimes #include bits/stdc++.h error We can follow the steps to fix it : MacOs Step […]