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
// CS 5 | |
/* | |
async | |
await | |
*/ | |
// async | |
// The async is the modifier used to mark a method as asynchronous | |
using System; |
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
// CS 6 | |
/* | |
1. Read-only Auto-properties | |
2. Auto-Property Initializers | |
3. Expression-bodied function members | |
4. using static | |
5. Null-conditional operators | |
6. String Interpolation | |
7. Exception filters | |
8. nameof Expressions |
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
# Azure # Azure Logic Apps # Azure Key Vault | |
# Azure Logic Apps | |
# Set up a Web API | |
Host a Web API in the Azure sandbox | |
The script to host Web API in Azure performs the following steps: | |
• Create an Azure App Service plan in the free tier |
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
// CS 8 | |
/* | |
1. Readonly members | |
2. Default interface methods | |
3. Pattern matching enhancements: | |
// Switch expressions | |
// Property patterns | |
// Tuple patterns | |
// Positional patterns | |
4. Using declarations |
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
# MySQL-15.1 # MariaDB-10.4.14 | |
$ winpty mysqladmin --version | |
$ winpty mysqlsh --version | |
$ winpty mysql --version | |
> mysqladmin --version | |
> mysqlsh --version | |
> winpty mysql --version |
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
// CS 7 | |
/* | |
1. out variables | |
2. Tuples | |
3. Discards | |
4. Pattern Matching | |
5. ref locals and returns | |
6. Local Functions | |
7. Expression-bodied members | |
8. Throw expressions |
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
rubyinstaller-devkit-3.0.2-1-x64.exe | |
<Next> Select Components | |
<Next> Installing C:\Ruby30-x64 | |
<Finish> Run 'ridk install' to set up MSYS2 and development toolchain. | |
MSYS2 is required to install gems with C extensions. |
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
# Python 3.10.0 $ winpty python --version $ pip --version $ python -m pip install --upgrade pip $ pip show pip $ pip show setuptools $ pip list $ pip install django $ python -m django --version $ django-admin --version $ python -c "import django; print(django.__version__)" | |
$ export PATH=$PATH:"/C/Python310/:/C/Python310/Scripts/" | |
# Python 3.10.0 > winpty python --version > pip --version > python -m pip install --upgrade pip > pip show pip > pip show setuptools > pip list > pip install django > python -m django --version > django-admin --version > python -c "import django; print(django.__version__)" | |
> set path=%path%;C:\Python310\;C:\Python310\Scripts\ | |
python --version | |
pip --version |
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
# PostgreSQL 13.1-1 | |
PostgreSQL data directory: | |
C:\Users\rajanis\Downloads\PostgreSQL\postgresql-13.1-1-windows-x64-binaries\pgsql\bin\data | |
PostgreSQL Port: | |
5432 | |
/* |
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
--SQL Server 2019-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
--apply------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
USE [master]; | |
GO | |
--IF EXISTS(SELECT name FROM sys.databases WHERE name = N'sampledb') | |
IF DB_ID (N'sampledb') IS NOT NULL | |
DROP DATABASE [sampledb]; |