Skip to content

Instantly share code, notes, and snippets.

// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';
@juvoni
juvoni / gist:c67bca83130a8d1fd505f2a67fa8356d
Created July 7, 2016 04:26
Use Mental Model Links - Gabriel Weinberg
https://en.wikipedia.org/wiki/Hanlon%27s_razor
https://en.wikipedia.org/wiki/Occam%27s_razor
https://en.wikipedia.org/wiki/Cognitive_bias
https://en.wikipedia.org/wiki/First_principle
https://en.wikipedia.org/wiki/Proximate_and_ultimate_causation
https://en.wikipedia.org/wiki/Systems_thinking
https://en.wikipedia.org/wiki/Scenario_analysis
https://en.wikipedia.org/wiki/Power_law
https://en.wikipedia.org/wiki/Normal_distribution
https://en.wikipedia.org/wiki/Sensitivity_analysis
### Keybase proof
I hereby claim:
* I am juvoni on github.
* I am juvoni (https://keybase.io/juvoni) on keybase.
* I have a public key ASBfSIrphp19Dpy0bqtU1MaZvb-VcQUKC7hOu9tOnwNgtgo
To claim this, I am signing this object:
@juvoni
juvoni / juvoni-2020-package-snapshot
Created October 25, 2021 18:34
Juvoni.com gatsby 2.28 package snapshot
{
"name": "juvoni.com",
"description": "New Version of Juvoni Beckford.",
"version": "1.0.0",
"author": "Juvoni Beckford <readacted>",
"dependencies": {
"@emotion/core": "^10.1.1",
"@emotion/styled-base": "^10.0.31",
"@gatsbyonfire/components": "0.0.2",
"@gatsbyonfire/tailwind": "0.0.1",
@juvoni
juvoni / telegram_botfather-bm.md
Last active March 8, 2022 23:14
Burning Man Zapier to Telegram Bot
  1. Create an account on https://botfather.io/accounts/login/
  2. Message @BotFather in telegram
  3. Go through the bot creation process with /start. At the end you will receive a token, which you will need later on.
  4. Add the bot to your channel of choosing as an admin.
  5. Write a message so their is message history.
  6. Go to https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates and copy the id from the chat response.
  7. You send fetch post requests that have the token in the url and a chat id in the request body, as shown in the example below.
  8. You can use Code By Zapier, with a Javascript input to run a similar snippet.