This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
| // modified from code of "JQuerify" bookmarklet | |
| // http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet | |
| (function() { | |
| function z(a, b) { | |
| var c = document.createElement("script"); | |
| c.src = a; | |
| var d = document.getElementsByTagName("head")[0], e = !1; | |
| c.onload = c.onreadystatechange = function() { | |
| !e && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") && (e = !0, b(), c.onload = c.onreadystatechange = null, d.removeChild(c)); | |
| }; |
This document now exists on the official ASP.NET core docs page.
| using System; | |
| using System.Text; | |
| namespace Typography.Extensions | |
| { | |
| /// <summary> | |
| /// Contains extension methods for adding soft hyphens. | |
| /// </summary> | |
| public class SoftHyphenHelperExtensions |
| :root { | |
| --phi: 1.618033988749895; | |
| --perfect-fourth: calc(4/3); | |
| } | |
| html { | |
| line-height: 1.5; | |
| line-height: var(--phi); | |
| } |
| /* ---------------------------------------------------------- */ | |
| /* */ | |
| /* A media query that captures: */ | |
| /* */ | |
| /* - Retina iOS devices */ | |
| /* - Retina Macs running Safari */ | |
| /* - High DPI Windows PCs running IE 8 and above */ | |
| /* - Low DPI Windows PCs running IE, zoomed in */ | |
| /* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
| /* - Android hdpi devices and above */ |
To:
Their Data Protection Officer, usually [email protected]
Subject:
Request for erasure (GDPR)
| // | |
| // Call this function and pass in the name of the font you want to check for availability. - https://www.kirupa.com/html5/detect_whether_font_is_installed.htm | |
| // | |
| function doesFontExist(fontName) { | |
| // creating our in-memory Canvas element where the magic happens | |
| var canvas = document.createElement("canvas"); | |
| var context = canvas.getContext("2d"); | |
| // the text whose final pixel size I want to measure | |
| var text = "abcdefghijklmnopqrstuvwxyz0123456789"; |
| //--------------------------------------------------------------------------- | |
| /** | |
| * ReinventTheWheel | |
| */ | |
| //--------------------------------------------------------------------------- | |
| // private ReinventTheWheel(): void | |
| // { | |
| // const html = document.documentElement; |