Чтобы добавлять сообщения и комментарии, .

@otakuSiD:
otakuSiD

export cudwatch logs to s3

docs.aws.amazon.com
docs.aws.amazon.com

@otakuSiD:
otakuSiD

Chrome Deprecates Subject CN Matching

textslashplain.com

@otakuSiD:
otakuSiD

In Visual Studio 2017, you can configure and enforce your team’s coding conventions to drive consistency across your entire repository with EditorConfig. EditorConfig is an open file format and we worked with their community to support .NET code style within this format.

editorconfig.org
blogs.msdn.microsoft.com

@otakuSiD:
otakuSiD

What’s new in IIS 10 – Microsoft Internet Information Services 10 New Features


blogs.msdn.microsoft.com

@otakuSiD:
otakuSiD

Do I need to use ConfigureAwait(false) all the way?


danielwertheim.se

@otakuSiD:
otakuSiD

Support multiple versions of ASP.NET Core Web API

talkingdotnet.com

@otakuSiD:
otakuSiD

in case when vcs trigger doesn`t work when you configure TeamCity with Kotlin — try to add appropriate import

import jetbrains.buildServer.configs.kotlin.v10.triggers.vcs
triggers {
vcs {
}
}

@otakuSiD:
otakuSiD

Writing Libraries in Chef Cookbooks

blog.chef.io

@otakuSiD:
otakuSiD

get current version of deployed by docker application on aws (hard way)

on linux host with access to ECR
```
# get login string
aws ecr get-login --registry-ids ECR-ACCOUNT-ID --region ECR-REGION
# get latest deployed image
docker pull ECR-ACCOUNT-ID.dkr.ecr.ECR-REGION.amazonaws.com/ECR-NAME:latest
# run and verify
docker run -it ECR-ACCOUNT-ID.dkr.ecr.ECR-REGION.amazonaws.com/ECR-NAME:latest bash
# list ontainers to get container ID
docker ps -a
# docker cp CONTAINER-ID:/file/path/within/container /host/path/target
# create APP-NAMEzip with application files
zip -r /tmp/APP-NAME /tmp/APP-NAME
```

on win host
```
# register environment key file in putty
# run copy command
pscp -r ec2-user@LINUX-HOST-DNS:/tmp/APP-NAME.zip d:\
```

@otakuSiD:
otakuSiD

посмотреть версию dll`ки

`strings file.exe | egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'`

@otakuSiD:
otakuSiD

simple python http server to dump request headers

gist.github.com

@otakuSiD:
otakuSiD

get list of installed frameworks

stackoverflow.com

@otakuSiD:
otakuSiD

www.jonathantneal.com/blog/understand-the-favicon/

@otakuSiD:
otakuSiD

how to generate small random string

require "securerandom"
SecureRandom.hex(5)

@otakuSiD:
otakuSiD

reduce time during restoring nuguet packages on temporary build agents (f.e. on docker)

DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
NUGET_XMLDOC_MODE=skip


donovanbrown.com

@otakuSiD:
otakuSiD

Using dotnet watch test for continuous testing with .NET Core and XUnit.net


hanselman.com

@otakuSiD:
otakuSiD

The name of the project, used for the assembly name as well as the name of the package. The top level folder name is used if this property is not specified.
docs.microsoft.com


Если вы собираете проект и не можете найти нужные ассембляйки — скорее всего они на месте, но под другим именем

@otakuSiD:
otakuSiD

How do I parse command line arguments in bash?

stackoverflow.com

@otakuSiD:
otakuSiD

drop connections and drop database script for PostgreSQL

REVOKE CONNECT ON DATABASE #{dbname} FROM public;
ALTER DATABASE #{dbname} CONNECTION LIMIT 0;
SELECT pg_terminate_backend(pid)
FROM pg_stat_activity
WHERE pid <> pg_backend_pid()
AND datname='#{dbname}';
DROP DATABASE #{dbname};

stackoverflow.com

@otakuSiD:
otakuSiD

Suspend and Resume Processes Using the AWS CLI

docs.aws.amazon.com

aws autoscaling suspend-processes --auto-scaling-group-name ASGNAME --profile dev --region us-east-1 --output text
aws autoscaling resume-processes --auto-scaling-group-name ASGNAME --profile dev --region us-east-1 --output text