Skip to content

Instantly share code, notes, and snippets.


Sefat Anam sefatanam

View GitHub Profile

Angular, AWS Amplify manage multiple enviornment

Hi, Today I going to discuss about how you can manage multiple environment in AWS Amplify & obiously diff based backend. What does diff based backend mean ? In simple way, Let say, You start developing a application in dev branch initially and you entried many dummy data and also have dummy user credential for test purpose, but now you want to deploy a fresh build into prestage mode this app, Now how you do that ? This is the agenda for today. Let's jump into it.

Technology that I am using : Angular, AWS Amplify

Initial Senario : I suppose you do it well in dev with the aws-amplify setup and rest of the things, like - Add GraphQL api, completing CURD, user Authentication using AWS Amplify auth components also dev deployment. Now you stuck into how you can build a fresh build into a fresh environment without the dev's branch dummy data.

If you are beginner I'm sure that you are frastrated that you can't get solution also after reading the docs. No worr

View Curtain.cshtml
@model Curtain
ViewData["Title"] = "DetailCurtain";
<div class="container p-3">
<div class="row pt-4">
<div class="col-6">
<h2 class="text-dark">Curtain Details</h2>
sefatanam / settings.json
Last active May 31, 2022
my vs code settings
View settings.json
"editor.smoothScrolling": true,
"workbench.startupEditor": "none",
"editor.renderWhitespace": "none",
"editor.cursorStyle": "line-thin",
"editor.fontSize": 15,
"editor.fontFamily": "Fira Code",
"editor.lineHeight": 34,
"editor.fontLigatures": true,
"explorer.decorations.badges": false,
View ramadan_ifter_sahri_time_bd.json
"DATE": "25 Mar 2022",
"SEHR": "04: 41 AM",
"IFTAR": "6: 12 PM"
"DATE": "26 Mar 2022",
"SEHR": "04: 40 AM",
"IFTAR": "6: 13 PM"
View How to build a Ionic app using Cordova in

How to build a Ionic app using Cordova in windows

Prequsites :

  1. Install Andorid studio, JDK (preferd version 1.8), gradle.


💡 Module Structure

The modular structure of Angular arranges the code into different modules so all services and components are divided into different groups when you construct them. In Angular coding, you can separate functionality into reusable pieces of code.

💡 Files and Folders

Naming conventions are hugely important to maintainability and readability and help to provide a consistent way to find the content at a glance. Consistency within the project is vital which help in tremendous efficiency.

💡 Let’s See How to Name Our Files and Classes

1. File Naming

While creating files, we should pay attention to the file names.

View Run Redis with
View BlobController_AzureTutorial
using System.IO;
using System;
using System.Threading.Tasks;
using azblob.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace azblob.Controllers
public class BlobFilesController : Controller
View BlobService_AzureTutorial
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
using Microsoft.AspNetCore.Http;
namespace azblob.Services
public class BlobService : IBlobService

Some of the Redis best practices content has moved

This content from this markdown file has moved a new, happier home where it can serve more people. Please check it out :

NOTE: Client specific guidance listed below is still valid and should still be considered. I will update this document once all content has been moved.