Skip to content

Instantly share code, notes, and snippets.

@technocake
technocake / pyclean.sh
Last active December 22, 2025 12:52
Clear all python cache in directory
# pyclean command to clear all python cache in a directory
# source: https://stackoverflow.com/questions/28991015/python3-project-remove-pycache-folders-and-pyc-files
# in .bash_profile / .bash_rc etc put:
pyclean () {
find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
}
@jishanshaikh4
jishanshaikh4 / spot_no_ads.sh
Created December 1, 2021 17:41
Install Spotify for Linux (Ubuntu/Debian based distro) WITHOUT ADS
#!bin/bash
####################################################################################
# INSTALL S P O T I F Y ON LINUX (WITHOUT ADS)
# Estimated download size 500-600 MB
# How to execute this script?
@Rankototph
Rankototph / index.html
Created December 22, 2025 12:45
Untitled
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Furrymuse | 每一只宠物都是艺术灵感</title>
<style>
/* 核心配色:提取自 LOGO */
:root {
--pink: #e91e63; --blue: #2196f3; --orange: #ff9800; --green: #4caf50;
@brodock
brodock / HueDimmer_RWL022.yaml
Last active December 22, 2025 12:48
Philips Hue Dimmer RWL022
blueprint:
name: Philips Hue Dimmer RWL022
description:
"Control lights with a Philips Hue Dimmer Switch (v2).\n\n Blueprint\
\ Version: 4"
domain: automation
source_url: https://gist.github.com/brodock/0c85f4882b885d4d5499cd88d155c38c
homeassistant:
min_version: "2025.9.1"
input:
@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.
According to all known laws of aviation, there is no way a bee should be able to fly.
Its wings are too small to get its fat little body off the ground.
The bee, of course, flies anyway because bees don't care what humans think is impossible.
Yellow, black. Yellow, black. Yellow, black. Yellow, black.
Ooh, black and yellow!
Let's shake it up a little.
Barry! Breakfast is ready!
Coming!
Hang on a second.
Hello?
@tuxfight3r
tuxfight3r / vim-shortcuts.md
Last active December 22, 2025 12:40
VIM SHORTCUTS

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
@Ltek
Ltek / offline-devices-report-ltek.yaml
Last active December 22, 2025 12:42 — forked from Tahutipai/report_zigbee_zwave_devices_gone_offline.yaml
Home Assistant Blueprint: Offline Devices Report
blueprint:
name: "⛔ Offline Devices Report with Notification Actions"
description: |
Offline Devices Report with Notification Actions
🚀 Version 2025.12.01.01
***Features***