Skip to content

Instantly share code, notes, and snippets.

View SammyVimes's full-sized avatar
🗿
I am a teapot

Semyon Danilov SammyVimes

🗿
I am a teapot
  • YDB
  • Tenured Generation Heap
View GitHub Profile
@AnderWeb
AnderWeb / OneShotCancelableAnimatorListenerAdapter
Last active January 12, 2024 17:37
AnimatorListenerAdapter extension to bypass android 4.0.x bug where each method was called twice
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi;
/**
* Created by Gustavo Claramunt (AnderWeb) on 2014/07/10
*
*
*
* This class extends android.animation.AnimatorListenerAdapter to bypass 2 issues:
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active May 24, 2024 01:23
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName