Skip to content

Instantly share code, notes, and snippets.

<blockquote class="tiktok-embed" cite="https://www.tiktok.com/@jalopnik_/video/6781864386463108357" data-video-id="6781864386463108357" style="max-width: 605px;min-width: 325px;">
<section> <a target="_blank" title="@jalopnik_" href="https://www.tiktok.com/@jalopnik_">@jalopnik_</a>
<p>David Tracy and Kristen Lee found a phone number in a <a title="junkyard" target="_blank" href="https://www.tiktok.com/tag/junkyard">#junkyard</a> <a title="pontiac" target="_blank" href="https://www.tiktok.com/tag/pontiac">#Pontiac</a> #Aztec. So they called it. Watch the full <a title="video" target="_blank" href="https://www.tiktok.com/tag/video">#video</a> on Jalopnik.com <a title="cars" target="_blank" href="https://www.tiktok.com/tag/cars">#cars</a> <a title="prank" target="_blank" href="https://www.tiktok.com/tag/prank">#prank</a></p> <a target="_blank" title="♬ original sound - jalopnik_" href="https://www.tiktok.com/music/original-sound-6781841884697398021">♬ original sound - jalopnik_</a>
</section>
</
<iframe
src="/proxy/iframe?url=https%3A%2F%2Fwww.tiktok.com%2Fembed%2F###################"
/></iframe>

Overview

Using the existing curation endpoint, we can save/load a CustomHeader item that will be used to store the attributes that can be consumed at page render to create the desired customized header look.

The CustomHeader item could look something like this:

{
    "itemType": "CustomHeader",
    "itemData": {
        "backgroud": {

Where to Find Me

   
@BriceShatzer
BriceShatzer / index.js
Last active November 26, 2018 20:13
Team Lunch - Chess ELO
const EloCalc = require('elo-calculator');
const elo = new EloCalc({});
// let names = [
// 'Brice Shatzer',
// 'Bryce Dorn',
// 'Danny Cheng',
// 'Jamie Levinson',
// 'Joe Duran',
// 'Mike Parent',
@BriceShatzer
BriceShatzer / index.js
Created November 20, 2018 20:33
NotedDistantProtocol created by BriceShatzer - https://repl.it/@BriceShatzer/NotedDistantProtocol
const EloCalc = require('elo-calculator');
const elo = new EloCalc({});
// let names = [
// 'Brice Shatzer',
// 'Bryce Dorn',
// 'Danny Cheng',
// 'Jamie Levinson',
// 'Joe Duran',
// 'Mike Parent',
// @flow
import React from 'react';
import styled from 'styled-components';
import { EnsureDefaultTheme } from '../../theme';
import PopularPostOverlay, { Overlay } from '../popular-posts/popular-post-overlay';
import ProgressiveImage from '../../progressive-image';
import type SidebarPost from 'kinja-magma/models/SidebarPost';
import Video from '../../elements/video';
var amazon_assoc_ir_f_call_associates_ads = function(d) {
var b = "", c, a;
if (typeof JSON !== "undefined") {
a = JSON.stringify(d);
} else {
if (typeof amzn_assoc_utils !== "undefined") {
a = amzn_assoc_utils.stringify(d);
} else {
return;
}
2 Abrade
2 Aether Hub
2 Chandra, Torch of Defiance
2 Field of Ruin
1 Fling
7 Forest
2 Ghalta, Primal Hunger
2 Hashep Oasis
3 Heart of Kiran
2 Heroic Intervention
//...
import com.kinja.mantle.model.BlogSalesMetadata
//...
@template("tiger.section.head.standard")
final case class Standard(
//...
blogSalesObj: Option[BlogSalesMetadata])(implicit request: RequestPlus[_]): Standard = {
object Standard {