Skip to content

Instantly share code, notes, and snippets.

View IShubhamj's full-sized avatar
🏠
Working from home

Shubham Joshi IShubhamj

🏠
Working from home
View GitHub Profile
@IShubhamj
IShubhamj / business_home.ts
Last active November 29, 2020 16:17
business home gist
import * as readline from "readline";
const readLine = readline.createInterface({
input: process.stdin,
output: process.stdout,
});
class BusinessHome {
totalChances: number = 10;
totalPlayers: number = 0;
@IShubhamj
IShubhamj / nginx-config
Last active February 25, 2021 09:45
Nginx reverse proxy configuration
map $sent_http_content_type $expires {
default off;
text/html epoch; #means no cache, as it is not a static page
text/css max;
application/javascript max;
application/woff2 max;
}
server {
listen 80 default_server;