# configure origin
git remote add origin [email protected]:org/repo.git
# set two remote push targets
git remote set-url origin --add --push [email protected]:org/repo.git
git remote set-url origin --add --push [email protected]:JaimeStill/repo.git
This file contains 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.Text.RegularExpressions; | |
using Core.Data; | |
using Core.Models; | |
using Core.Services.Settings; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.EntityFrameworkCore; | |
using Platform.Messages; | |
namespace Core.Services; | |
public class UploadService(CoreContext db, UploadPathSettings paths) |
This file contains 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
& taskkill /f /im explorer.exe | |
Start-Process explorer.exe |
Where
app
is specified in all of the sections below below, replace with the name of the each app module in lowercase in place ofapp
. For instance,staffing
andreporting
. What is shown below is just a template for how to configure each app module.
In IIS Manager, click the Application Pools section in the Connections panel. For the API + each app module, create the following app pool:
Name | .NET CLR Version | Managed Pipeline Mode |
---|
This file contains 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
(New-Guid).ToString() | Set-Clipboard |
This file contains 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
<h1 class="mat-title m8">Home</h1> | |
<button mat-button class="m8" (click)="search()">Search</button> |
This file contains 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 string BaseData = "0xFFD8FFE0..." | |
await ConvertToImage("data", BaseData); | |
static async Task ConvertToImage(string file, string hex) | |
{ | |
string format = GetFormat(hex); | |
byte[] data = Convert.FromHexString(hex.Remove(0, 2)); | |
await File.WriteAllBytesAsync($"{file}{format}", data); | |
} |
This file contains 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
<mat-tab-group [animationDuration]="180" | |
[selectedIndex]="tabIndex" | |
(selectedIndexChange)="changeTab($event)"> | |
<mat-tab label="One"> | |
Tab One | |
</mat-tab> | |
<mat-tab label="Two"> | |
Tab Two | |
</mat-tab> | |
<mat-tab label="Three"> |
NewerOlder