Skip to content

Instantly share code, notes, and snippets.

<NotepadPlus>
<UserLang name="DAX2" ext="dax" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00-- 01 02 03% 04%</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@espired
espired / spotify.ino
Created June 18, 2024 08:33
ESP32-S3 Spotify Remote Controller
#include <LilyGo_AMOLED.h>
#include <LV_Helper.h>
#include <WiFiClientSecure.h>
#include <WiFi.h>
#include <HTTPClient.h>
#include <ArduinoJson.h>
#include <esp_wifi.h>
// WiFi credentials
const char* ssid = "WIFI_SSID";
@VVispy
VVispy / revancedobtainiumguide.md
Last active April 22, 2025 02:00
Revanced Obtainium Guide

Install ReVanced Apps + Update Checking LogoLogo

Note

You will have to uninstall previously patched Revanced apps before following this guide. You can export Youtube Revanced settings before doing this.

Included apps:

  • YouTube Revanced
@mbostock
mbostock / .block
Last active April 22, 2025 01:59
Poisson-Disc II
license: gpl-3.0
@toy-crane
toy-crane / toss-frontend-rules.mdc
Last active April 22, 2025 01:56
토스 프론트엔드 가이드라인 기반으로 만든 Cursor rule
# Frontend Design Guideline
This document summarizes key frontend design principles and rules, showcasing
recommended patterns. Follow these guidelines when writing frontend code.
# Readability
Improving the clarity and ease of understanding code.
@SteveALee
SteveALee / README.md
Last active April 22, 2025 01:55
Build audacity with ASIO support on Windows

Build your own Audacity for Windows with ASIO driver support

You might want Audacity to work with the ASIO drivers supplied with your sound devices. Commmon reasons for this are:

  • Only ASIO drivers are available for your hardware (eg Behringer mixers)
  • Performance - ASIO has low latency (delays)
  • You don't want to use the ASIO4All bridging driver with non ASIO drivers
  • Multi channel support - though Audacity is not so good at handling other than Stereo or Mono

Due to licensing restrictions the Audacity team cannot provide a prebuilt version with Windows ASIO driver support. But with this guide and script you can easily build your own Audacity with ASIO support, on a Windows PC.

@greenspace10
greenspace10 / AppServiceProvider.php
Created June 14, 2021 17:16
Laravel, Livewire, Alpine JS Toast Notifications
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Component::macro('notify', function ($message, $title = '', $type = 'success') {
$this->dispatchBrowserEvent('notify', ['message' => $message, 'title' => $title, 'type' => $type]);
});
@lassekongo83
lassekongo83 / fedora-gnome-minimal.sh
Last active April 22, 2025 01:52
A script to install a minimal GNOME on a minimal Fedora Everything install
#!/bin/bash
# This is a script that will install a minimal GNOME on a minimal Fedora Everything install
# This script was made for Fedora 38
# 1. Get the Fedora Everything ISO: https://alt.fedoraproject.org/
# 2. When installing select "Minimal install" where you select software.
# Install curl to download and run this script trough that, or just copy paste the lines
# Let's make dnf a little bit faster first
@jonajosejg
jonajosejg / blk001.raw
Last active April 22, 2025 01:51
Sidechain genesis raw hex string
01000000 - version
0000000000000000000000000000000000000000000000000000000000000000 - prevblock
8a6be158deb38d5cc20aa8612ac303bb7ae59520d3b22213df5e88434f36b18e - merkleblock
2d87ce6000000000000000000000000000000000000000000000000000000000 - withdrawalBundle
0000000000000000000000000000000000000000000000000000000000000000 - mainchainBlock
00000000 - timestamp
ffff7f20 - bits
02000000 - nonce
01 - number of tx
01000000 - version
@Acephalia
Acephalia / enviorenmentfixes.md
Last active April 22, 2025 01:49
Quick Guide For Fixing/Installing Python, PyTorch, CUDA, Triton, Sage Attention and Flash Attention For Local AI Image Generation

Quick Guide For Fixing/Installing Python, PyTorch, CUDA, Triton, Sage Attention and Flash Attention For Local AI Image Generation

With all the new local image & video generation tools coming out I've been seeing a lot of posts and error threads being opened for various issues with cuda/pytorch/sage attantion/triton/flash attention. I was tired of digging links up so I initially made this as a cheat sheet for myself but expanded it with hopes that this will help some of you get your venvs and systems running smoothly.

In This Guide:

  1. Check Installed Python Versions
  2. Set Default Python Version by Changing PATH
  3. Installing VS Build Tools
  4. Check the Currently Active CUDA Version