Skip to content

Instantly share code, notes, and snippets.

@L0Lock
L0Lock / blenderCommunityKeyboard.user.js
Created January 2, 2024 23:38
kbd formatting function for blender.community
// ==UserScript==
// @name Keyboard formatting for Blender.Community
// @description Adds the ability to quickly insert keyboard formatting tags in Blender.Community posts and comments
// @include https://blender.community/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @version 7.0.1
// @grant GM_getValue
// @grant GM_setValue
// ==/UserScript==
@fnky
fnky / ANSI.md
Last active May 3, 2024 17:31
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@Tucos
Tucos / buttonpress.c
Created August 4, 2014 19:17
Clickable conky thingies
/* Compile with `make CFLAGS='-std=c99' LOADLIBES='-lX11' buttonpress` */
#include <X11/Xlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
Window GetWindowFromID(Display *display, Window start, int targetid, int level) {
Window root, parent, *children;
unsigned int nchildren;