Add this file to your AI assistant's system prompt or context to help it avoid common AI writing patterns. Source: tropes.fyi
Discover gists
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
| "use client"; | |
| import Confetti from "react-confetti"; | |
| import { useState, useEffect } from "react"; | |
| export default function ConfettiComponent() { | |
| const [dimensions, setDimensions] = useState({ width: 0, height: 0 }); | |
| const [isSafari, setIsSafari] = useState(false); | |
| useEffect(() => { |
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
| /* ========================================================= | |
| TASK FORCE 141 x LOS VAQUEROS MILITARY GLASS THEME | |
| ========================================================= */ | |
| /* 1. FULLSCREEN MOBILE BACKGROUND */ | |
| html, body { | |
| background-image: url("https://files.catbox.moe/o14tao.jpg") !important; | |
| background-repeat: repeat-y !important; /* Tiles vertically down long mobile pages */ | |
| background-position: center top !important; |
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
| #!/bin/bash | |
| # Author: infinition | |
| # Version: 1.0 | |
| # Description: Script to manage Bluetooth PAN (Personal Area Network) on Raspberry Pi | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[1;33m' | |
| BLUE='\033[0;34m' | |
| PURPLE='\033[0;35m' |
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 glob | |
| import json | |
| import os | |
| import shutil | |
| import operator | |
| import sys | |
| import argparse | |
| import math | |
| import numpy as np |
- Названия коммитов должны быть согласно гайдлайну
- Должен использоваться present tense ("add feature" not "added feature")
- Должен использоваться imperative mood ("move cursor to..." not "moves cursor to...")
- init: start youtube-task
- init: start mentor-dashboard task
Supplementary sections to add to the main
yt-dlp-guide.md.
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
| "llama.cpp": { | |
| "npm": "@ai-sdk/openai-compatible", | |
| "name": "llama-server (local)", | |
| "options": { | |
| "baseURL": "http://127.0.0.1:8080/v1" | |
| }, | |
| "models": { | |
| "model-id-here": { | |
| "name": "Model Name Here", | |
| "limit": { |
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
| #---------------GitHub Pages + Namecheap Domain + SSL Cheat Sheet------------# | |
| NOTE: You do NOT need to buy PositiveSSL from Namecheap. | |
| GitHub Pages provides free SSL automatically via Let's Encrypt. | |
| # Namecheap Domain Setup | |
| Buy Domain | |
| Go to namecheap.com, select and buy domain name. | |
| Navigate to DNS Settings | |
| Login to Namecheap → Username dropdown → Dashboard |
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
| -- We can re-use metatables where possible | |
| local lookupCache = { | |
| __index = function(self, i) | |
| local v = { __index = i } | |
| self[i] = v | |
| return v | |
| end | |
| } | |
| local function use_aho_corasick(automaton, str) |
NewerOlder