https://cdn.rawgit.com/mfd/7c7a915eb31474cc8c6a65066a4c4dc3/raw/f0f2fb94c21dea904812a53e0eb6cf0bc87f3754/GTWalsheimPro.css
<link rel="https://cdn.rawgit.com/mfd/7c7a915eb31474cc8c6a65066a4c4dc3/raw/f0f2fb94c21dea904812a53e0eb6cf0bc87f3754/GTWalsheimPro.css">
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
@* | |
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 | |
*@ | |
@{ | |
} | |
@model GariPlatform.Domain.Entities.Policies.Policy | |
<!DOCTYPE html> | |
<html> |
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager.
You can also download the fish app from their website. I do recomand using brew because update are easier.
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
#!/bin/bash | |
# Read the current version | |
currentVersion=$(cat version.txt) | |
# Get each part of the version number | |
major=$(echo $currentVersion | cut -d. -f1) | |
minor=$(echo $currentVersion | cut -d. -f2) | |
patch=$(echo $currentVersion | cut -d. -f3) |
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 static class DistributedCacheExtensions | |
{ | |
public static Task SetAsync<T>(this IDistributedCache cache, string key, T value) | |
=> SetAsync(cache, key, value, new DistributedCacheEntryOptions()); | |
public static Task SetAsync<T>(this IDistributedCache cache, string key, T value, DistributedCacheEntryOptions options) | |
{ | |
var bytes = Encoding.UTF8.GetBytes(JsonSerializer.Serialize(value, GetJsonSerializerOptions())); | |
return cache.SetAsync(key, bytes, options); | |
} |
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 Libraries.Replication; | |
public static class PgArrayParser | |
{ | |
public static string?[] ParseStringArray(string pgArray) | |
{ | |
if (string.IsNullOrWhiteSpace(pgArray) || pgArray == "{}") | |
return []; | |
var inner = pgArray.Trim().TrimStart('{').TrimEnd('}').Trim(); |