This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.AspNetCore.Identity; | |
| using Microsoft.AspNetCore.Identity.EntityFrameworkCore; | |
| using System.Linq; | |
| namespace My.App.Data | |
| { | |
| public class DbInitializer : IDbInitializer | |
| { | |
| private readonly ApplicationDbContext _context; | |
| private readonly UserManager<ApplicationUser> _userManager; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace BloomFilter | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| AddItem("test"); | |
| AddItem("test2"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Go to Bitbucket and create a new repository (its better to have an empty repo) | |
| git clone [email protected]:abc/myforkedrepo.git | |
| cd myforkedrepo | |
| Now add Github repo as a new remote in Bitbucket called "sync" | |
| git remote add sync [email protected]:def/originalrepo.git | |
| Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync" | |
| git remote -v |