- Hosted on s3 (3 environments on 3 buckets dev/uat/production)
- Static site generator based on http://harpjs.com/
- Gulp based deploy scripts to push to dev and UAT
- Wordpress site
- Primary repo for the project
// -------------------------------------------------------------------------- | |
// Initialise media query order | |
// -------------------------------------------------------------------------- | |
@include media($large-desktop-down) { /* */ } | |
@include media($desktop-down) { /* */ } | |
@include media($tablet-down) { /* */ } | |
@include media($mobile-down) { /* */ } | |
@include media($mobile-up) { /* */ } |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
## _._ _..._ .-', _.._(`)) | |
## '-. ` ' /-._.-' ',/ | |
## ) \ '. | |
## / _ _ | \ | |
## | a a / | | |
## \ .-. ; | |
## '-('' ).-' ,' ; | |
## '-; | .' | |
## \ \ / | |
## | 7 .__ _.-\ \ |
<a href="http://communitynews.com.au/joondalup-times/news/plea-made-for-underpass/" class="card card-medium post-5045 post type-post status-publish format-standard hentry category-news publication-joondalup-times"> | |
<article itemscope="" itemtype="http://schema.org/NewsArticle"> | |
<figure class="card-image" itemprop="image"><img class="card-image-image" alt="Plea made for underpass" src="http://communitynews.staging.hellorare.digital/wordpress/assets/d447392cWT-500x300.jpg"></figure> | |
<header class="card-header"> | |
<h3 class="card-title" itemprop="name">Plea made for underpass</h3> | |
<div class="card-tags"> | |
<span class="tag tag-news" itemprop="articleSection">Top Stories</span> | |
</div> |
<article class="section post-5045 post type-post status-publish format-standard hentry category-news publication-joondalup-times" id="article-5045" itemscope="" itemtype="http://schema.org/Article"> | |
<header class="article-header"> | |
<h1 class="article-title" itemprop="name">Plea made for underpass</h1> | |
<div class="article-meta"> | |
<time class="article-meta-section article-meta-section-time" datetime="2015-12-10" itemprop="datePublished">December 10th, 2015, 12:30AM</time> | |
@mixin nth-delay($delay: 200ms) { | |
@for $i from 1 through 20 { | |
&:nth-child(#{$i}) { | |
animation-delay: (0.2s * $i); | |
} | |
} | |
} |
let table = data.split(/\r?\n/).map(line => line.split(/\t/).map(Number)) | |
let checkSum = table.reduce( | |
(prev, line) => (prev += Math.max(...line) - Math.min(...line)), | |
0, | |
) | |
console.log(checkSum) |
let table = data.split(/\r?\n/).map(line => line.split(/ /)) | |
let result = table.reduce((prev, line) => { | |
let seen = new Set() | |
let hasDuplicates = line.some(current => seen.size === seen.add(current).size) | |
return (prev += hasDuplicates ? 0 : 1) | |
}, 0) |