I hereby claim:
- I am jpgoldberg on github.
- I am jpgoldberg (https://keybase.io/jpgoldberg) on keybase.
- I have a public key whose fingerprint is 0D18 24B2 2FC6 6EA6 90CD 2809 1154 2BC0 DE87 9F23
To claim this, I am signing this object:
| # A less abstract version fo this was created for | |
| # quora answer https://qr.ae/psY5cy | |
| import pytest | |
| from numbers import Number | |
| def base_convert(x: int, radix: int) -> str: | |
| symbols = '0123456789abcdefghijklmnopqrstuvwxyz' | |
| if radix < 2 or radix > len(symbols): | |
| raise ValueError(f"radix must be in [2, {len(symbols)}]") |
| {"label":"Mypy","message":"checked","schemaVersion":1,"color":"blue"} |
| <!DOCTYPE html> | |
| <!-- This page was copied (and modified) from Royce Williams' | |
| https://royce.keybase.pub/proofs/mastodon.html --> | |
| <html lang="en-us"> | |
| <head> | |
| <title>Jeffrey Goldberg - Mastodon proofs</title> | |
| <meta charset="utf-8" /> | |
| <meta name="description" content="Mastodon proof for GitHub"> | |
| <meta name="language" content="en" /> |
| % (JPG) Modified Usenex-SOUPS style to use fontspec if running with XeLaTeX or LuaLaTeX | |
| % (JPG) Comments annoted with "(JPG)" are by Jeffrey P Goldberg, | |
| % (JPG) [email protected] (or [email protected]) | |
| % (JPG): | |
| % The goal is to make this style sheet work with using a pdftex engine, | |
| % (pdflatex) as well as XeTeX or LuaTeX (xelatex, lualatex) | |
| % with similar output | |
| % |
| #https://github.com/ateucher/useful_code/blob/master/R/numbers2words.r | |
| numbers2words <- function(x){ | |
| ## Function by John Fox found here: | |
| ## http://tolstoy.newcastle.edu.au/R/help/05/04/2715.html | |
| ## Tweaks by AJH to add commas and "and" | |
| helper <- function(x){ | |
| digits <- rev(strsplit(as.character(x), "")[[1]]) | |
| nDigits <- length(digits) | |
| if (nDigits == 1) as.vector(ones[digits]) |
I hereby claim:
To claim this, I am signing this object: