Skip to content

Instantly share code, notes, and snippets.

View rdlmda's full-sized avatar

Rudá Almeida rdlmda

  • Federal University of Rio de Janeiro
  • Rio de Janeiro, Brazil
  • 07:00 (UTC -03:00)
View GitHub Profile
@DubyaDude
DubyaDude / DubyasCleanupOfDiscord.css
Last active September 3, 2025 23:43
My list of annoying stuff I hide/disable in Discord using Quick CSS
/* This css has been moved due to the Vencord development team not allowing gists for import urls.
* Source css: https://github.com/DubyaDude/DubyasCleanupOfDiscord/blob/main/DubyasCleanupOfDiscord.css
*/
@import url("https://raw.githubusercontent.com/DubyaDude/DubyasCleanupOfDiscord/main/DubyasCleanupOfDiscord.css");

Overly long sound card descriptions is a problem and they sometimes cause problems for some GUIs as pavucontrol where you need to make the window very wide in order to accommodate the strings. With pulseaudio you can rename them directly in pavucontrol by right-clicking the Port dropdown as long as you have the module-device-manager pulseaudio module loaded. Here is how to do the same in pipewire:

Add something like the following to your `/etc/pipewire/media-session.d/alsa-monitor.conf/ file:

    {
        matches = [
            {
                node.name = "alsa_output.pci-0000_02_02.0.analog-stereo"
            }
@rjhansen
rjhansen / keyservers.md
Last active October 22, 2025 05:42
SKS Keyserver Network Under Attack

SKS Keyserver Network Under Attack

This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.

Terminological Note

"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.

Who am I?

@AtomicBlom
AtomicBlom / pixelate.shader
Created October 9, 2018 14:29
Pixelate effect for OBS Study (obs-shaderfilter plugin)
//-----------------------------------------------------------------------------------------
// Shader constant register mappings (scalars - float, double, Point, Color, Point3D, etc.)
//-----------------------------------------------------------------------------------------
uniform float horizontal_pixel_counts;
uniform float vertical_pixel_counts;
uniform float speed;
//--------------------------------------------------------------------------------------
// Sampler Inputs (Brushes, including ImplicitInput)
@weibeld
weibeld / telegram-api.pdf
Last active September 22, 2025 03:11
Telegram CLI Commands
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@allquixotic
allquixotic / chatse-vs-matrix-feature-comparison.md
Last active May 22, 2018 02:34
chat.SE vs. Matrix feature comparison
Factor Matrix Chat-SE
Client Platforms
  • Web (multiple, open source)
  • Android (native)
  • iOS (native)
  • Desktop (Win/Mac/Lin; multiple; open source)
  • Web/mobile web (proprietary)
  • Various hacks (lacking all features, and subject to random breakage when chat code changes)
Bot Support First-class - officially supported Tenuous; allowed but at the whims of SE, and hackish
Basic text formatting Standard Markdown Ghetto Chat Markdown (mostly the same for the very basics)
Strikethrough <del>strike</del> ---strike---
Avatars Upload one via client Gravatar or upload
Gateway Support Overall: Many exist & well supported
  • IRC
  • Gitter.im
  • Slack
No official; a few hackish ones that semi-work
Hosting model Decentralized Centralized
@nzec
nzec / README.MD
Last active October 27, 2025 14:45
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active November 5, 2025 16:27
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@voluntas
voluntas / sysctl.conf
Created October 14, 2017 13:07 — forked from techgaun/sysctl.conf
Sysctl configuration for high performance
### KERNEL TUNING ###
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
@marcosnakamine
marcosnakamine / index.php
Created August 24, 2017 13:09
WordPress - Insert one post per image attachment
<?php
$posts = get_posts( array(
'post_type' => 'attachment',
'post_mime_type' => 'image',
'posts_per_page' => -1
) );
foreach ($posts as $key => $value) {
$post_id = wp_insert_post( array(
'post_type' => 'new_post_type'