Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin Renskers kevinrenskers

View GitHub Profile
View createbuild.sh
#!/bin/bash
ARCHIVE_DEST_PATH="./archive"
ARCHIVE_PACKAGE="$ARCHIVE_DEST_PATH.xcarchive"
# Remove old archive
if [ -f "$ARCHIVE_PACKAGE/Info.plist" ]; then
rm -r "$ARCHIVE_PACKAGE"
fi
@kevinrenskers
kevinrenskers / emoticonize
Created Mar 16, 2015
A simple emoticonize filter for AngularJS: translates emoticon codes and smileys to emoji
View emoticonize
angular.module('components.filters').filter('emoticonize', function emoticonize() {
'use strict';
// Try to stick to the emoticon codes as used by GitHub, Campfire, Basecamp, Flowdock, Slack.. etc.
// See http://www.emoji-cheat-sheet.com for a list.
var table = {
'🔥': [':fire:'],
'💩': [':shit:', ':hankey:', ':poop:'],
'🙏': [':pray:'],
@kevinrenskers
kevinrenskers / progress-button.less
Last active Jan 20, 2017
Progress button for AngularJS
View progress-button.less
/* General styles for all types of buttons */
.progress-button {
position: relative;
display: inline-block;
}
.progress-button .progress-button-content {
position: relative;
display: block;
}