This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="featured-symbols"> | |
| <li class="featured-symbol" data-symbol="msa"> | |
| <h5 class="symbol-source">S&P 500 <span class="timestamp">3:42 PM (EST)</span></h5> | |
| <h4 class="symbol-price up" data-unit="$ & cents" data-quotes="Last">$115.33</h4> | |
| <h5 class="small-numbers"><span class="symbol-change" data-unit="$ & cents" data-quotes="Change">$1.14</span> (<span class="percentage" data-quotes="PercentChange"></span>)</h5> | |
| </li> | |
| <li class="featured-symbol" data-symbol="aapl"> | |
| <h5 class="symbol-source">S&P 500 <span class="timestamp">3:42 PM (EST)</span></h5> | |
| <h4 class="symbol-price up" data-unit="$ & cents" data-quotes="Last">$115.33</h4> | |
| <h5 class="small-numbers"><span class="symbol-change" data-unit="$ & cents" data-quotes="Change">$1.14</span> (<span class="percentage" data-quotes="PercentChange"></span>%)</h5> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Homepage Symbols | |
| .featured-symbols | |
| list-style: none | |
| display: flex | |
| padding: 0px | |
| margin: 0px | |
| justify-content: space-between | |
| border-bottom: 1px solid #c9c8c9 | |
| h1, h2, h3, h4, h5, h6 | |
| font-family: "Roboto", sans-serif !important |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $unit = $this->get_mapped_unit( $entity['data']['units'] ); | |
| $values = array_map( function($v) use ($unit) { | |
| if (strcmp($v, ".") !== 0) { | |
| return $v * $unit['multiplier']; | |
| } else { | |
| return null; | |
| } | |
| }, wp_list_pluck( $data, 'value' ) ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $data = array( | |
| 'interval' => strtotime( $data[1]->date ) - strtotime( $data[0]->date ), | |
| 'data' => $values, | |
| 'units' => $unit['unit'], | |
| 'start' => strtotime( $data[0]->date ), | |
| 'end' => strtotime( $to ), | |
| 'name' => $entity['name'], | |
| 'metric' => $metric['name'], | |
| 'source' => $entity['data']['source']['name'], | |
| 'observation_start' => $entity['data']['observation_start'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {inject, customAttribute, bindable} from 'aurelia-framework'; | |
| import {HttpClient} from 'aurelia-http-client'; | |
| import typeahead from 'typeahead'; | |
| import Rx from 'rx'; | |
| import 'styles/type-ahead.css!' | |
| @inject(Element, HttpClient) | |
| @bindable("value") | |
| @customAttribute('searcher') | |
| export class Searcher { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "query":{ | |
| "count":41, | |
| "created":"2013/12/02T13:09:27Z", | |
| "lang":"en-US", | |
| "results":{ | |
| "quote":[ | |
| { | |
| "date":"2013/11/29", | |
| "Date":"2013/11/29", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "avatar": "http://www.iconpng.com/png/windows8_icons2/biohazard.png", | |
| "name": "bot cutwail", | |
| "uname": "@cutwail", | |
| "followers": "51904740", | |
| "following": "134", | |
| "tweets": "5456" | |
| }, | |
| { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.