Use this bookmarklet to load Ramda on any website. To "install":
-
Create a new bookmark in your bookmarks bar (what it points to doesn't matter, any page)
-
Edit the new bookmark and replace the
URL
with the following:
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="html.xsl"?> | |
<!DOCTYPE stylesheet [ | |
<!ENTITY nbsp " "> | |
<!ENTITY QUOTE "<xsl:text>"</xsl:text>"> | |
]><xsl:stylesheet | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xdoc="http://spiralx.org/2010/XMLDoc" | |
xmlns="http://www.w3.org/1999/xhtml" |
(() => { | |
function run(fns, a, b, exp, gn, iters = 100000) { | |
console.group(gn) | |
for (const fn of fns) { | |
const name = fn.name | |
if (fn(a, b) !== exp) { | |
console.warn(`ERROR: ${name}('${a}', '${b}') = %o`, fn(a, b)) |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
// Properties whose values have a CSS type | |
// of either <integer> or <number> | |
const CSS_NUMERIC_PROPERTIES = new Set([ | |
'animation-iteration-count', | |
'border-image-slice', | |
'border-image-outset', | |
'border-image-width', | |
'column-count', | |
'counter-increment', |
/* ==UserStyle== | |
@name angular.io | |
@description Sort out the horrible styling | |
@author James Skinner <[email protected]> (https://github.com/spiralx) | |
@namespace http://spiralx.org/ | |
@version 1.0.0 | |
@preprocessor stylus | |
@var text text-size "Text size" 13pt | |
@var text line-height "Line height" 1.5em |
// Place your settings in this file to overwrite the default settings | |
{ | |
"beautify.options": { | |
"end_with_newline": true, | |
"newline_between_rules": true, | |
"preserve_newlines": true, | |
"selector_separator_newline": true, | |
"space_around_combinator": true, | |
"space_around_selector_separator": true | |
}, |
// ==UserScript== | |
// @name Amazon - Offer page links | |
// @description Add link to offer page in item descriptions | |
// @author James Skinner <[email protected]> (http://github.com/spiralx) | |
// @namespace http://spiralx.org/ | |
// @version 1.1.0 | |
// @downloadURL https://gist.github.com/spiralx/e67700aa5f288ddd7cab9c78dbd1b1e6/amazon-offer-page-links.user.js | |
// @iconURL data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTJDBGvsAAAHvklEQVR4Xu1bPUwbSRROkQtg4/UP/sf2Yrz+Y0OMIUD4SezodDJFDiW6IEUiihSRComCjpImSoeEdNaBvQ7cWbm7+HQFDUpHR0fpjo7OHcopu77CvveWgUtgbO8S4zVSPumThT3z9s2bN++9mR1ufEMLsL6+zoxOTKR6HI4Vp8tVcLjdB991dhZdHk/VYrNV7S5X1WAyHcHvB87e3oLeaFyeSkwld3d3O4iI64n43buzDpdrp0OnO77Z0VFVS53BUOplWSEWi/FE5PXAwMDALGM2F2mDugw7dboqeEuB4zgbeUR7YmZmhgF3LtAG0Qx26fWl4dHRFHlceyGRSHh0DNO0Wa9FWE5SIBxuLyNMT0/bwE2vfPCnZEwmaXh4OEAerz2cbvceTdGrJD6TPF5bRHh+kaZgKzg5OTlB1NAGS0tLHXqG |
// ==UserScript== | |
// @name Reddit - Load 'Continue this thread' inline | |
// @description Changes 'Continue this thread' links to insert the linked comments into the current page | |
// @author James Skinner <[email protected]> (http://github.com/spiralx) | |
// @namespace http://spiralx.org/ | |
// @version 1.9.5 | |
// @downloadURL https://gist.github.com/spiralx/7ab95c47df98a5e79ce482f3285250a0/raw/6408eac4608d837eb735c2ffcc5fda4f1439513d/reddit-load-comments-inline.user.js | |
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiAAABYgAWToQQYAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAAF3SURBVDhP1ZI/SAJhGMZN3WpKOAgsKGiIoKWg0K2LXIJWj6DAhpAgKMiW7irBqziHbhYE12sLGtWGKHBx0kHcQrBJXNIz9e35vvsQoj841g9+fHy8z/PyHZzrXzANNbgKF2ASHsOhOYGTUIb3cBSq4hyKa3Ey2GsMeMRvvzALd+AVvIPbcAb+yAq8hBehUOgxnU5TtVol27ap3W5TpVKhVCpFsiw/IHMusstwgOHxeDZM07T7/T5Rr0vUfacBvR7uHWIzwzBayK+zDm8KktFo9FXEifaXiHbnxAXEZKKtqcHSSCTygs6nBYuWZfEhR1eI |
var Watcher = (function () { | |
'use strict'; | |
// ---------------------------------------------------- | |
var Css; | |
(function (Css) { | |
Css.Inverse = 'color: white; background: black'; | |
Css.Error = 'font-weight: bold; color: #f4f'; | |
Css.Link = 'color: #05f; font-weight: normal; text-decoration: underline'; | |
Css.Bold = 'font-weight: bold'; |