Skip to content

Instantly share code, notes, and snippets.

View plushrib's full-sized avatar
🏳️‍⚧️

plushrib

🏳️‍⚧️
  • my parent's basement inc.
View GitHub Profile
@rebane2001
rebane2001 / glass-with-controls.html
Last active August 28, 2025 18:38
glass effect test css/svg thing (messy) - demo: https://codepen.io/rebane2001/details/OPVQXMv
<div style="position:absolute;top:-999px;left:-999px">
<svg
id="effectSvg"
width="200"
height="200"
viewBox="0 0 200 200"
xmlns="http://www.w3.org/2000/svg">
<filter id="displacementFilter4">
@zux0x3a
zux0x3a / script.js
Created August 23, 2022 14:57
Terminal with pipe (figlet+lolcat,fortune+cowsay)
var term;
function delay(time) {
return new Promise(r => setTimeout(r, time));
}
// ---------------------------------------------------------------------------------
Promise.all([fortune(), fonts()]).then(async ([fortune]) => {
term = $('body').terminal(async function(command) {
const {name, args, rest} = $.terminal.parse_command(command);
const options = $.terminal.parse_options(args);
@maotovisk
maotovisk / native-file-manager-tutorial-en.md
Last active June 24, 2025 01:07
Integrating native file explorer on wine with linux.

Integrating native file explorer on wine with linux.

This is mostly aimed at osu! mappers/storyboarders who need an easy way to access osu! beatmap folders through wine.

Introduction

This is a quick tutorial on how you can edit some wine registry files to make wine open the native linux file explorer when clicking the Open folder menu on whatever application uses it, since the explorer.exe application doesn't integrate that well with the linux environment.

The main use-case for this workaround is the case of those who need to work with a high bandwidth of files being moved around and shared/edited/whatever it's needed to do with it. eg. osu!mappers

Doing it...

1. Getting the useful info

@tin2tin
tin2tin / strips_to_asset_browser.py
Last active November 1, 2022 05:02
Convert selected strips to assets via sound, image or clip IDs.
# Convert selected strips to assets via sound, image or clip IDs.
# By tintwotin & batFINGER
import bpy, os
strips = bpy.context.selected_editable_sequences
strips = sorted(strips, key=lambda strip: strip.frame_final_start)
for sq in strips:
if sq.type == "SOUND":
@sasakiyudai
sasakiyudai / pipes.c
Last active August 15, 2024 21:32
Implementation of Multiple pipes in C.
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
// just count number of commands
int count(char ***cmd) {
int i;
i = 0;
while (cmd[i]) i++;
return i;
@CSaratakij
CSaratakij / bspwmrc
Created March 16, 2019 21:48 — forked from TiZ-HugLife/bspwmrc
bspwm config files
#! /bin/sh
bspc config top_padding 24
bspc config bottom_padding 0
bspc config left_padding 0
bspc config right_padding 0
bspc config border_width 3
bspc config window_gap 16
# Borders and gaps
@fnky
fnky / ANSI.md
Last active September 6, 2025 06:25
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
diff --git a/awesomerc.lua b/awesomerc.lua
index 00d1b6031..c9d592662 100644
--- a/awesomerc.lua
+++ b/awesomerc.lua
@@ -41,6 +41,214 @@ do
end
-- }}}
+do
+ -- Big copy&paste (and some rewrite) of wibox.drawable