Heavily informed by the work of @katowulf in this gist - https://gist.github.com/katowulf/f264e7e0c7b8cefd1bcf/eddbadfbafe9e1fe658c51e43e25ac51e26d65b6
MIT
- Angular === 1.5.0
- Firebase === 2.4.1
| { | |
| "stage" : "$context.stage", | |
| #foreach( $key in $input.path('$').keySet() ) | |
| "$key": "$input.path('$').get($key)"#if($foreach.hasNext), | |
| #end | |
| #end | |
| } |
Heavily informed by the work of @katowulf in this gist - https://gist.github.com/katowulf/f264e7e0c7b8cefd1bcf/eddbadfbafe9e1fe658c51e43e25ac51e26d65b6
MIT
| var gulp = require('gulp'); | |
| var electron = require('gulp-atom-electron'); | |
| var del = require('del'); | |
| gulp.task('clean:dist', function () { | |
| return del(['dist/**', '!dist']); | |
| }) | |
| gulp.task('default',['clean:dist'], function () { | |
| var electronConfig = { version: '0.33.6', platform: 'darwin', token: '326cd8521a4fa11371bb89e1bec56a03f704a7e5' }; |
| <title><?php | |
| if (is_home () ) { echo sprintf('The %s Blog', get_bloginfo(‘name’)); } | |
| elseif ( is_category() ) { single_cat_title(); echo ‘ - ‘ ; bloginfo(‘name’); } | |
| elseif (is_single() ) { echo sprintf('%s – The %s Blog', single_post_title(false), get_bloginfo(‘name’));} | |
| elseif (is_page() ) { single_post_title();} | |
| else { wp_title('',true); echo sprintf(' Blog – %s', get_bloginfo(‘name’));} | |
| ?></title> |
| // requires Underscore.js | |
| // uses jQuery style funciton declaration (if you aren't using jQuery, simply re-arrange the declaration) | |
| function sum(arr) { | |
| // returns the sum total of all values in the array | |
| return _.reduce(arr, function(memo, num) { return memo + num}, 0); | |
| } | |
| function average(arr) { | |
| // returns the average of all values in the array |
| function unregister_default_wp_widgets() { | |
| unregister_widget('WP_Widget_Pages'); | |
| unregister_widget('WP_Nav_Menu_Widget'); | |
| unregister_widget('WP_Widget_Calendar'); | |
| unregister_widget('WP_Widget_Archives'); | |
| unregister_widget('WP_Widget_Links'); | |
| unregister_widget('WP_Widget_Meta'); | |
| unregister_widget('WP_Widget_Search'); | |
| unregister_widget('WP_Widget_Categories'); | |
| unregister_widget('WP_Widget_Recent_Comments'); |
| <div class="container"> | |
| <ul class="flip minutePlay"> | |
| <li> | |
| <a href="#"> | |
| <div class="up"> | |
| <div class="shadow"></div> | |
| <div class="inn">0</div> | |
| </div> | |
| <div class="down"> |