Skip to content

Instantly share code, notes, and snippets.

View danielpassos's full-sized avatar

Daniel Passos danielpassos

View GitHub Profile
@danielpassos
danielpassos / .p10k.zsh
Last active April 27, 2026 18:48
Mac - Setup
# Generated by Powerlevel10k configuration wizard on 2026-04-14 at 17:44 -03.
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 57817.
# Wizard options: nerdfont-v3 + powerline, small icons, classic, unicode, dark,
# 24h time, vertical separators, blurred heads, flat tails, 2 lines, dotted, left frame,
# sparse, many icons, concise, transient_prompt, instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate
# your own config based on it.
#
@danielpassos
danielpassos / tgik-004.md
Last active April 15, 2019 22:03
[TGI Kubernetes 004: RBAC] Step by step used by @jbeda on @TGIK 004 (RBAC) #tgik #document #kubernetes

Keybase proof

I hereby claim:

  • I am danielpassos on github.
  • I am passos (https://keybase.io/passos) on keybase.
  • I have a public key whose fingerprint is 65A4 C36C 691C BE66 A107 06A5 1A0C 01BD 9F81 42B2

To claim this, I am signing this object:

@danielpassos
danielpassos / Pipe Builder.md
Last active December 8, 2018 11:56
[Builder for Pipe creation] A builder proposal for AeroGear Android Pipe creation #aerogear #agdroid

Builder for Pipe creation

// http://myServer/myProject/foo
Pipe<Foo> fooPipe = pipeline.pipe(Foo.class).buildAndAdd();

// http://myServer/myProject/my-crazy-endpoint
Pipe<Bar> barPipe = pipeline.pipe(Bar.class)
        .endpoint("my-crazy-endpoint")
        .name("bad name")
@danielpassos
danielpassos / AliasToBeanResultAdvancedTransformer
Last active August 31, 2018 14:12
[AliasToBeanResultTransformer] Extende as funcionalidades do AliasToBeanResultTransformer do Hibernate permitindo atribuir valores em diversos niveis. #hibernate
import java.util.Collection;
import java.util.List;
import net.vidageek.mirror.dsl.Mirror;
import org.hibernate.HibernateException;
import org.hibernate.transform.ResultTransformer;
/**
*