Grok
openai/gpt-oss-120b
| // ==UserScript== | |
| // @name Cloudflare Turnstile readiness badge | |
| // @namespace oshliaer.flexcard | |
| // @version 1.2.0 | |
| // @description Shows when the Cloudflare Turnstile token is ready and blocks form submission while it is still empty | |
| // @author oshliaer | |
| // @match https://flexcard.cards/accounts/login/* | |
| // @updateURL https://gist.githubusercontent.com/oshliaer/dea4d098d1a4ecb38d588208588d57cf/raw/flexcard-turnstile-badge.user.js | |
| // @downloadURL https://gist.githubusercontent.com/oshliaer/dea4d098d1a4ecb38d588208588d57cf/raw/flexcard-turnstile-badge.user.js | |
| // @run-at document-idle |
| module Retryable | |
| # Класс BrokenFnError представляет собой пользовательскую ошибку, которая может быть выброшена функцией randomly_failing_method | |
| # Ошибки, которые можно использовать в полезном контексте: сетевые ошибки, ошибки ввода-вывода, работы с файлами | |
| class BrokenFnError < StandardError; end | |
| ALLOWED_ERRORS = [BrokenFnError] | |
| # Функция exponential_retry выполняет блок кода с экспоненциальной повторной попыткой при возникновении разрешенных ошибок | |
| def self.exponential_retry(max_attempts = 3) | |
| attempt = 0 |
You're taking your first steps into Ruby
A good introduction to programming in general. Easy on newer programmers.
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
Using the Google Apps Script Cache Service for objects above 100Kb.
This code is a fork of pilbot/9d0567ef1daf556449fb and glade-at-gigwell/4e080771d685fbf1908edbd98eb2d88c.
Look at the last version on apps-script-snippets.contributor.pw/snippets/cache/chunky-cache.
| value | text | |
|---|---|---|
| Pacific/Midway | (GMT-11:00) Midway | |
| Pacific/Niue | (GMT-11:00) Niue | |
| Pacific/Pago_Pago | (GMT-11:00) Pago Pago | |
| Pacific/Honolulu | (GMT-10:00) Hawaii Time | |
| Pacific/Johnston | (GMT-10:00) Johnston | |
| Pacific/Rarotonga | (GMT-10:00) Rarotonga | |
| Pacific/Tahiti | (GMT-10:00) Tahiti | |
| Pacific/Marquesas | (GMT-09:30) Marquesas | |
| America/Anchorage | (GMT-09:00) Alaska Time |