Skip to content

Instantly share code, notes, and snippets.

View pronebird's full-sized avatar
🎯
https://www.youtube.com/watch?v=u3CKgkyc7Qo

Andrej Mihajlov pronebird

🎯
https://www.youtube.com/watch?v=u3CKgkyc7Qo
View GitHub Profile
@jon
jon / BPImageTransformer.h
Created February 3, 2010 22:21
An NSValueTransformer to convert images to/from serialized PNGs (for CoreData)
//
// BPImageTransformer.h
// Skates
//
// Created by Jon Olson on 2/3/10.
// Copyright 2010 Ballistic Pigeon, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@knu
knu / gist:111055
Created May 13, 2009 14:38
How to mass-rename tags and push them with Git
# Rename tags named foo-bar-#.#.# to v#.#.# and push the tag changes
git tag -l | while read t; do n="v${t##*-}"; git tag $n $t; git push --tags ; git tag -d $t; git push origin :refs/tags/$t ; done