Skip to content

Instantly share code, notes, and snippets.

View sneakybugmaster's full-sized avatar
🇻🇳

Thinh Ha sneakybugmaster

🇻🇳
View GitHub Profile
@sneakybugmaster
sneakybugmaster / ubuntu-nextjs-nginx-config-file
Created January 31, 2023 14:38 — forked from oelbaga/01 - Setup Nextjs site on Ubuntu Server - Terminal commands
Setup NextJS app on Digital Ocean Ubuntu server Full Terminal Commands Step by Step
#nginx config file for Nextjs App
#place in /etc/nginx/sites-available/name_of_config_file
server {
listen 80;
server_name domainname.com;
gzip on;
gzip_proxied any;
gzip_types application/javascript application/x-javascript text/css text/javascript;
gzip_comp_level 5;
@sneakybugmaster
sneakybugmaster / bits-stdc++.h
Created June 25, 2022 09:00 — forked from Einstrasse/bits-stdc++.h
bits/stdc++.h header file
// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.