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 |
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:'], |