Skip to content

Instantly share code, notes, and snippets.

View jenish-jadav's full-sized avatar

Jenish Jadav jenish-jadav

View GitHub Profile
#!/bin/bash
# Script to install nginx, configure domain, and enable HTTPS with certbot
# Usage: sudo ./setup-nginx-ssl.sh
set -e # Exit on error
# Color codes for output
@jenish-jadav
jenish-jadav / FileUpload.js
Created October 4, 2020 04:53 — forked from nyx-code/FileUpload.js
This NodeJS API which will upload files onto the AWS S3 Bucket.
require('dotenv/config')
const express = require('express')
const multer = require('multer')
const AWS = require('aws-sdk')
const uuid = require('uuid/v4')
const app = express()
const port = 3000
@jenish-jadav
jenish-jadav / bitbucket-pipelines.yml
Created September 22, 2020 05:36
React Native Bitbucket Pipeline for Android
image: node:10.15.3
pipelines:
default:
- step:
image: node:10.15.3
caches:
- node
- gradle
script:
@jenish-jadav
jenish-jadav / hex-color-percentage
Created September 18, 2020 06:45
Color hexcode with percentage
100% — FF
95% — F2
90% — E6
85% — D9
80% — CC
75% — BF
70% — B3
65% — A6
60% — 99
55% — 8C