Skip to content

Instantly share code, notes, and snippets.

@edxeth
edxeth / claude-frontend-design-skill
Created December 21, 2025 15:45
Claude's frontend design skill
---
name: frontend-design
description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
license: Complete terms in LICENSE.txt
---
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
@chrismccoy
chrismccoy / restapi.txt
Last active December 23, 2025 02:52
WordPress REST API Resources
Disable REST Api without Plugins
https://rudrastyh.com/wordpress/disable-rest-api.html
Add featured image & alt text to WP REST API
https://allisontarr.com/2021/10/13/add-featured-image-alt-text-to-wp-rest-api/
Allow ALL cross origin requests to WordPress REST API
https://github.com/Shelob9/rest-all-cors
WordPress theme using Rest API and Vue.js
@pitbulk
pitbulk / fixpw.php
Created June 7, 2016 11:40
This script sanitize @@@nopass@@@ passwords generated by OneLogin SAML plugin <= 2.1.8
<?php
/**
* This script search user with @@@nopass@@@ passwords and replace them by random passwords
*/
/** Sets up the WordPress Environment. */
require( dirname(__FILE__) . '/wp-load.php' );
$users = get_users();
@Kottonye
Kottonye / WPlace Art Exporter.user.js
Last active December 23, 2025 02:49
WPlace Art Exporter
// ==UserScript==
// @name WPlace Art Exporter
// @namespace kotton.tools
// @version 0.5
// @description Export clean artwork from wplace with transparent background
// @author Kottonye
// @match https://wplace.live/*
// @match https://*.wplace.live/*
// @run-at document-start
// @grant none
@hediet
hediet / main.md
Last active December 23, 2025 02:48
Proof that TypeScript's Type System is Turing Complete
type StringBool = "true"|"false";


interface AnyNumber { prev?: any, isZero: StringBool };
interface PositiveNumber { prev: any, isZero: "false" };

type IsZero<TNumber extends AnyNumber> = TNumber["isZero"];
type Next<TNumber extends AnyNumber> = { prev: TNumber, isZero: "false" };
type Prev<TNumber extends PositiveNumber> = TNumber["prev"];
@Frenzycore
Frenzycore / nasa.js
Created December 22, 2025 10:07
scraper for site https://www.nasa.gov
import axios from "axios";
import * as cheerio from "cheerio"
async function scrapeNasa() {
try {
const { data: html } = await axios.get('https://www.nasa.gov/', {
headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36' }
});
const $ = cheerio.load(html);
@anonhostpi
anonhostpi / .commitlintrc.yml
Created December 23, 2025 02:46
Commitlint
rules:
type-enum:
- 2
- always
- - build # build system changes
- infra # CI/CD, VCS, deployment, etc.
- devtools # developer tools not covered by `infra`
- docs # non-meta documentation changes
- meta # meta documentation changes or manifest-related changes
@ConnerWill
ConnerWill / ANSI-escape-sequences.md
Last active December 23, 2025 02:45
ANSI Escape Sequences cheatsheet

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@mitcdh
mitcdh / Hyper Key.ahk
Created July 7, 2018 05:26
Hyper Key for Windows
;; based on @babygau's answer here https://stackoverflow.com/a/40559502
#NoEnv ; recommended for performance and compatibility with future autohotkey releases.
#UseHook
#InstallKeybdHook
#SingleInstance force
SendMode Input
;; deactivate capslock completely
SetCapslockState, AlwaysOff
@makamys
makamys / 1.7.10-essentials.md
Last active December 23, 2025 02:44
List of "Essential" 1.7.10 Mods

List of "Essential" 1.7.10 Mods

This is a list of Minecraft 1.7.10 mods that are not focused on adding new original content. Instead, they make the base game run better, or port over features from other versions of vanilla.

These lists try to comprehensively list all the available options. You will not want to use all of the listed mods at once.

Some of the listed mods require a Mixin bootstrap mod in order to work. See the Mixin mods section near the end of the document for information about that.

Table of Contents