Skip to content

Instantly share code, notes, and snippets.

View edumaciel10's full-sized avatar
🎯
BORAAAAAA

Eduardo Maciel edumaciel10

🎯
BORAAAAAA
View GitHub Profile
@fersilva16
fersilva16 / input.ts
Last active December 30, 2021 01:48
Transform imports to namespace import
import { load } from '@workspace/shared';
import Foo from '@workspace/shared';
import * as Bar from '@workspace/shared';
load();
Foo.doSomething();
Bar.default.doSomething();
function test() {
const load = {};

filter

volume

  • docker ps --filter volume=VOLUME_NAME

list

container doc

  • docker container ls

    • flags: -a: all containers
  • all status exited docker ps --filter "status=exited

@jgcmarins
jgcmarins / config
Last active July 14, 2021 19:31
Setup different SSH keys for multiple git remotes: https://twitter.com/jgcmarins/status/1234881259316404229
# GitHub.com
Host github.com
Preferredauthentications publickey
IdentityFile ~/.ssh/id_rsa_github
# GitLab.com
Host gitlab.com
Preferredauthentications publickey
IdentityFile ~/.ssh/id_rsa_gitlab