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
| @namespace smab.FontAwesome | |
| @if (Name is null) | |
| { | |
| <i class="@($"{cssClass} {faTypeString} {iconName}")" style="@style" @attributes="InputAttributes">@ChildContent</i> | |
| } | |
| else if (Name == "counter") | |
| { | |
| <span class="@cssClass fa-layers fa-fw" style="@style"> | |
| <i class="@($"{faTypeString} {iconName}")" @attributes="InputAttributes"></i> | |
| <span class="@($"fa-layers-counter fa-layers-{position}")">@ChildContent</span> |
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
| # Steps to host ASP.NET Core in Docker on a Synology NAS | |
| This guide assumes that Docker is already installed on the NAS named `nas1`, and that there is a shared folder prepared called `docker`. | |
| The instructions here a for a Windows machine. | |
| --- | |
| ## 1. Initial set-up (once per NAS) |
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
| Get-Eventlog -Log System -Source Microsoft-windows-windowsupdateclient -InstanceId 19,20 -Newest 30 | Select-Object TimeGenerated, InstanceId, @{Name="ErrorOrReturn"; e={if ($_.InstanceId -eq 19) {$_.ReplacementStrings[2]} else {$_.ReplacementStrings[0]} }}, @{Name="App"; e={if ($_.InstanceId -eq 19) {$_.ReplacementStrings[0]} else {$_.ReplacementStrings[1]} }} | Sort-Object TimeGenerated |
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
| version: '3.7' | |
| services: | |
| db: | |
| container_name: ${CONTAINER_DB_NAME} | |
| image: mysql:5.7 | |
| # restart: always | |
| volumes: | |
| - ${DB_PATH}:/var/lib/mysql | |
| environment: |