-
Install required tools and sdks
- Templates:
dotnet new -i EPiServer.Net.Templates --nuget-source https://nuget.optimizely.com/feed/packages.svc/ --force - Cli tools:
dotnet tool install EPiServer.Net.Cli --global --add-source https://nuget.optimizely.com/feed/packages.svc/ - Check license, but for localhost it was free as on
2022/01/31
- Templates:
-
Install sql server and dotnet sdk 5
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
| echo "Set Azure Storage connection string to UseDevelopmentStorage=true" | |
| azurite --silent --location ~/.azurite-data --debug ~/.azurite-data/debug.log --loose --skipApiVersionCheck |
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
| <# | |
| .SYNOPSIS | |
| Short description for your script. | |
| .DESCRIPTION | |
| More descriptive notes about the script. | |
| May contain several lines for readability. | |
| Must not be an esse on "How I spent this summer" | |
| .NOTES | |
| Version: 1.0 | |
| Author: Kirill Lappo<kirill-lappo@outlook.com> |
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
| # My additional options for .bashrc | |
| # requires vivid from https://github.com/sharkdp/vivid | |
| export LS_COLORS="$(vivid generate molokai)" | |
| export PATH=$PATH:/usr/local/go/bin | |
| # I don't remember, really | |
| export CGO_LDFLAGS_ALLOW=.* | |
| # requires starship from https://starship.rs |
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
| # Install Python plugin | |
| # Import this file using pluing configuration and add it to menu | |
| # * %APPDATA%\Notepad++\plugins\config\PythonScript\scripts\script-name.py | |
| # Restart Notepad | |
| # Use Notepad++ interface to remove CTRL+C keymap and rebind it to copy-allow-line command in Plugin section | |
| editor.copyAllowLine() |
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
| @echo off | |
| REM Place this file in any of %PATH% entries | |
| REM Edit any file from cmd typing "edit ./diary.txt" | |
| REM start - run in a different process | |
| REM "" - empty cmd window title, not sure if it is needed with /B option | |
| REM /B - no window | |
| REM <path> - path to exe file. Any editor you like. | |
| REM %* - pass all arguments of this bat file to the program that is called. |
SQL DACPAC notes:
- use simple .net core project
- use special sdk: MSBuild.Sdk.SQLProj/1.15.0 or higher: GitHub
- all properties works for the projec, use CamelCase version of them (in most cases): LINK
- DropObjectsNotInSource
- seems like publish profile can be used as well
- use
dotnet publishto... publish
Format: skype:name?action
- name - skype nick name,
- action - one of:
- chat - start a chat
- call - start a call
- add - add person to the contacts
- userinfo - view user's profile
- voicemail - leave a voice message
- sendfile - send a file
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
| <!-- I know, there is a Git target in the package of community msbuild targets --> | |
| <!-- but I didn't want to install any additional package --> | |
| <!-- so decided to do it on my own in the most lazy way --> | |
| <Target Name="AfterBuild"> | |
| <PropertyGroup> | |
| <!-- These files contain git information --> | |
| <!-- App can read these files and use somehow (display, send anywhere, etc) --> | |
| <!-- There could be any variatons --> | |
| <!-- I prefer to keep git info in separate files just because, there is no good reason here :) --> |
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
| #requires -version 7 | |
| # Requires pwsh 7 or higher | |
| # Add functions to your $PROFILE so they are always accessible | |
| function Restart-ServiceParallel{ | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter()] | |
| [string] |
NewerOlder