Skip to content

Instantly share code, notes, and snippets.

Gabriel Adomnicai gabesoft

Block or report user

Report or block gabesoft

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gabesoft
gabesoft / gbr.fish
Last active Aug 31, 2019
Fish function for browsing the git commit using fzf and diff-so-fancy
View gbr.fish
function gbr --description "Git browse commits"
set -l log_line_to_hash "echo {} | grep -o '[a-f0-9]\{7\}' | head -1"
set -l view_commit "$log_line_to_hash | xargs -I % sh -c 'git show --color=always % | diff-so-fancy | less -R'"
set -l copy_commit_hash "$log_line_to_hash | xclip"
set -l git_checkout "$log_line_to_hash | xargs -I % sh -c 'git checkout %'"
set -l open_cmd "open"
if test (uname) = Linux
set open_cmd "xdg-open"
end
@gabesoft
gabesoft / dabblet.css
Last active Dec 31, 2015
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
.post-list {
list-style: none;
}
.feed-title {
text-transform: italic;
You can’t perform that action at this time.