enable-pre-post-scripts = true
pnpm config set enable-pre-post-scripts true
# install DSPy: pip install dspy | |
import dspy | |
# Ollam is now compatible with OpenAI APIs | |
# | |
# To get this to work you must include `model_type='chat'` in the `dspy.OpenAI` call. | |
# If you do not include this you will get an error. | |
# | |
# I have also found that `stop='\n\n'` is required to get the model to stop generating text after the ansewr is complete. | |
# At least with mistral. |
// ==UserScript== | |
// @name Google Meet Spacebar PTT | |
// @namespace https://github.com/mikerawding | |
// @version 0.1 | |
// @description Use Spacebar as Push-To-Talk for Google Meet | |
// @author Mike Rawding | |
// @match https://meet.google.com/* | |
// @grant none | |
// ==/UserScript== |
zip -r popsicle-sticks-mini.zip popsicle-sticks-mini -x "*.DS_Store" "*.svg" \*.git\* "*README.md" \*src/img/cws\* |
// MIT Licensed | |
// Author: jwilson8767 | |
/** | |
* Waits for an element satisfying selector to exist, then resolves promise with the element. | |
* Useful for resolving race conditions. | |
* | |
* @param selector | |
* @returns {Promise} | |
*/ |
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...