Skip to content

Instantly share code, notes, and snippets.

View igorfarias30's full-sized avatar
🎸
Composing beautiful lines of codes and songs, I hope.

Igor Farias igorfarias30

🎸
Composing beautiful lines of codes and songs, I hope.
View GitHub Profile
void Main()
{
var container = new DependencyContainer();
container.AddTransient<HelloService>();
container.AddTransient<ServiceConsumer>();
container.AddSingleton<MessageService>();
var resolver = new DependencyResolver(container);
var service = resolver.GetService<HelloService>();
@igorfarias30
igorfarias30 / .gitconfig
Last active October 25, 2023 18:20
Git configuration
[user]
name = [SeuNome]
email = [SeuEmail]
[core]
editor = code -n -w
[alias]
last_changed = code $(git diff-tree --no-commit-id --name-only -r HEAD)
alias = !git config --get-regexp ^alias\. | sed -e s/^alias\.// -e s/\ /\ =\ /
fetchall = fetch --all --prune
lognice = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -10