Skip to content

Instantly share code, notes, and snippets.

View drod3763's full-sized avatar

Derick Rodriguez drod3763

View GitHub Profile
@drod3763
drod3763 / pandoc.css
Created February 26, 2024 22:16 — forked from killercup/pandoc.css
Add this to your Pandoc HTML documents using `--css pandoc.css` to make them look more awesome. (Tested with Markdown and LaTeX.)
/*
* I add this to html files generated with pandoc.
*/
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
@drod3763
drod3763 / javascript-proxy-as-rest-client.js
Created March 20, 2022 01:01 — forked from DavidWells/javascript-proxy-as-rest-client.js
Using a javascript proxy as low code REST client
/* Using a JavaScript proxy for a super low code REST client */
// via https://dev.to/dipsaus9/javascript-lets-create-aproxy-19hg
// also see https://towardsdatascience.com/why-to-use-javascript-proxy-5cdc69d943e3
// also see https://github.com/fastify/manifetch
// also see https://github.com/flash-oss/allserver
// and https://gist.github.com/v1vendi/75d5e5dad7a2d1ef3fcb48234e4528cb
const createApi = (url) => {
return new Proxy({}, {
get(target, key) {
@drod3763
drod3763 / keybase.md
Created October 14, 2017 00:20
Keybase Proof

Keybase proof

I hereby claim:

  • I am drod3763 on github.
  • I am drod (https://keybase.io/drod) on keybase.
  • I have a public key ASBqbK9LWJTKNJnXzEznD6C4AopVc8KV_RaQ9Fnvc6tJbQo

To claim this, I am signing this object: