Skip to content

Instantly share code, notes, and snippets.

@walia
walia / vroom-htb-validator.js
Created April 21, 2020 19:05
ix adapter work
'use strict';
////////////////////////////////////////////////////////////////////////////////
// Dependencies ////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
var Inspector = require('../../../libs/external/schema-inspector.js');
////////////////////////////////////////////////////////////////////////////////
// Main ////////////////////////////////////////////////////////////////////////
@walia
walia / payload.json
Created January 15, 2019 15:48
payload
{
"partnerId": 123,
"slots": [
{
"name": "desktop_leaderboard_variable",
"transactionId": "f8a73137-f9b0-4296-becb-416ffbdd6d3f",
"sizes": [[728, 90], [970, 250], [970, 90], [1020, 90]]
},
{
"name": "btf_leaderboard_variable",
@walia
walia / gist:dc821ea0916c18a8d3534d9ecec03a12
Created May 31, 2018 19:40
processed hymnal ads for duplicate fields (05/30-05/31)
column 1 : hymnal id
column 2: parent field guid
column 3: field type
column 4: total field values found under parent field
column 5: field value ids selected to be deleted
Processing format: (IN QA) Athena (Catalogue) (21488)
28245 | f4a8ae8a-b1df-4d53-8891-8a9e360c0bd7 | Field::Image | 2 | 734987
28677 | f4a8ae8a-b1df-4d53-8891-8a9e360c0bd7 | Field::Image | 2 | 483296
@walia
walia / gist:9fe93451d34fd4c8c0c76c084d8de3c4
Last active May 22, 2018 19:16
processed hymnal ads for duplicate fields
column 1 : hymnal id
column 2: parent field guid
column 3: field type
column 4: total field values found under parent field
column 5: field value ids selected to be deleted
Processing format: [Deprecated] Athena (Accordion) (1)
3291 | b1ec25f2-f115-4d41-a4c5-23032ae6e727 | Field::Text | 2 | 152049
3297 | b1ec25f2-f115-4d41-a4c5-23032ae6e727 | Field::Text | 2 | 152498
13776 | b6048c11-c518-4d35-9079-2e6a957ecab9 | Field::Text | 2 | 160541
/**
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
{
"community": {
"id": 32,
"name": "True Blue LA",
"domain": "truebluela.com",
"time_zone": "America/Los_Angeles",
"color_primary": "#3b79be",
"color_accent": "#193860"
},
"team": {
https://www.vox.com/policy-and-politics/2018/1/19/16905762/government-shutdown-democrats?chorus_ads_disable_refresh=1&google_preview=TlMsr3IXaGAYsv7l1AUwspqb3AWIAYCAgKDrvcbRFw&iu=172968584&gdfp_req=1&lineItemId=104533264&creativeId=138223092857
https://www.vox.com/?google_preview=BaAa309-m3IYmefl1AUwmYOb3AWIAYCAgKDrvYbkrAE&iu=172968584&gdfp_req=1&lineItemId=4353762446&creativeId=138211112737
/**
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@walia
walia / mrss-feed.xml
Last active October 11, 2022 09:08
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:dfpvideo="http://api.google.com/dfpvideo">
<channel>
<title>Delta MRSS feed</title>
<description>Published Videos from Vox Media's Volume</description>
<pubDate>Mon, 05 Jun 2017 15:48:14 +0000</pubDate>
<atom:link rel="self" href="https://staging3-volume.voxmedia.com//feed/delta-mrss-feed/index.xml?page=1"/>
<openSearch:totalResults>7</openSearch:totalResults>
<openSearch:startIndex>1</openSearch:startIndex>
<!doctype html>
<html lang="en">
<head>
<script src="mraid.js"></script>
<script type="text/javascript">
function setupAd() {
var image = document.getElementById('Apple News_Vox_Media_MREC_iPhone');
var expandedImage = document.getElementById('expanded');