Skip to content

Instantly share code, notes, and snippets.

View marioidival's full-sized avatar
😶‍🌫️

Mario Idival marioidival

😶‍🌫️
  • Self Employed ;)
  • Campina Grande, Paraíba, Brazil
  • 00:18 (UTC -03:00)
  • X @marioidival
View GitHub Profile
@marioidival
marioidival / cast.md
Created February 2, 2016 10:54
PyLab - Conversões (Cast) em Python

PyLab

Conversões em Python (Cast)

Cast é uma tecnica largamente ultilizada em algumas linguagens de programação. Nesse breve tutorial, mostro como fazer essa tecnica com Python.

Para quem não conhece o que é Cast, é uma tecnica de conversão de tipos de um objeto.

@marioidival
marioidival / init.el
Last active July 31, 2022 20:48
my emacs config
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(require 'go-eldoc)
@marioidival
marioidival / tucan_bibliography.md
Created July 14, 2022 14:12 — forked from mrnugget/tucan_bibliography.md
Tucan Bibliography. Majority of the resources I used to build Tucan, my toy optimizing compiler in Rust

Tucan - Bibliography

Majority of the resources I used to build Tucan, my toy optimizing compiler in Rust. This list is not complete but most of the things listed here are things I really read through and used.

Books

  • Engineering a compiler (I use this a lot! For SSA, dominance and optimizations)
  • [Static Single Assignment Book][ssabook] (I use this a lot!)
  • Types And Programming Languages

Roadmap de estudos de SQL

Aviso: Muitas vezes detalhes de várias operações podem variar de banco para banco. Em questões onde fiquei em dúvida, este documento segue o funcionamento do PostgreSQL, pois é o banco que conheço melhor.

Pré-requisito: Álgebra Relacional básica

Antes de começar a escrever SQL, você precisa entender o modelo de como um banco de dados relacional funciona. Não precisa se aprofundar muito, mas você precisa entender como que dados e relacionamentos entre eles são representados. (Nota importante: Relacionamento e relação não são a

@marioidival
marioidival / clojure-beginner.md
Created March 1, 2022 12:58 — forked from yogthos/clojure-beginner.md
Clojure beginner resources

Introductory resources

Keybase proof

I hereby claim:

  • I am marioidival on github.
  • I am marioidival (https://keybase.io/marioidival) on keybase.
  • I have a public key ASB2q40Mj307GJEtNPu2Ts6P-x3WbYV9uTZMU5pX8pBCvAo

To claim this, I am signing this object:

@marioidival
marioidival / grpc-load-balancing.md
Created March 8, 2021 11:41 — forked from rponte/grpc-load-balancing.md
gRPC Load Balancing may not be that easy

Why gRPC load balancing is so tricky?

At a high-level, we need to understand two points:

  • gRPC is built on HTTP/2, and HTTP/2 is designed to have a single long-lived TCP connection (a sticky and persistent connection);
  • To do gRPC load balancing, we need to shift from connection balancing to request balancing;

Some interesting articles about this subject

@marioidival
marioidival / README-Template.md
Created August 8, 2019 17:08 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@marioidival
marioidival / rest_example_pyramid.py
Created March 5, 2015 03:08
REST API Pyramid, view_defaults and view_config nested
from __future__ import unicode_literals
from pyramid.config import Configurator
from pyramid.response import Response
from pyramid.view import view_config, view_defaults
from wsgiref.simple_server import make_server
PETS = [
{
@marioidival
marioidival / programacao101-parte01.md
Created March 4, 2019 02:09
Slides (patat) da alfabetização python.

title: Programação 101 author: Mário Idival ...

Antes de começar

  • Abra um arquivo de texto - ou um caderno - para anotação.
  • Interrompa caso tenha duvida em qualquer coisa que aparecer.
  • Anote a dúvida da outra pessoa.