This file contains 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 X.com ~ Shift+Click to Block | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-04-10 | |
// @description Block the tweet under the cursor using the Shift key and click. | |
// @author Alec Larson | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com | |
// @grant none | |
// ==/UserScript== |
This file contains 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 X.com ~ Shift+Click to Mute | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-04-10 | |
// @description Mute the tweet under the cursor using the Shift key and click. | |
// @author Alec Larson | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com | |
// @grant none | |
// ==/UserScript== |
This file contains 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
> www@0.0.1 astro ~/docs/www | |
> astro "dev" "--verbose" | |
2024-04-10T03:53:28.361Z astro:cli --verbose flag enabled! Enabling: DEBUG="astro:*,vite:*" | |
2024-04-10T03:53:28.361Z astro:cli Tip: Set the DEBUG env variable directly for more control. Example: "DEBUG=astro:*,vite:* astro build". | |
2024-04-10T03:53:28.820Z astro:telemetry [notify] last notified on 1712698445704 | |
2024-04-10T03:53:29.395Z astro:Failed to load config with Node TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for ~/docs/www/node_modules/.pnpm/@astrojs+starlight@0.21.5_astro@4.5.17/node_modules/@astrojs/starlight/index.ts | |
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9) | |
at defaultGetFormat (node:internal/modules/esm/get_format:203:36) |
This file contains 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 Google AI Studio: Zen Mode | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Expand the chat to fill the screen. | |
// @author Alec Larson | |
// @match https://aistudio.google.com/app/prompts/* | |
// @grant GM_addStyle | |
// ==/UserScript== |
This file contains 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 Gemini Finished Notification | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Notify when Gemini is done loading a model response | |
// @author Claude 3 | |
// @match https://aistudio.google.com/app/prompts/* | |
// @grant GM_notification | |
// @grant GM_getTab | |
// @grant GM_openInTab |
This file contains 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 Gemini Finished Notification | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Notify when Gemini is done loading a model response | |
// @author Claude 3 | |
// @match https://aistudio.google.com/app/prompts/* | |
// @grant GM_notification | |
// @grant GM_getTab | |
// @grant GM_openInTab |
This file contains 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
/** | |
* Taken from https://github.com/scrollback/juri | |
* | |
* Use of other URL-safe characters | |
* | |
* . Dot in strings | |
* _ Spaces in strings | |
* | |
* - Value: Start of negative number | |
* In numbers, negative exponent |
This file contains 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
// Generated by dts-bundle-generator v9.3.1 | |
export type Primitive = null | undefined | string | number | boolean | symbol | bigint; | |
export type LiteralUnion<LiteralType extends BaseType, BaseType extends Primitive> = LiteralType | (BaseType & { | |
_?: never; | |
}); | |
export type BeforeRequestHook = (request: Request, options: NormalizedOptions) => Request | Response | void | Promise<Request | Response | void>; | |
export type BeforeRetryState = { | |
request: Request; | |
options: NormalizedOptions; |
This file contains 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 * as fs from 'fs' | |
import * as path from 'path' | |
/** | |
* Read a locally cached certificate or generate a new one and save it. | |
* | |
* Generally, you want the `cacheDir` to be ignored by git. | |
*/ | |
export async function getCertificate(cacheDir: string) { | |
const cachePath = path.join(cacheDir, '_cert.pem') |
This file contains 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
cmake_minimum_required(VERSION 3.20) | |
project(socket) | |
execute_process( | |
COMMAND ../bin/cflags.sh | |
OUTPUT_VARIABLE CMAKE_CXX_FLAGS | |
OUTPUT_STRIP_TRAILING_WHITESPACE) | |
set(CMAKE_CXX_FLAGS | |
"${CMAKE_CXX_FLAGS} -Wblock-capture-autoreleasing -Wbool-conversion -Wcomma -Wconstant-conversion -Wdeprecated-implementations -Werror=deprecated-objc-isa-usage -Wempty-body -Wenum-conversion -Winfinite-recursion -Wint-conversion -Wno-nullability-completeness -Wno-non-literal-null-conversion -Wno-nullable-to-nonnull-conversion -Wimplicit-retain-self -Wliteral-conversion -Werror=objc-root-class -Wquoted-include-in-framework-header -Wrange-loop-analysis -Wstrict-prototypes -Wunguarded-availability -Wunreachable-code -Werror=unused-result -Wundeclared-selector -Wuninitialized -Wunused-function -Wunused-variable -Wshorten-64-to-32" |
NewerOlder