Skip to content

Instantly share code, notes, and snippets.

View gigante's full-sized avatar
🎯
Focusing

Hiarison Gigante gigante

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gigante on github.
  • I am gigante (https://keybase.io/gigante) on keybase.
  • I have a public key whose fingerprint is 36D7 9FA0 85E9 B488 FCC6 D3FA 2CA6 C680 8990 9057

To claim this, I am signing this object:

@gigante
gigante / docker_descendants.py
Created April 3, 2021 17:44 — forked from altaurog/docker_descendants.py
Python3 script to find descendants of one or more docker images
#!/usr/bin/python3
#
# usage: python3 docker_descendants.py <image_id> ...
import sys
from subprocess import check_output
def main(images):
image_ids = set(images)
version: "3"
services:
web:
image: emilevauge/whoami
networks:
- default
- traefik-net
deploy:
labels:
- "traefik.port=80"
@gigante
gigante / Makefile
Last active April 11, 2020 00:09 — forked from isaacs/Makefile
Makefile example
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@gigante
gigante / emacs-cheat-sheet.md
Created August 22, 2017 14:31 — forked from dherman/emacs-cheat-sheet.md
My emacs cheat sheet

In penance for cracking stupid jokes on Twitter, here's my Emacs cheat sheet. Emacs has a steep learning curve, so I've tried to order them by importance so you could learn them in stages.

One overall rule of thumb: pay attention to the minibuffer (the line at the bottom of the editor). It will often guide you through a process, and also gives you hints about what state you're in, such as the middle of a multi-chord sequence.

The other rule of thumb: when in doubt, C-g it out.

Basics (mandatory)

You simply can't get by without having these at your fingertips.