Skip to content

Instantly share code, notes, and snippets.

View paul-snively's full-sized avatar

Paul Snively paul-snively

  • Asheville, NC
View GitHub Profile

Notes on IAM (Identity and Access Management) and Zero-Trust Architecture

Overall ideas

@paul-snively
paul-snively / I_said_Svg.xslt
Created June 2, 2023 19:58
XSLT to transform SVG converted from PDF so it scales in an HTML5 img tag, per <https://css-tricks.com/scale-svg/>.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns='http://www.w3.org/2000/svg'
xmlns:svg='http://www.w3.org/2000/svg'
exclude-result-prefixes="xs"
version="1.1">
<xsl:template match="svg:svg[@viewBox]">
<xsl:copy>
<xsl:copy-of select="@*[name(.)!='height' and name(.) != 'width']" />
@paul-snively
paul-snively / index.ts
Created May 29, 2020 23:19
TypeScript, Cycle.js, Fluent UI React
import { Stream } from 'xstream';
import { run } from "@cycle/run";
import { ReactElement } from 'react';
import { h, ReactSource } from "@cycle/react";
import { makeDOMDriver, p } from "@cycle/react-dom";
import { PrimaryButton, IStackTokens, Stack } from '@fluentui/react';
export type Sources = {
readonly react: ReactSource;
};