Skip to content

Instantly share code, notes, and snippets.

@semanticentity
semanticentity / lewm.js
Last active May 5, 2025 16:46
LEWM: Loom, Except Without Money
javascript:(async function(){
if(!navigator.mediaDevices||!navigator.mediaDevices.getDisplayMedia){
alert("Screen recording not supported");
return;
}
var filename = prompt("Make sure you are in a tab other than the one you are recording.\nEnter filename (no extension):","lewm-recording");
if(!filename) filename = "lewm-recording";
alert("Select a TAB and check 'Share tab audio' in the popup. For audio, do NOT chose full screen or window.");
@ruphy
ruphy / GPT3.js
Last active November 2, 2023 23:41
GPT3() function for Google Sheets
// SPDX-License-Identifier: MIT
//
// This code will add a GPT3() function in your Google Sheets
// This code is originally inspired from https://twitter.com/fabianstelzer/status/1572926883179778050
// To use it, insert your API key below, open Google Sheets -> Extensions -> Apps Script -> Copy & Paste this -> Save
//
// Usage: =GPT3(prompt, max_tokens (default=15), model (default=davinci))
// Example usage: =GPT3("Once upon a time,", 1000, "davinci")
var API_KEY = "your-API-key";

My 2Do tasks

This is just contents of my never ending lists of tasks I tagged in 2Do with read, watch and check tags.

All lists are sorted by priority. I hope to bring all these lists closer to 0 when I get time. But until then, perhaps you will find something interesting in them.

Here are the lists I share so far.