Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am claudioluciano on github.
  • I am claudioluciano1 (https://keybase.io/claudioluciano1) on keybase.
  • I have a public key ASBUykjsN9S7UiCWOgKsImT0PQdkXP4N59_H6MUaj6M3Wwo

To claim this, I am signing this object:

@claudioluciano
claudioluciano / spoiler_obsidian.css
Last active December 1, 2024 18:45
Obsidian - snippet to create spoilers on notes
:root {
--spoiler-bg-color: rgb(23, 23, 26);
--spoiler-border-radius: 2px;
--spoiler-transition-duration: 0.3s;
--spoiler-transition-timing: ease-in-out;
}
/* Document */
/* Hide the checkbox */
@claudioluciano
claudioluciano / tag_increment.sh
Created August 9, 2023 14:42
List all tags and increment the version in a repo with tags for packages
# This code will get the latest tag for a package and increment it by one.
# The function get_latest_tags will get all the tags for a package
# The function get_latest_tag_for_package will get the latest tag for a package
# Then the latest tag will be incremented by one using awk and sed
#!/bin/bash
get_latest_tags() {
git for-each-ref --sort=-taggerdate --format '%(refname:short)' refs/tags/*/**
}