Skip to content

Instantly share code, notes, and snippets.

View jinnatul's full-sized avatar
:octocat:
Relationship with API

Md Zinnatul Islam Morol jinnatul

:octocat:
Relationship with API
View GitHub Profile
@jinnatul
jinnatul / amplify.yml
Created June 19, 2025 15:36
Deploy multiple branches in AWS Amplify using different build commands.
version: 1
frontend:
phases:
preBuild:
commands:
- npm install
build:
commands:
- if [ "${AWS_BRANCH}" = "main" ]; then npm run build:prod; fi
- if [ "${AWS_BRANCH}" = "develop" ]; then npm run build:dev; fi
@jinnatul
jinnatul / api.md
Last active November 5, 2024 14:07

API Reference

Google Log In

Redirect /api/v1/auth/google

For Google login, you need to set your FrontEnd URL in the .env.development or .env.production file under the key FRONT_END.

#include<bits/stdc++.h>
using namespace std;
/*** Typedef ***/
typedef long long ll;
typedef unsigned long long ull;
/*** Input Output ***/
#define sci1(a) scanf("%d",&a)
#include<bits/stdc++.h>
using namespace std;
/*** Optimization ***/
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")
/*** Typedef ***/
#include<bits/stdc++.h>
using namespace std;
/*** Optimization ***/
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")
/*** Typedef ***/
#include<bits/stdc++.h>
using namespace std;
/*** Optimization ***/
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")
/*** Typedef ***/
#include<bits/stdc++.h>
using namespace std;
/*** Optimization ***/
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")
/*** Typedef ***/
#include<bits/stdc++.h>
using namespace std;
/*** Optimization ***/
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")
/*** Typedef ***/
#include<bits/stdc++.h>
using namespace std;
/*** Optimization ***/
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")
/*** Typedef ***/
#include<bits/stdc++.h>
using namespace std;
/*** Optimization ***/
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")
/*** Typedef ***/