Skip to content

Instantly share code, notes, and snippets.

View jose-a-sa's full-sized avatar

Jose Sa jose-a-sa

View GitHub Profile
@jose-a-sa
jose-a-sa / .clang-format
Last active November 12, 2023 03:49
CPP
---
Language: Cpp
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignConsecutiveAssignments: None
AlignConsecutiveDeclarations: None
AlignOperands: false
AlignTrailingComments: false
AlwaysBreakTemplateDeclarations: Yes
BraceWrapping:
@jose-a-sa
jose-a-sa / profile.json
Last active April 23, 2020 02:15
Windows Terminal Profile
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"initialRows": 30,
@jose-a-sa
jose-a-sa / .bash_aliases
Last active September 16, 2021 14:29
WSL Config
## Colorize the ls output ##
alias ls='ls -h --color=auto'
## Use a long listing format ##
alias ll='ls -lhaG'
## Show hidden files ##
alias l.='ls -d .* --color=auto'
## get rid of command not found ##
@jose-a-sa
jose-a-sa / .gitattributes
Last active November 25, 2021 09:23
Git Config WSL
*.nb filter=dropoutput_nb
@jose-a-sa
jose-a-sa / .gitconfig
Last active October 18, 2020 17:59
Git Settings Windows
[user]
email =
name = Jose Sa
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
la = "!git config -l | grep alias | cut -c 7-"
ls = log --pretty=format:"%C(yellow)%h\\ %Cgreen%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
dlc = diff --cached HEAD^
mnoff = merge --no-ff