Skip to content

Instantly share code, notes, and snippets.

@CharlieEtienne
CharlieEtienne / CheckFilamentCompat.php
Last active June 20, 2025 21:13
Check if your Filament Plugins are ready for v4
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Http;
class CheckFilamentCompat extends Command
{
/**
@dv1
dv1 / sample-rate-conversion-with-polyphase-filtering-example.cpp
Created May 11, 2019 20:19
Simple example for how to perform bandlimited sample rate conversion with a polyphase filter
#include <vector>
#include <string>
#include <cmath>
#include <iostream>
#include <sndfile.h>
#ifdef WITH_RLIMIT
#include <sys/resource.h>
#endif
@raydog
raydog / bullshit.js
Last active June 20, 2025 21:05
Bullshit as a Service
var E_PREFIX_RATE = 0.25;
// All of our word lists:
var _word_lists = {
verb : [
"implement", "utilize", "integrate", "streamline", "optimize", "evolve", "transform", "embrace",
"enable", "orchestrate", "leverage", "reinvent", "aggregate", "architect", "enhance", "incentivize",
"morph", "empower", "envisioneer", "monetize", "harness", "facilitate", "seize", "disintermediate",
//usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS io.quarkus:quarkus-smallrye-reactive-messaging-kafka:1.9.0.CR1
//DEPS io.quarkus:quarkus-smallrye-health:1.9.0.CR1
//DEPS org.testcontainers:kafka:1.15.0-rc2
//JAVAC_OPTIONS -parameters
//JAVA_OPTIONS -Djava.util.logging.manager=org.jboss.logmanager.LogManager
//JAVA_OPTIONS -Dmp.messaging.outgoing.movies-out.connector=smallrye-kafka -Dmp.messaging.outgoing.movies-out.topic=movies -Dmp.messaging.outgoing.movies-out.value.serializer=org.apache.kafka.common.serialization.StringSerializer
//JAVA_OPTIONS -Dmp.messaging.incoming.movies.connector=smallrye-kafka -Dmp.messaging.incoming.movies.value.deserializer=org.apache.kafka.common.serialization.StringDeserializer -Dmp.messaging.incoming.movies.auto.offset.reset=earliest
//JAVA_OPTIONS -Dmp.messaging.incoming.movies.failure-strategy=dead-letter-queue
//JAVA_OPTIONS -Dmp.messaging.incoming.dead-letter-topic-movies.connector=smallrye-kafka -Dmp.messaging.incoming.dead-letter-topic-movies.value.deserializer=org.apache.k
@shelepuginivan
shelepuginivan / maths-symbols.md
Last active June 20, 2025 20:51
A collection of maths symbols for quick access

Maths symbols

A collection of maths symbols for quick access:

LaTeX

These symbols can be used as is.

@khskekec
khskekec / libre-link-up-http-dump.md
Last active June 20, 2025 20:47
HTTP dump of Libre Link Up used in combination with FreeStyle Libre 3
@nickavem
nickavem / howtoinstalla7000linux.md
Last active June 20, 2025 20:44
How to Install the Netgear A7000 (RTL8812AU/21AU/14AU) Linux Wifi Drivers.

Sources: aircrack-ng/rtl8812au, aircrack-ng/rtl8814au

How to Install the Netgear A7000 (RTL8812AU/21AU/14AU) Linux Wifi Drivers.

Note: This guide is purposefully simple. If you would like more information about what exactly each command is doing, try:

man `the command in question`

or go to the respective source repositories as mentioned above.

@realvjy
realvjy / ChoasLinesShader.metal
Last active June 20, 2025 20:43
Choas Lines - Metal Shader
// Lines
float hash( float n ) {
return fract(sin(n)*753.5453123);
}
// Slight modification of iq's noise function.
float noise(vector_float2 x )
{
vector_float2 p = floor(x);
vector_float2 f = fract(x);
@ishad0w
ishad0w / sources.list
Created August 20, 2023 09:36
Debian 12 (Bookworm) -- Full sources.list and debian.sources
deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
@AneurysAdames
AneurysAdames / office-activation.md
Created September 4, 2024 12:01 — forked from devomman/activate-office-windows-mac.md
Office Activation Command by Omman

Office 2021

Method 1: Using my command line

Step 1.1: Open cmd program with administrator rights.

  • First, you need to open cmd in the admin mode, then run all commands below one by one.

Step 1.2: Get into the Office directory in cmd.

  • For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16