Skip to content

Instantly share code, notes, and snippets.

View intere's full-sized avatar

Eric Internicola intere

  • Westminster, CO
View GitHub Profile
@intere
intere / comment directives
Last active January 3, 2016 14:39
Demonstration that Comment Based Directives get skipped if they are in the <head> section.
<!doctype html>
<html>
<head>
<!-- directive: head-comment-directive -->
<element-directive></element-directive>
</head>
<body ng-app="angularHeadApp">
<!-- directive: body-comment-directive -->
Head Comment Parent Node: {{headCommentParentName}}<br />
@intere
intere / post-archive-script.sh
Last active February 11, 2019 14:56
@macbellingrath pointed out that Xcode 10 had a change and line 80 needed to be updated.
#################################################################################################################################################
# post-archive-script.sh
#
# The purpose of this script is to create a universal binary for your framework
# Also - if there is a problem with steps in this script, then it should be
# easy to debug! Other scripts that this is based off of aren't so easy to debug.
#
#################################################################################################################################################
<style>#thermometer .title{font-size:20px;margin-top:0;text-align:center}#thermometer{height:auto;margin:0 auto;position:relative;width:auto}#thermometer .track{background:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgb(0,0,.5)),color-stop(1%,#fff));background:-webkit-linear-gradient(top,rgb(0,0,.5) 0,#fff 10%);background:-o-linear-gradient(top,rgb(0,0,.5) 0,#fff 10%);background:-ms-linear-gradient(top,rgb(0,0,.5) 0,#fff 10%);background:-moz-linear-gradient(top,rgb(0,0,.5) 0,#fff 10%);background:linear-gradient(to bottom,rgb(0,0,.5) 0,#fff 10%);background-position:0 -1px;background-size:30% 10%;border:2px solid #454545;border-bottom:0;border-top-left-radius:20px;border-top-right-radius:20px;box-sizing:border-box;top:10px;left:0;height:165px;margin:0 auto;position:relative;width:30px;z-index:2}#thermometer .goal-raised{top:4px}#thermometer .progress{background:#03a44f;border-right:2px solid rgba(0,0,0,.15);border-left:2px solid rgba(0,0,0,.15);position:absolute;bottom:0;left:0;rig