I hereby claim:
- I am r-k-b on github.
- I am robkb (https://keybase.io/robkb) on keybase.
- I have a public key whose fingerprint is 219F AA0B B5CE 3286 5F51 4FCF 7094 56F8 1B22 4646
To claim this, I am signing this object:
// ==UserScript== | |
// @name Show BC form field name in Admin | |
// @namespace https://gist.github.com/r-k-b/ | |
// @version 1.0.0 | |
// @description Show BC form field name in Admin UI | |
// @author Robert K. Bell | |
// @homepage https://gist.github.com/r-k-b/329d1fb5cbf4de0f7d3f322a5ecc1cbe | |
// @downloadURL https://gist.github.com/r-k-b/329d1fb5cbf4de0f7d3f322a5ecc1cbe/raw/show-bc-field-name-in-admin.user.js | |
// @match https://*.worldsecuresystems.com/* | |
// @grant none |
// ramda 0.22.1 | |
// typescript 2.0.3 | |
import {pipe, add, multiply, identity} from 'ramda'; | |
// both f1 & f2 are valid JS, but typescript doesn't like f1... | |
// `Error:(13, 10) TS2346:Supplied parameters do not match any signature of call target.` | |
let x = 3; |
I hereby claim:
To claim this, I am signing this object:
// Get a list of the start and end dates of the relative month, as ISO 8601 formatted dates. | |
// | |
// E.g.: | |
// ``` | |
// { | |
// "2016-09-01", | |
// "2016-09-31" | |
// } | |
// ``` | |
// |
let | |
yearsList = {2012..2099}, | |
months = {1..12}, | |
CalcMonthOffset = (dateA as date, dateB as date) as number => let | |
ordA = Date.Year(dateA) * 12 + Date.Month(dateA), | |
ordB = Date.Year(dateB) * 12 + Date.Month(dateB), | |
result = ordA - ordB | |
in |
(function(){ | |
function hasId(elem) { | |
return !!elem.id && elem.id.length > 0 | |
} | |
function ancestorsHaveNoId(elem) { | |
return !(hasId(elem) || hasId(elem.parentNode) || hasId(elem.parentNode.parentNode)) | |
} | |
let links = [].slice.call(document.querySelectorAll('a')); |
/* Tweak Trello for better card title visibility when chromecast'd to TVs. */ | |
/* https://gist.github.com/r-k-b/5b65b6172ccea201db3183da9b712419 */ | |
#board { | |
margin-bottom: 0; | |
padding-bottom: 0; | |
} | |
#header { |