$ brew install chmlib $ extract_chm infile outfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface SRMtoRGBMap { | |
| [key: string]: string; | |
| } | |
| const srmToRgbMap: SRMtoRGBMap = { | |
| "0.1": "248,248,230", | |
| "0.2": "248,248,220", | |
| "0.3": "247,247,199", | |
| "0.4": "244,249,185", | |
| "0.5": "247,249,180", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jest.mock('styled-components', () => { | |
| const domElements = [ | |
| 'a', | |
| 'abbr', | |
| 'address', | |
| 'area', | |
| 'article', | |
| 'aside', | |
| 'audio', | |
| 'b', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Adapted from EASING EQUATIONS by Robert Penner | |
| // @see https://easings.net/ | |
| // TERMS OF USE - EASING EQUATIONS | |
| // | |
| // Open source under the BSD License. | |
| // | |
| // Copyright © 2001 Robert Penner | |
| // All rights reserved. | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Appends a stylesheet to document.body (<link rel="stylesheet" type="text/css" href="some-url" />) | |
| * @param stylesheetUrl String URL to stylesheet | |
| * @param cacheBust Function Rand-function that creates a string that will be appended to the stylesheet url to bust browser caching | |
| * @return void | |
| */ | |
| const setStylesheetDynamically = (stylesheetUrl: string, cacheBust?: () => string): void => { | |
| const stylesheet = document.createElement("link"); | |
| stylesheet.setAttribute("rel", "stylesheet"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| interface CircleProgressProps { | |
| progress: number; | |
| diameter?: number; | |
| strokeWidth?: number; | |
| className?: string; | |
| progressBackgroundColor?: string; | |
| progressBarColor?: string; | |
| rotation?: number; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type UUID = string; | |
| function isUuid(uuid: string): uuid is UUID { | |
| return ( | |
| uuid.match(/^[0-9A-Fa-f]{8}(?:-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}$/) | |
| ?.length > 0 | |
| ); | |
| } | |
| export default UUID; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let i18nStrings: Object, currentLanguage: string; | |
| // Replace ${var} with {var: 'This Value'} | |
| function simpleStrReplace(str, replace = {}, failWithThrow = false) { | |
| return str.replace(/\$\{(.*?)\}/g, (match) => { | |
| match = match.substring(2, match.length - 1); | |
| return replace[match] || `??[${match}]??`; | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __b = window | |
| __z = [115, 101, 116, 84, 105, 109, 101, 111, 117, 116].map((i) -> return String.fromCharCode(i)) | |
| sa = 'UGV0dGVyLCB5b' | |
| __rnd = (z, x, y, r) -> | |
| if not (y? or r?) then return (~~(Math.random() * (x - z + 1)) + z) else return sa + r + Math.random().toString(36) | |
| cnonce = __rnd(1 + (50 >> 7), -1 * (50 >> 7) + 1) | |
| a = (49 << cnonce) + 1 | |
| b = (223 >> cnonce) | |
| x = (115 >> 1) * 2 + cnonce | |
| xsa = __rnd(a, x, sa, cnonce) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors &> /dev/null & |
NewerOlder