This is my attempt at a very flexible generic repository for an n-layer MVC project.
I've got this placed in my business/service layer which any DAL (Data Access Layer) project can reference and implement.
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string", | |
"description": "Required. The name of the index. An index name must only contain lowercase letters, digits or dashes, cannot start or end with dashes and is limited to 128 characters." | |
}, | |
"description": { | |
"type": "string", |
blueprint: | |
name: Renew Let's Encrypt Certificate | |
description: Renew Certificate when due date is below given value | |
domain: automation | |
input: | |
cert_expiry_sensor: | |
name: Certificate Expiry Sensor | |
description: Sensor from the Certificate Expiry Integration (https://www.home-assistant.io/integrations/cert_expiry) | |
selector: | |
entity: |
[Main] | |
Old is First=1 | |
Old on Left=1 | |
Default Compare is to Prev=1 | |
Go to First Diff=0 | |
Check Encodings=1 | |
Wrap Around=0 | |
Compact NavBar=1 | |
Ignore Spaces=0 | |
Detect Moves=1 |
<!--suppress XmlDuplicatedId, HtmlFormInputWithoutLabel --> | |
<app-field-wrapper | |
[label]="label" | |
[control]="control" | |
[controlName]="controlName" | |
> | |
<ng-container *ngIf="!readOnly"> | |
<div | |
class="input-group date" | |
data-td-target-input="nearest" |
using System.ComponentModel.DataAnnotations; | |
[DataType(DataType.Time)] | |
public DateTime Updated { get; set; } |
public static class JsRuntimeExtensions | |
{ | |
/// <summary> | |
/// Calls "console.log" on the client passing the args along with it. | |
/// </summary> | |
/// <example> | |
/// LogAsync("data") //same as console.log('data') | |
/// </example> | |
/// <example> | |
/// LogAsync("data", myData) //same as console.log('data', myData) |
# Uninstall 3D Builder: | |
Get-AppxPackage *3dbuilder* | Remove-AppxPackage | |
# Uninstall Alarms and Clock: | |
Get-AppxPackage *windowsalarms* | Remove-AppxPackage | |
# Uninstall Calculator: | |
Get-AppxPackage *windowscalculator* | Remove-AppxPackage | |
# Uninstall Calendar and Mail: |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
' Open the default settings window | |
WshShell.Run "ms-settings:defaultapps" | |
WScript.Sleep 5000 ' Wait until open (adjust if necessary) | |
' Adjust number of tabs until you reach the browser choice setting | |
WshShell.SendKeys "{TAB}" | |
WshShell.SendKeys "{TAB}" | |
WshShell.SendKeys "{TAB}" | |
WshShell.SendKeys "{TAB}" | |
WshShell.SendKeys "{TAB}" |