Skip to content

Instantly share code, notes, and snippets.

View ptvandi's full-sized avatar

Andi Wilson ptvandi

View GitHub Profile
#! /bin/bash
######################################################################
#
# This script generates an SSL certficate for local development. To
# execute the script, run `bash create-dev-ssl-cert.sh`. Sudo is
# needed to save the certificate to your Mac KeyChain. After the cert
# is generated, you can use `HTTPS=true yarn start` to run the web
# server.
#
<!DOCTYPE html>
<html>
<head>
<title>iFrame Test</title>
</head>
<body>
<iframe src="https://embed.promethean.tv?channel=5e74fe883240e97363739e38&debug=true"
width="1280"
height="720"
lan="en"
// src/components/Task.stories.js
import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import Task from './Task';
function buildStory(attrs) {
const task = {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>VisualOn Player Test</title>
<style>
html,
body {
width: 100%;
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>IGN</title>
<style>
html, body {
width: 100%;
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<!-- Include your Sportradar player -->
<script src="//avplayer-cdn.sportradar.com/dist/latest/avvpl-player.js"></script>
<!-- Include Promethean SDK after your player -->
<!DOCTYPE html>
<head>
<meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Include your Sportradar player -->
<script src="//avplayer-cdn.sportradar.com/dist/latest/avvpl-player.js"></script>
<!-- Include Promethean SDK after your player -->
<script src="https://cdn.promethean.tv/sdk/latest/ptv.js"></script>
<link rel="stylesheet" type="text/css" href="//avplayer-cdn.sportradar.com/dist/latest/styles.css" />
<title>Promethean Testing</title>
@ptvandi
ptvandi / create-universal-framework-swift.sh
Last active March 2, 2022 20:11
Create universal frameworks that include binaries for use in an iOS simulator or device.
#!/bin/sh
######################################################################
#
# Create universal frameworks that include binaries for use in an iOS
# simulator or device.
#
#
# Author: Andi Wilson
# Created: 03/01/2018