- bach:
- https://www.songsterr.com/a/wsa/johann-sebastian-bach-minuet-in-g-tab-s2410
- https://www.songsterr.com/a/wsa/johann-sebastian-bach-prelude-no-1-in-c-major-tab-s22025
- https://www.songsterr.com/a/wsa/johann-sebastian-bach-prelude-from-suite-no-1-bwv1007-tab-s464777
- bach: https://www.songsterr.com/a/wsa/johann-sebastian-bach-bwv-1007-minuet-1-tab-s412318
- https://github.com/scottvr/gtrsnipe/blob/main/README.md
- https://www.songsterr.com/a/wsa/johann-sebastian-bach-bouree-tab-s390711
- https://www.songsterr.com/a/wsa/johann-sebastian-bach-jesu-joy-of-mans-desiring-tab-s39556
- https://www.songsterr.com/a/wsa/johann-sebastian-bach-gavotte-in-e-bwv-1006a-tab-s412364
- https://www.songsterr.com/a/wsa/johann-sebastian-bach-wachet-auf-ruft-uns-die-stimme-bwv-645-tab-s441325
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import requests | |
| api_key = "" | |
| url = "https://api.openai.com/v1/chat/completions" | |
| headers = { | |
| "Authorization": f"Bearer {api_key}", | |
| "Content-Type": "application/json" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const cheerio = require("cheerio"); // ^1.0.0-rc.12 | |
| const { JSDOM } = require("jsdom"); // ^24.0.0 | |
| const puppeteer = require("puppeteer"); // ^22.7.1 | |
| const TurndownService = require("turndown"); // ^7.1.2 | |
| const { Readability } = require("@mozilla/readability"); // ^0.5.0 | |
| const urlToMarkdown = async (page, url) => { | |
| await page.goto(url, { waitUntil: "networkidle2" }); | |
| const doc = new JSDOM(await page.content(), { url }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const apiKey = "YOUR_OPENAI_API_KEY"; | |
| const endpoint = "https://api.openai.com/v1/chat/completions"; | |
| const fetchCompletion = async (messages) => { | |
| const response = await fetch(endpoint, { | |
| method: "POST", | |
| headers: { | |
| "Content-Type": "application/json", | |
| Authorization: `Bearer ${apiKey}`, | |
| }, |
After downloading a bunch of glitch projects as .git repos, I thought I'd backed them up by committing them all and pushing to github, but only a bunch of empty folders were committed.
For codebases with Datadog logs logging with fooBarEntityId keys, rather than typing @fooBarEntityId:b6356b50-7bac-4474-bca9-765336dff804 to search, use *:b6356b50-7bac-4474-bca9-765336dff804.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // copy and paste url into browser and run code in console | |
| // probably use puppeteer rather than fetch if you want to automate this | |
| // (pagination doesn't seem to work with requests, maybe user agent? dunno why) | |
| var url = | |
| "https://sfpl.org/locations/#!/filters?sort_by=weight&sort_order=ASC&items_per_page=50"; | |
| var hours = [...document.querySelectorAll(".location--teaser--inner")] | |
| .map(e => ({ | |
| name: e.querySelector(".location__title").textContent.trim(), | |
| hours: [...e.querySelectorAll(".office-hours__item")].map( | |
| e => e.textContent.replace(/\s+/g, " ").trim() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <meta name="color-scheme" content="dark light" /> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.js"></script> | |
| </head> | |
| <body> | |
| <div ng-app="exampleApp"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "title": "How to configure sanity preview to work on live?", | |
| "href": "https://stackoverflow.com/questions/76196916/how-to-configure-sanity-preview-to-work-on-live/76267279#76267279", | |
| "userHref": "https://stackoverflow.com/users/12207505/mathias", | |
| "user": "Mathias", | |
| "comment": "ChatGPT likely", | |
| "score": 0, | |
| "posted": "2023-05-16 21:53:19Z", | |
| "flagged": "2023-05-23 23:29:05Z", |
- https://www.gog.com/games?sort=bestselling&page=1
- simcity 3k/4k
- master of orion
- dungeon keeper
- planescape
- rollercoaster tycoon
- myst
- riven
- populous