Scraping a specific stat for this match. Inspiration here. You can get other player stats in a similar fashion.
library(httr)
library(tibble)
library(tidyr)
library(dplyr)
library(purrr)
library(janitor)| model: claude-opus-4-20250514 | |
| messages: | |
| - role: user | |
| content: | |
| - type: text | |
| text: | | |
| <system-reminder> | |
| As you answer the user's questions, you can use the following context: | |
| # important-instruction-reminders | |
| Do what has been asked; nothing more, nothing less. |
Scraping a specific stat for this match. Inspiration here. You can get other player stats in a similar fashion.
library(httr)
library(tibble)
library(tidyr)
library(dplyr)
library(purrr)
library(janitor)| /** | |
| * General-purpose NodeJS CLI/API wrapping the Stable-Diffusion python scripts. | |
| * | |
| * Note that this uses an older fork of stable-diffusion | |
| * with the 'txt2img.py' script, and that script was modified to | |
| * support the --outfile command. | |
| */ | |
| var { spawn, exec } = require("child_process"); | |
| var path = require("path"); |
| javascript:(() => { | |
| const requestURL = "http://127.0.0.1:8080/api/readingList"; | |
| const token = "dfgkjlhsdfgkljghklhj"; | |
| const pageTitle = document.title; | |
| const pageURL = window.location.href; | |
| let metaImage = ""; | |
| let metaDescription = ""; | |
| function getMetaValue(propName) { |
Twitter abuses all media file uploads, each type in its own way. If we want to upload a good looking animation loop from some low-color, high-detail generative art, we have to game their system's mechanisms.
don't upload a video file, they will re-encode it into absolute 💩
create a GIF, which they will auto-convert into a video file 😱
The frames of the GIF will be resized to an even-sized width using an extremely naive algorithm. Your GIF should be an even size (1000, 2000,
| int[][] result; | |
| float t, c; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { | |
| if (p < 0.5) | |
| return 0.5 * pow(2*p, g); |
| (() => { | |
| let count = 0; | |
| function getAllButtons() { | |
| return document.querySelectorAll('button.is-following') || []; | |
| } | |
| async function unfollowAll() { | |
| const buttons = getAllButtons(); |
zoomAutenticationTool can be used to escalatWith expo-sqlite it's not possible to execute few depending statements inside single transaction - db.transaction
does not work with async/promise and tx.executeSql just enqueues sql statement but does not execute it.
Database class has two methods - execute (to execute single statement without transaction) and transaction(cb) to execute few statements inside a transaction
| Seven different types of CSS attribute selectors | |
| // This attribute exists on the element | |
| [value] | |
| // This attribute has a specific value of cool | |
| [value='cool'] | |
| // This attribute value contains the word cool somewhere in it | |
| [value*='cool'] |