- Have an AWS Account
- Spin up an EC2 Instance of Ubuntu Server and Make sure that your instance's security groups allow incoming connections on TCP ports 22 and 3000
- Use an Elastic IP to bind your Instance to it --- You would not be paying for this -- Till the time the EC2 Instance is running
- Add the IP Allocated to your A Record --- with your registrar
- Have a SSH Connection to your EC2 Instance with the Key Pairs
- Connect to the EC2 Instance
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
| Landing Page | |
| Create Design -> Is Logged In For New Design? | |
| Login -> Login Page | |
| Create Account -> Create Account | |
| Is Logged In For New Design? | |
| yes? -> New Design | |
| no? -> Login Page | |
| Login Page |
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
| Quote Listing* | |
| New Quote -> New Quote Wizard | |
| Select Quote -> Estimation View Mode? | |
| Search -> Quote Listing | |
| Estimation View Mode? | |
| is accepted? -> Accepted Quote | |
| is created? -> Created Quote | |
| else -> Draft Quote |
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
| public void ProcessList(List<Input> inputs) | |
| { | |
| var errors = new List<Exception>(); | |
| foreach (var input in inputs) | |
| { | |
| try | |
| { | |
| Process(input); | |
| } | |
| catch (Exception ex) |
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
| /// <summary> | |
| /// Search for relativePath with respect to (w.r.t.) the current directory and if it doesn't exist, | |
| /// search w.r.t. the current parent directory, then the grandparent and so on until the path is found | |
| /// or the root it hit. Works for files or directories. | |
| /// </summary> | |
| /// <returns></returns> | |
| public static string FindRelativePathInAncestors(string relativePath, string startDirectory) | |
| { | |
| relativePath = relativePath.TrimStart(Path.DirectorySeparatorChar); | |
| int level = 0; |
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; | |
| using System.Diagnostics; | |
| using Newtonsoft.Json; | |
| using Shouldly; | |
| using Xunit; | |
| namespace json | |
| { | |
| public class UnitTest1 | |
| { |
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; | |
| using System.CodeDom; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Amazon; |
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.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Security.Cryptography; | |
| using Newtonsoft.Json; | |
| using Org.BouncyCastle.Crypto; | |
| using Org.BouncyCastle.Crypto.Parameters; | |
| using Org.BouncyCastle.OpenSsl; | |
| using Org.BouncyCastle.Security; |
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
| const f = (a: any[], b: any[]): any[] => | |
| [].concat(...a.map(a2 => b.map(b2 => [].concat(a2, b2)))); | |
| export const cartesianProduct = (a: any[], b: any[], ...c: any[]) => { | |
| if (!b || b.length === 0) { | |
| return a; | |
| } | |
| const [b2, ...c2] = c; | |
| const fab = f(a, b); | |
| return cartesianProduct(fab, b2, c2); |
NewerOlder