Skip to content

Instantly share code, notes, and snippets.

View fwfurtado's full-sized avatar

Mimi fwfurtado

View GitHub Profile
@fwfurtado
fwfurtado / default.conf
Last active October 23, 2023 23:25
Keyd Configuration
[ids]
*
[main]
q = q
w = w
e = f
r = p
@fwfurtado
fwfurtado / Demo.postman_collection.json
Last active September 16, 2022 01:57
postgres docker compose
{
"info": {
"_postman_id": "39f2afad-8af6-40d3-bdeb-f50e1d50f577",
"name": "Demo",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "List People",
"request": {
@fwfurtado
fwfurtado / main.dart
Created April 6, 2022 21:03
InkWellButton
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
@fwfurtado
fwfurtado / 00_destructuring.md
Created April 22, 2021 10:57 — forked from john2x/00_destructuring.md
Clojure Destructuring Tutorial and Cheat Sheet

Clojure Destructuring Tutorial and Cheat Sheet

(Related blog post)

Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.

Vectors and Sequences

@fwfurtado
fwfurtado / Clines.md
Last active November 6, 2020 02:24
Ementas

Caelum Airlines

Projeto de compras de passagens aereas Caelum Airlines.

O projeto é composto de uma API Rest desenvolvida em Java com Spring Boot que será consumido por um cliente desenvolvido em NodeJS com Next.JS

O projeto tem como objetivo simular o dia a dia em um projeto real.

Para gerenciar as "demandas" usaremos um trello como nosso kanban, e algumas das funcionalidade iniciais já estarão implementadas.

@fwfurtado
fwfurtado / kitty.conf
Created June 4, 2020 14:48
Kitty terminal configuration
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
#: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
font_family JetBrains Mono
bold_font auto
class Strategy:
registered = []
def __init__(self, func):
self._func = func
Strategy.registered.append(func)
def __call__(self, *args, **kwargs):
return self._func(*args, **kwargs)
@fwfurtado
fwfurtado / fwfurtado.zsh-theme
Last active December 13, 2019 18:46
My custom theme zsh
function get_pwd(){
echo "${PWD/$HOME/~}"
}
local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )"
PROMPT='%{$fg[cyan]%}$(get_pwd)%{$reset_color%} %{$fg[red]%}❯%{$fg[yellow]%}❯%{$fg[green]%}❯$(git_prompt_info)
${ret_status}%{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%} (%{$fg[red]%}"
package sample.rest.demo.either;
import org.junit.Test;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
public class Principal {
public static void main(String[] args) throws Exception {
DefaultCamelContext context = new DefaultCamelContext();
context.addRoutes(new RouteBuilder() {
AggregationStrategy ag = new MyAggragate();
@Override
public void configure() throws Exception {