#Make-A-Twitter-Bot Workshop
Session led by Allison Parrish
##Some of my bots
- Power Vocab Tweet (markov chains)
- Library of Emoji (context-free grammars)
- Egress Methods (CMU pronouncing dictionary)
- Eventually Bot
| <?php | |
| /** | |
| * Instructions: | |
| * | |
| * 1. Put this into the document root of your Kirby site | |
| * 2. Make sure to setup the base url for your site correctly | |
| * 3. Run this script with `php statify.php` or open it in your browser | |
| * 4. Upload all files and folders from static to your server | |
| * 5. Test your site |
#Make-A-Twitter-Bot Workshop
Session led by Allison Parrish
##Some of my bots
This document is an attempt to pin down all the things you don't think about when quoting for a project, and hopefully provide a starting point for some kind of framework to make quoting, working and delivering small-medium jobs more predictable and less stressful.
| module.exports = async (params) => { | |
| console.log("Starting...") | |
| console.log(params); | |
| const currentFile = params.app.workspace.getActiveFile(); | |
| if (!currentFile) { | |
| new Notice("No active file."); | |
| return; | |
| } | |
| console.log("Found active file: ", currentFile.basename); |
| /** | |
| * This code has been adapted from a Custom Airtable Block written by: https://github.com/TheF1rstPancake/AirtableOpenAPICustomBlock | |
| */ | |
| /** | |
| * Map Airtable datatypes to the corresponding OPENAPI datatypes | |
| * If Airtable adds more data types over time, we will need to add them here | |
| */ | |
| const AIRTABLE_TO_OPENAPI_DEFS = { |