Skip to content

Instantly share code, notes, and snippets.

View dilame's full-sized avatar

Dmitry dilame

  • Россия, Москва
View GitHub Profile
@dilame
dilame / tsconfig.json
Last active February 14, 2024 17:17
The most strict TypeScript tsconfig mode
{
"compilerOptions": {
// Strict Checks
"alwaysStrict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"useUnknownInCatchVariables": true,
"strictPropertyInitialization": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
@dilame
dilame / accounting.sql
Created March 20, 2020 07:34
Postgresql basic accounting
create table public.account
(
id bigint not null primary key generated always as identity,
created_at timestamp with time zone default now() not null,
display_name text,
picture text,
);
create table currency
(
@dilame
dilame / cloud-init-docker.yml
Created October 27, 2019 08:46
cloud-init to install docker using official shell script. Yep, that small
#include https://get.docker.com
@dilame
dilame / cloud-init.yaml
Created October 25, 2019 20:36 — forked from syntaqx/cloud-init.yaml
cloud init to install docker on ubuntu
#cloud-config
package_update: true
package_upgrade: true
package_reboot_if_required: true
manage-resolv-conf: true
resolv_conf:
nameservers:
- '8.8.8.8'