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
| // ==UserScript== | |
| // @name YouTube video speeds | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-08-13 | |
| // @description Adds a button box to change speeds of youtube videos | |
| // @author You | |
| // @match https://youtube.com/* | |
| // @match https://www.youtube.com/* | |
| // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
| // @grant none |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
| "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,3a,00,00,00,00,00 |
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 asyncio | |
| import hashlib | |
| import json | |
| import os | |
| from concurrent.futures import ThreadPoolExecutor | |
| from datetime import datetime | |
| from functools import wraps | |
| from typing import Any, Union | |
| from pydantic import BaseModel |
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
| from random import randint | |
| from google.cloud.pubsub_v1 import SubscriberClient, PublisherClient | |
| from google.cloud.pubsub_v1.types import PublisherOptions | |
| from google.pubsub_v1.types.pubsub import ( | |
| AcknowledgeRequest, | |
| ModifyAckDeadlineRequest, | |
| PubsubMessage, | |
| PullRequest, | |
| PullResponse, | |
| ) |
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 node | |
| /** | |
| * Install: | |
| * | |
| * Download this file and give it executuable persmissions | |
| * | |
| * Usage: | |
| * | |
| * Uploading documents |
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
| from inspect import isclass | |
| import json | |
| import sys | |
| import elasticsearch_dsl.field | |
| def snake_to_camel(word): | |
| return ''.join(x.capitalize() or '_' for x in word.split('_')) |
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 http = require("http"); | |
| const url = require("url"); | |
| const open = (() => { | |
| try { return require("open"); } catch (e) { } | |
| })(); | |
| function webPrompt(prompt = "Value", type = "text") { | |
| return new Promise((resolve, reject) => { | |
| const server = http.createServer((req, res) => { | |
| if (req.method === "GET") { |
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
| document.body.innerHTML = ""; | |
| var c = document.createElement("canvas"); | |
| document.body.appendChild(c); | |
| c.width = c.height = 1024; | |
| var ctx = c.getContext("2d"); | |
| var alpha = 3 / 8; | |
| var beta = 1 - alpha; | |
| ctx.strokeStyle = "#FF0000"; | |
| for (n = 5; n <= 10; n++) { for (i = 0; i < c.width - 1; i += 2**n) for (j = 0; j < c.height - 1; j += 2**n) { ctx.moveTo(i + 2**(n-1), j + 2**(n) * alpha); ctx.lineTo(i + 2**(n-1), j + 2**n * beta); ctx.moveTo(i + 2**(n) * alpha, j + 2**(n - 1)); ctx.lineTo(i + 2**(n) * beta, j + 2**(n - 1)); } } | |
| ctx.stroke(); |
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
| angular.module('registrations', []) | |
| .provider('registrations', function() { | |
| console.log('New registrationsProvider'); | |
| this.$get = function() { | |
| console.log('Get registrations'); | |
| }; | |
| }); | |
| angular.module('app', ['registrations']) | |
| .provider('myRegistrations', function() { |