Skip to content

Instantly share code, notes, and snippets.

View TheBarret's full-sized avatar
💭
I may be slow to respond.

Zephyroku TheBarret

💭
I may be slow to respond.
View GitHub Profile
@MythicHH
MythicHH / cosmic-cursor-theme.md
Last active October 9, 2026 07:36
Change cursor theme/size on COSMIC

How to change your cursor size and/or theme on the COSMIC desktop environment

If you are reading this in the future, this guide was written before there was a way to configure the cursor theme and size via a graphical interface in COSMIC. This guide may seem quite long but rest assured it is quite simple and it has only been made this long so that new users are able to (hopefully) understand it.

This may not work for XWayland apps.

Most of this will be done via a GUI for ease of understanding at the expense of speed.

Terminology:

@dr4k0nia
dr4k0nia / Suscall.cs
Created August 3, 2021 13:30
An example of using x64 syscall shellcode to call NtProtectVirtualMemory
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Code_Projects
{
public unsafe class Suscall
{
[DllImport("kernel32", SetLastError = true)]
@juliojsb
juliojsb / iptables-multicast.sh
Last active October 15, 2024 13:12
Allow multicast communications in iptables
Run the following:
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A FORWARD -m pkttype --pkt-type multicast -j ACCEPT
iptables -A OUTPUT -m pkttype --pkt-type multicast -j ACCEPT
Or:
iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT
iptables -A FORWARD -s 224.0.0.0/4 -d 224.0.0.0/4 -j ACCEPT
#!/bin/bash
#
# Install/Uninstall Froxlor for RPi/Raspbian
#
# http://rasptorial.com/server/froxlor-webserver
# Courier screen select 'no' to web directories.
# Postfix screen select 'internet site'. 'mail name' should be the server's domain.
# Proftpd screen, select 'standalone'.
# MySQL screen, enter a password.
#