Skip to content

Instantly share code, notes, and snippets.

View adhamankar's full-sized avatar

Abhijeet adhamankar

View GitHub Profile
@adhamankar
adhamankar / ApplicationService.cs
Last active February 19, 2020 09:21
Notification framework
private void NotifyWelcomeToTheHub(User user)
{
var notificationDto = new AppNotificationDto
{
User = user.ProjectedAs<IdTitle>(),
InviteeEmail = user.Email,
SenderEmail = user.Email,
Title = string.Format("Welcome to the Hub"),
Template = "<<template>>.xsl",
Type = NotificationTypes.<<Type>>
  • mkdir my-typescript-package && cd my-typescript-package
  • Create a git repository
    git init  
    echo "# My typescript package" >> README.md 
    git add . && git commit -m "Initial commit" 
    git remote add origin < Git Repository Url >
    git push -u origin master
  • Init your Package (to generate package.json)