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
| #if NET8_0 | |
| // Code specific to .NET 8 | |
| #elif NET6_0 | |
| // Code specific to .NET 6 | |
| #else | |
| // Default code for other versions | |
| #endif | |
| <ItemGroup Condition="'$(TargetFramework)' == 'net8.0'"> | |
| ... |
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
| create user demo identified by 123456; | |
| grant connect to demo; | |
| grant connect to demo identified by 123456; | |
| grant all privileges to demo identified by 123456; |
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
| Visual Studio 2022 | |
| Enterprise : | |
| VHF9H-NXBBB-638P6-6JHCY-88JWH | |
| Professional: | |
| TD244-P4NB7-YQ6XK-Y8MMM-YWV2J |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace TestCtrlEvent |
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
| // Use Microsoft365 username and access token | |
| NetworkCredential credentials = new OAuthNetworkCredential(username, accessToken); | |
| using var client = EWSClient.GetEWSClient("https://outlook.office365.com/EWS/Exchange.asmx", credentials); |
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
| https://coinmarketcap.com/currencies/gala/ | |
| https://coinmarketcap.com/currencies/mina/ | |
| https://coinmarketcap.com/currencies/the-sandbox/ | |
| https://coinmarketcap.com/currencies/near-protocol/ | |
| https://coinmarketcap.com/currencies/vechain/ | |
| https://coinmarketcap.com/currencies/internet-computer/ | |
| https://coinmarketcap.com/currencies/filecoin/ | |
| https://coinmarketcap.com/currencies/uniswap/ | |
| https://coinmarketcap.com/currencies/xrp/ | |
| https://coinmarketcap.com/currencies/chainlink/ |
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
| docker-compose down | |
| docker rm -f $(docker ps -a -q) | |
| docker volume rm $(docker volume ls -q) | |
| docker-compose up -d |
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
| 1) Code behind migration | |
| Add-Migration DbInit | |
| Add-Migration ChangeModuleTable | |
| 2) SQL script generation | |
| Script-DbContext -Output .\Demo\SP.Migrator\Scripts\Dbinit.sql |
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
| How to add Font Awesome @fortawesome/fontawesome-free to an Angular project? | |
| 1) Go to the project directory | |
| 2) Install Font Awesome as said on their website: | |
| https://fontawesome.com/how-to-use/on-the-web/setup/getting-started?using=web-fonts-with-css | |
| through npm: npm install --save @fortawesome/fontawesome-free | |
| Use '--save' not '--save-dev' | |
| 3) Add Font Awesome to 'styles' in 'anguler.json': |