mfurquim.dev (@mfurquimdev) header
mfurquim.dev (@mfurquimdev) profile picture

Engenheiro de Software e Entusiasta Linux Aprendizados de um programador.

Brasília, DF, Brasil
Joined July 2020
Photo by mfurquim.dev (@mfurquimdev)Photo by mfurquim.dev (@mfurquimdev)Photo by mfurquim.dev (@mfurquimdev)Photo by mfurquim.dev (@mfurquimdev)Photo by mfurquim.dev (@mfurquimdev)Photo by mfurquim.dev (@mfurquimdev)Photo by mfurquim.dev (@mfurquimdev)Photo by mfurquim.dev (@mfurquimdev)Photo by mfurquim.dev (@mfurquimdev)
Fill with gradient color in #Manim Rectangle( stroke_color = config.background_color, fill_color = color_gradient((nord_darkest_black, nord_darker_black), 2), fill_opacity=1.0).set_sheen_direction(DOWN+RIGHT)
1
38
Para saber quando sua branch atual divergiu da principal: main=$(git branch -r | rg -o -e "HEAD -> .*/(.*)$" -r '$1'); curr=$(git rev-parse --abbrev-ref HEAD); bisect=$(git merge-base "${main}" "${curr}"); git log --oneline --graph --decorate ${main} ${curr} ${bisect}^!
9
Faça o `git blame` ignorar um arquivo de apenas formatação. .git-blame-ignore-revs: ``` #commit SHA: 1234af5 ``` git config blame.ignoreRevsFile .git-blame-ignore-revs Answer: How do I run a code formatter over my source without modifying git history? stackoverflow.com/a/69118451…
14
This doesn't throw the TypeError: object of type 'NoneType' has no len(). >>> my_list = None >>> print(f"|list|={len(my_list) if my_list else 0}") |list|=0
13
Ganhei a medalha #MechanicalMarch com 5 exercícios em Rust para o #12in23 do @exercism_io. O gist abaixo ajuda a executar o test de unidade do Rust dentro de um docker. gist.github.com/mfurquimdev/… Dessa forma você não precisa configurar o ambiente local. exercism.org/profiles/mfurqu…
2
40
Concluí 5 exercícios de Elixir para o desafio #12in23 do #exercism. O gist abaixo ajuda a executar o test de unidade do Elixir dentro de um docker. gist.github.com/mfurquimdev/… Dessa forma você não precisa configurar o ambiente local. Perfil: exercism.org/profiles/mfurqu….
1
25
Not gonna lie, I do feel that @Slidevjs will become the project that I am most proud of, ever. The video below showing you around 15% of its features at this stage. More to come in the following days. 😉 youtu.be/eW7v-2ZKZOU
10
54
6
386
Crie um arquivo csv ao lado do script #Python executado from pathlib import Path all_reports_filepath = Path(__file__).parent.joinpath("arquivo.csv")
1
16
I just completed "Calorie Counting" - Day 1 - Advent of Code 2022 adventofcode.com/2022/day/1 #AdventOfCode
1
1
$ bat --list-themes | fzf --preview="bat --theme={} --color=always main.py"
1
from enum import Enum class Salary(Enum): LEQ_50K = "<=50K" GT_50K = ">50K" @validator("salary") def _validate_salary(self, salary) -> Salary: if salary not in [v.value for v in Salary]: raise InvalidValueError(salary, Salary)
1
Thought you might enjoy this course on @Udemy: Real world DevOps project from start to finish udemy.com/share/107rt63@ufFz…
1
Escrevi um comentário em um artigo sobre git alias. git ld é meu alias para me mostrar qual o commit em que minha branch divergiu da main. dev.to/mfurquimdev/comment/2…
1
1
com `paste` é possível unir dois arquivos, linha por linha: f1.txt | f2.txt -------|------- lf11 | lf21 lf12 | lf22 lf13 | lf23 result.txt ---------- lf11 lf21 lf12 lf22 lf13 lf23 stackoverflow.com/questions/…
1
1
Depois de mover um estilo do LaTeX para o diretório `/usr/share/texmf-dist/tex/latex/beamer/`, é preciso executar o comando `sudo texhash` para o LaTeX reconhecer o novo estilo.
2