Skip to content

Instantly share code, notes, and snippets.

View Muaath5's full-sized avatar
🎯
Focusing

Muaath Alqarni Muaath5

🎯
Focusing
View GitHub Profile
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active October 14, 2024 23:07
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@WindAzure
WindAzure / Xiangqi.cpp
Last active January 23, 2022 14:08
UVa 1589
#include <algorithm>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
enum ChessBoardState
{
Free,
@nicolasdao
nicolasdao / open_source_licenses.md
Last active October 14, 2024 14:37
What you need to know to choose an open source license.
@kartikkukreja
kartikkukreja / Segment tree template.cpp
Last active December 13, 2022 12:02
Segment tree template
// T is the type of input array elements
// V is the type of required aggregate statistic
template<class T, class V>
class SegmentTree {
SegmentTreeNode* nodes;
int N;
public:
SegmentTree(T arr[], int N) {
this->N = N;