Skip to content

Instantly share code, notes, and snippets.

View aa-ahmed-aa's full-sized avatar
:octocat:
High five

Ahmed Khaled MOhamed aa-ahmed-aa

:octocat:
High five
View GitHub Profile
@aa-ahmed-aa
aa-ahmed-aa / NGINX config
Last active January 16, 2024 17:36
These nginx config will serve `https://storkplus.com`, `https://auth-api.storkplus.com` and any subdomain of `storkplus.com`
# Storak Auth UI
server {
listen 80;
listen [::]:80;
server_name storkplus.com;
return 301 https://$host$request_uri;
}
server {
# include <iostream>
# include <string>
# include <fstream>
# include <vector>
# include <algorithm>
# include <exception>
# include <sstream>
using namespace std;
# include<iostream>
# include<string>
# include<cctype>
# include<string.h>
# include<cstring>
using namespace std;
struct node
{
char data[45];
# include <iostream>
# include <string>
# include <cstring>
# include <string.h>
# include <windows.h>
using namespace std;
struct node
{
# include <iostream>
# include <string>
# include <vector>
# include <algorithm>
using namespace std;
int min_size(vector<vector<int>> asd)
{
vector<int> a;
a.push_back(asd[0].size());
#include <iostream>
#include <queue>
using namespace std;
int main()
{
queue<int> List;
int var;
cout << "Please enter Int (enter 0 to end): "<<endl;
# include <iostream>
using namespace std;
struct node
{
int data;
node *next;
}*head;
void display(struct node *r)
//loop from the (begining) to the (size-1) index = c
{
//save the current index in position
//search for the greater element loop from (begining+1) to (size) index = d
{
//look for smaller element
//if the current element[d] is less than the element[position]
//change the saved index with the smaller element index (d)
}
#include <stdio.h>
int main()
{
int array[100], n, c, d, position, swap;
printf("Enter number of elements\n");
scanf("%d", &n);
# include <iostream>
# include <string>
# include <string.h>
# include <cstring>
# include <bitset>
using namespace std;
struct node
{
char data;