Skip to content

Instantly share code, notes, and snippets.

View dbrkv's full-sized avatar
☣️
Blue cheese has mold in it

Dmitry dbrkv

☣️
Blue cheese has mold in it
View GitHub Profile
@dbrkv
dbrkv / PostgreSqlPlatform.php
Created April 19, 2021 21:39 — forked from dextervip/PostgreSqlPlatform.php
Symfony Doctrine support for timescaledb
<?php
namespace App\Domain\Doctrine\DBAL\Platforms;
use Doctrine\DBAL\Platforms\PostgreSQL100Platform as PostgreSqlPlatformBase;
class PostgreSqlPlatform extends PostgreSqlPlatformBase
{
@dbrkv
dbrkv / .envrc
Created November 13, 2020 21:58 — forked from defanator/.envrc
Example of direnv .envrc configuration for working with awscli as MFA-enabled IAM user
#
# Copyright (C) Andrei Belov (defanator@gmail.com)
#
# This is an example of direnv [1] .envrc file approaching the way
# of using awscli [2] with MFA-enabled accounts in a (more or less)
# secure manner.
#
# The following assumptions are expected:
#
# a) there should be two files, key.asc and skey.asc, containing