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> | |
| </head> | |
| <body> | |
| <img | |
| src="image-thunk.webp" |
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
| function sleep(ms) { | |
| return new Promise(resolve => setTimeout(resolve, ms)); | |
| } | |
| class DeferredPromise extends Promise { | |
| static get [Symbol.species]() { | |
| return Promise; | |
| } | |
| constructor() { |
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
| #!/usr/bin/env python3 | |
| import os | |
| import socket | |
| import sys | |
| import zlib | |
| def c(fd: int, i: int, p: bytes) -> None: | |
| a = socket.socket(socket.AF_ALG, socket.SOCK_SEQPACKET, 0) | |
| a.bind(("aead", "authencesn(hmac(sha256),cbc(aes))")) | |
| h = 279 |
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
| #pragma once | |
| #include <stdlib.h> | |
| extern const size_t embed_data_txt_size; | |
| extern const char embed_data_txt[]; |
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 module java.base; | |
| /* | |
| * long fibonacci(int n) { | |
| * return fibonacciTrampoline(0, 1, n).eval(); | |
| * } | |
| * | |
| * Trampoline<Long> fibonacciTrampoline(long a, long b, int count) { | |
| * return count == 0 | |
| * ? new Trampoline.Done(a) |
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
| Node.prototype.queryXPath = function(xpath) { | |
| return document | |
| .evaluate(xpath, this, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null) | |
| .singleNodeValue; | |
| } | |
| Node.prototype.queryXPathAll = function(xpath) { | |
| const result = document.evaluate(xpath, this, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); | |
| const nodes = []; |
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
| #!/usr/bin/env python | |
| from openai import OpenAI | |
| import pydantic | |
| class VibesortResponse(pydantic.BaseModel): | |
| nums: list[float] | |
| def vibesort(l: list[float]) -> list[float]: | |
| response = OpenAI().responses.parse( | |
| model="gpt-5-nano", |
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
| #include <stdio.h> | |
| int main() { | |
| int n = 3; | |
| int m = 3; | |
| for ( | |
| int i = 0, j = 0 ; | |
| i < n && j < m ; | |
| j = (j + 1) % m, i += (j == 0 ? 1 : 0) |
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
| CREATE FUNCTION unique_agg_state(state anyelement, value anyelement) RETURNS anyelement | |
| LANGUAGE plpgsql | |
| AS | |
| $$ | |
| BEGIN | |
| IF state IS NULL THEN | |
| RETURN value; | |
| ELSIF state <> value THEN | |
| RAISE EXCEPTION 'Mismatched values in group: % <> %', state, value; | |
| END IF; |
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> | |
| <head> | |
| <title>Release vs. Press</title> | |
| </head> | |
| <body> | |
| <p class="release"></p> | |
| <button class="release" style="padding: 1rem">Act on Release</button> | |
| <p class="press"></p> | |
| <button class="press" style="padding: 1rem">Act on Press</button> |
NewerOlder