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

@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

@otakuSiD:
otakuSiD

Using Let’s Encrypt for free automated SSL certificates


codeproject.com

@otakuSiD:
otakuSiD

Приставка Dendy: Как Виктор Савюк придумал первый в России поп-гаджет


secretmag.ru

@otakuSiD:
otakuSiD

How to run a dotnet windows service as a console app


alastaircrabtree.com

@otakuSiD:
otakuSiD

Running .NET Core apps on multiple frameworks and What the Target Framework Monikers (TFMs) are about


blogs.msdn.microsoft.com

@otakuSiD:
otakuSiD

use -B -N switches to cleanup output from ASCII tables and column names


sites.google.com

@otakuSiD:
otakuSiD

Using gems with Chef

sethvargo.com

@otakuSiD:
otakuSiD

how to change website binding in powershell

Set-WebBinding -Name 'Default Web Site' -BindingInformation "*:80:" -PropertyName Port -Value 8080

@otakuSiD:
otakuSiD

install latest node.js on AWS Linux

curl --silent --location rpm.nodesource.com | bash —
yum -y install nodejs
npm install npm -g


nodejs.org

@otakuSiD:
otakuSiD

How the dotnet CLI tooling runs your code


mattwarren.org

@otakuSiD:
otakuSiD

Application configuration in .NET Core – Part 1


colinmackay.scot

@otakuSiD:
otakuSiD

how to set array values in env variables for .net core project


SET FF__CONSOLE__EXCEPTIONLESS__TAGS__0=ololo
SET FF__CONSOLE__EXCEPTIONLESS__TAGS__1=trololo


stackoverflow.com

@otakuSiD:
otakuSiD

You can import projects with all their data and user accounts from a backup file to an existing TeamCity server
(note that the major and minor versions of the source and target TeamCity servers have to be the same)


confluence.jetbrains.com

@otakuSiD:
otakuSiD

how to automate .net core sdk installation and dont fail in case when reboot needed


DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe /install /quiet /norestart /log c:\temp\framework\core-sdk-install.txt & if errorlevel 3010 echo 'I hate shitty error codes'

msdn.microsoft.com

@otakuSiD:
otakuSiD

utility which helps you to build cron expressions.


cronmaker.com

@otakuSiD:
otakuSiD

How do I enable the EPEL repository for my Amazon EC2 instance running Centos, RHEL, or Amazon Linux?


aws.amazon.com

@otakuSiD:
otakuSiD

Pixel font editor


8bit-era.cz

@otakuSiD:
otakuSiD

in case of quick backup needed

Write-S3Object -BucketName backup-backet -File D:\backup.zip -Key /backups/backup-0.zip
Copy-S3Object -BucketName backupbacket -LocalFile d:\backup.zip -Key /backups/backup-0.zip

@otakuSiD:
otakuSiD

manual deployment of elastic beanstalk application:


upload new package version to s3

aws s3 cp app-package.zip s3://packages-bucket/packages/manual-app-0.zip --profile yourprofile

create new version in beanstalk

aws elasticbeanstalk create-application-version --application-name some-app --version-label "manual-0" --source-bundle S3Bucket="packages-bucket",S3Key="/packages/manual-app-0.zip" --profile yourprofile

update beanstalk to new version

aws elasticbeanstalk update-environment --application-name some-app --environment-id e-someid --version-label "manual-0" --profile yourprofile