echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
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
# variables | |
$vmUser = "" | |
$azSubscription = "" | |
$rgName = "" | |
$acrName = "" | |
$aksName = "" | |
# VM init | |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | |
sudo apt-get update |
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
-- RUN in master database | |
CREATE LOGIN [any-login] WITH password='any-pwd'; | |
-- RUN in user database | |
CREATE USER [any-user] FROM LOGIN [any-login]; | |
EXEC sp_addrolemember 'db_ddladmin', 'any-user'; | |
EXEC sp_addrolemember 'db_datawriter', 'any-user'; |
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
DECLARE @char CHAR = '' | |
DECLARE @charI INT = 0 | |
DECLARE @password VARCHAR(100) = '' | |
DECLARE @len INT = 16 -- Length of Password | |
WHILE @len > 0 | |
BEGIN | |
SET @charI = ROUND(RAND()*100,0) | |
SET @char = CHAR(@charI) | |
IF @charI >= 48 AND @charI <= 122 AND @charI <> 59 AND @charI <> 61 AND @charI <> 92 |
- Clean references to deleted branches in remote
git remote update origin --prune
- Create tag
git tag -a v1.4 -m "my version 1.4"
- Clean Code
- Clean Coder
- Clean Architecture
- Domain driven design
- Design Patterns: Elements of Reusable Object-Oriented Software
- Patterns of Enterprise Application Architecture - Martin Fowler
- Refactoring - Martin Fowler
- Implementando domain driven design
- Accelerate: The Science of Lean Software and DevOps
- Enterprise Integration Patterns do Gregor Hohpe