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)
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? https://t.co/UHH8zPn4ii
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
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.
https://t.co/lqGGeY3b2T
Dessa forma você não precisa configurar o ambiente local.
https://t.co/ufuaz355mT
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.
https://t.co/WmiSs3oKww
Dessa forma você não precisa configurar o ambiente local.
Perfil:
https://t.co/ufuaz355mT.
Big @pydantic Announcement 🚀
I've just closed a seed round led by @sequoia with @PartechPartners.
Here's the @TechCrunch article!
More info on https://t.co/t3bWAaNGLk
https://t.co/jU7f7fwegy
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. 😉
https://t.co/qAS7stGhyX
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)
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.
https://t.co/vANWEJ2ZW1