Skip to content

Instantly share code, notes, and snippets.

@valorbreak
valorbreak / remove_tags.sh
Created July 24, 2018 20:21 — forked from hugorodgerbrown/remove_tags.sh
Git - remove all remote tags
# Sometimes tags get out of control - git apps (Tower, SourceTree, Github) can often add
# tags automatically (e.g. when merging branches) and over time your remote repo can become
# cluttered with irrelevant tags. The easiest way to clean this up is to get your local
# repo in order, delete all the remote repo tags, and then repush from local.
# Dump all local tags into a text file
git tag -l > tags.txt
# Remove all the tags you want to keep, leaving only those for deletion.
[vim | emacs | micro | sublime | ...] tags.txt
# Delete all the tags that are left
@valorbreak
valorbreak / config.json
Last active August 29, 2015 14:23 — forked from anonymous/config.json
Bootstrap Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}