Related github addresses
/dorisoy/?tab=readme-ov-file
mysql8
sudo rpm -ivh
wget /get/
sudo yum install mysql-community-server --nogpgcheck
systemctl start mysqld
[root@centos7init ]# sudo grep 'temporary password' /var/log/
2024-08-17T01:20:53.607313Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: TwpqzkbqG0)j
mysql_secure_installation
Huawei@123 High Strength Password Setting
mysql -uroot -pHuawei@123
mysql> CREATE USER 'root'@'%' IDENTIFIED BY 'Huawei@123';
Query OK, 0 rows affected (0.02 sec)
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
empowers
npm related operations
PS C:\Users\supermao\Desktop\-main\UI> npm config set registry /
PS C:\Users\supermao\Desktop\-main\UI> npm config get registry
/
npm install Sometimes npm install --force works, too, when you don't want to bother with dependencies.
If you get a node version error, use nvm install version -> nvm use version
to change the version number
/coreybutler/nvm-windows/releases
npm run start
visual studio 2022
This component must be installed
"DocumentDbConnectionString": "Server=192.168.100.128;DataBase=dorisoy;User Id=root;Password=Huawei@123;"
Cannot find the fallback package folder "D:\programme\share\NuGetPackages".
Change the corresponding path in this file
Requires PM> Install-Package
If you encounter an error re-generating the solution, NET 7.0 does not satisfy the
Then you need to update visual studio to use the installer.
Set the api as a startup item and start the
Modify the source code, modify the icon
Upload failed Modify source code
using ;
using ;
using ;
using System;
using ;
using ;
using ;
using ;
using ;
using ;
namespace
{
public static class JwtAuthenticationConfigurationExtension
{
public static void AddJwtAutheticationConfiguration(
this IServiceCollection services,
JwtSettings settings)
{
// Register Jwt as the Authentication service
(options =>
{
= "JwtBearer";
= "JwtBearer";
})
.AddJwtBearer("JwtBearer", jwtBearerOptions =>
{
=
new TokenValidationParameters
{
ValidateIssuerSigningKey = true,
IssuerSigningKey = new SymmetricSecurityKey(
Encoding.()),
ValidateIssuer = true,
ValidIssuer = ,
ValidateAudience = true,
ValidAudience = ,
ValidateLifetime = true,
ClockSkew = (
)
};
= new JwtBearerEvents
{
OnTokenValidated = context =>
{
if ( is accessToken)
{
// withdraw (from a bank or warehouse) userId cap (a poem) email
var userId = (a => == )?.Value;
var email = (a => == "Email")?.Value;
if (!(userId))
{
["Id"] = userId;
var userInfoToken = <UserInfoToken>();
// Add exception handling to ensure userId effective Guid
if ((userId, out var parsedUserId))
{
= parsedUserId;
}
else
{
throw new SecurityTokenException("Invalid userId in token.");
}
= email;
}
else
{
throw new SecurityTokenException("userId is missing in token.");
}
}
return ;
}
};
});
();
}
}
}
Fix buggy icons
Supplementary icon paths