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
@model IEnumerable<MyProject.Models.MyObject> | |
@{ | |
ViewData["Title"] = "MyObjects"; | |
} | |
<div class="text-center"> | |
<div class="text-center"> | |
<table class="table table-striped"> | |
<tr> |
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
#!/bin/bash | |
# Function to check if .NET Core 5.0 is installed | |
check_dotnet_core() { | |
dotnet_path=$(command -v dotnet) | |
if [ -n "$dotnet_path" ]; then | |
version_output=$(dotnet --list-sdks | grep -oP '7\.\d+\.\d+' | head -1) | |
if [ -n "$version_output" ]; then | |
echo ".NET Core 7.0 (or higher) is already installed. Version: $version_output" | |
return 0 |
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
#!/bin/bash | |
repo_url="https://github.com/aisyshk/AoT-Wiki.git" | |
download_dir="$HOME" | |
target_dir="/var/www/aot.wiki/html/" | |
if [ ! -d "$download_dir" ]; then | |
mkdir -p "$download_dir" | |
fi |