Skip to content

Instantly share code, notes, and snippets.

@Burnsy
Burnsy / .meshrc.yaml
Last active Apr 6, 2021
GraphQL Mesh Implementation of ideal-postcodes.co.uk
View .meshrc.yaml
sources:
- name: idealPostcodes
handler:
openapi:
source: https://openapi.ideal-postcodes.dev/openapi.yaml
baseUrl: https://api.ideal-postcodes.co.uk/v1/
operationHeaders:
Authorization: IDEALPOSTCODES api_key="XXXXXXX"
serve:
port: 8912
@Burnsy
Burnsy / SEO.tsx
Created Mar 29, 2021
Redwood SEO tag
View SEO.tsx
import { ReactElement } from 'react'
import { Helmet } from 'react-helmet'
export interface SEOProps {
/**
* If `true`, the button will show a spinner.
*/
title?: string
description?: string
}
@Burnsy
Burnsy / example.html
Created Oct 17, 2018 — forked from steve228uk/example.html
Deeplink Youtube
View example.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script type="text/javascript">
window.onload = function() {
@Burnsy
Burnsy / wallet-animation.js
Created Sep 3, 2018 — forked from wcandillon/wallet-animation.js
React Native Apple Wallet Animation
View wallet-animation.js
import React from "react";
import {
StyleSheet,
Text,
View,
ScrollView,
Animated,
SafeAreaView,
Dimensions
} from "react-native";