Skip to content

Instantly share code, notes, and snippets.

View mahendra0859's full-sized avatar

Mahendra A R mahendra0859

View GitHub Profile
@mahendra0859
mahendra0859 / aws.md
Last active December 18, 2020 12:32
AWS Management Console

AWS Management Console

Updating Environment Variables (.env) in ECS for backend

  • Elastic Container Service
    -> staging-cluster -> Tasks -> Task Defination -> Create new revision -> Configure via JSON

    Add JSOn in follwoning way

@mahendra0859
mahendra0859 / angular_deployment.md
Created June 5, 2020 06:14
Deploying Angular App

Methods to deploy angular app

Method 1: For static angular app

* make a small change in the angular.json file and change the outputpath value to “docs/”.

$ ng build --prod --base-href "<repo-name>"

$ git add . && git commit -m "commit" && git push
@mahendra0859
mahendra0859 / design-resources-for-developers.md
Created May 11, 2020 02:57
Design Resources For Developers

Design Resources For Developers

A curated list of FREE design & UI resources for developers including stock photos, templates, frameworks, UI Kits, online tools and much much more.

Please read contributing guidelines before submitting new resources.

Table of Contents

@mahendra0859
mahendra0859 / brython.html
Created April 23, 2020 12:50 — forked from bradtraversy/brython.html
Python in the browser with Brython
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.8.8/brython.js" integrity="sha256-rA89wPrTJJQFWJaZveKW8jpdmC3t5F9rRkPyBjz8G04=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.8.8/brython_stdlib.js" integrity="sha256-Gnrw9tIjrsXcZSCh/wos5Jrpn0bNVNFJuNJI9d71TDs=" crossorigin="anonymous"></script>
@mahendra0859
mahendra0859 / node_heroku.md
Created April 19, 2020 19:20
Deploying NodeJS app in Heroku

Deploying NodeJS app in Heroku

  • Create a new app in heroku dashboard

  • Download and install the Heroku CLI

$ heroku login
$ cd my-project/
$ git init
@mahendra0859
mahendra0859 / git_cdn.md
Created April 16, 2020 10:25
Content Delivery Network - serving static js and css files

Content Delivery Network - serving static js and css files

  • Open the file that need to serve as static
  • Click on the 'Raw' option
  • Copy the url from the brower tab
  • Open GitCDN or min GitCDN
  • Paste the URL and copy the CDN link generated by GitCDN and use for serving css or js files

JS CDN :

@mahendra0859
mahendra0859 / react_app_deployment.md
Last active February 8, 2021 19:20
Deploying React App

Methods to deploy react app

Method 1: For static react app

$ npm run build
$ mv ./build ./docs
$ git add . && git commit -m "commit" && git push

* In GitHub Pages for source select 'master branch /doc folder`