- Source: InfoQ
Micro frontends are intended to bring the same benefits of microservices to the UI layer. By breaking up a complex system into smaller, more manageable pieces,teams can rapidly develop and release new features and functionality.
| <html> | |
| <head> | |
| <!-- <title></title> --> | |
| <!-- <script src=""></script> --> | |
| <!-- <style></style> --> | |
| <!-- <link rel="stylesheet" type="text/css" href=""> --> | |
| </head> | |
| <body> |
| void Logit(int step, object ob, string location) | |
| { | |
| if (string.IsNullOrWhiteSpace(location)) | |
| location = $"Debug Session {DateTime.Now.Date.ToString("yyyyMMdd")}"; | |
| Log.Fatal($"{location}: {step}, {Newtonsoft.Json.JsonConvert.SerializeObject(ob)}"); | |
| } |
// throws System.FormatException
var number = int.Parse(" 1,000 ");
// parses into 1000
var number = int.Parse(" 1,000 ", System.Globalization.NumberStyles.AllowThousands | System.Globalization.NumberStyles.AllowLeadingWhite | System.Globalization.NumberStyles.AllowTrailingWhite);source: https://codewithshadman.com/csharp-number-and-datetime-tips
| //https://stackoverflow.com/a/290265/1397858 | |
| private static readonly DateTime Jan1st1970 = new DateTime | |
| (1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); | |
| public static long CurrentTimeMillis() | |
| { | |
| return (long) (DateTime.UtcNow - Jan1st1970).TotalMilliseconds; | |
| } |
| {"lastUpload":"2020-02-28T11:13:17.567Z","extensionVersion":"v3.4.3"} |
| for($i=1; $i -le 5; $i++) { mkdir "TEMP$i" } |
| $i = 1 | |
| Get-ChildItem *.sql | %{Rename-Item $_ -NewName ('SomeFileName_{0:D2}.sql' -f $i++)} |