Skip to content

Instantly share code, notes, and snippets.

@zopty
zopty / ピクセルソート.anm2
Last active July 16, 2025 04:27
AviUtl2用ピクセルソート
--track@threshold:しきい値,0,100,50,0.1
--check@flip_area:反転,0
--select@direction:方向=0,上=0,下=1,左=2,右=3
--check@show_area:範囲確認,0
--[[computeshader@pixsort:
Texture2D<float4> texIn : register(t0);
RWTexture2D<float4> texOut : register(u0);
cbuffer SortParams : register(b0)
@aveexy
aveexy / nginx.conf
Last active July 16, 2025 04:25
immich nginx reverse proxy with base url (not a full/complete nginx config) base url is /immich (if you want something other, replace "/immich" with other path
pid /run/nginx/nginx.pid;
error_log stderr;
daemon off;
events {
}
http {
proxy_cache_path /var/cache/nginx/immich_revprox keys_zone=immich_revprox:10m levels=1:2 use_temp_path=off inactive=1d max_size=1g;
server {
listen 0.0.0.0:443 ssl ;
@webtroter
webtroter / Invoke-WireGuardRoutingHelper.ps1
Last active July 16, 2025 04:18
WireGuard Windows Routing Helper Script
[CmdletBinding(DefaultParameterSetName = "PreDown")]
param (
[Parameter(ParameterSetName = "Setup")]
[switch]
$Setup,
[Parameter(ParameterSetName = "Setup")]
[switch]
$RestartWGService,
# WireGuard Interface
[Parameter(Position = 0)]
@burkeholland
burkeholland / ainstall.md
Last active July 16, 2025 04:18
Beast Mode v3

Beast Mode v3

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
  • Select "User Data Folder"
  • Give it a name (Beast Mode)
@doctor-g
doctor-g / godot-ci.yml
Created September 7, 2020 02:42
GitHub workflow specification for publishing Godot Engine HTML5 projects to GitHub
# Workflow to publish Godot HTML5 games to GitHub Pages
#
# This script assumes that the project itself is in a subdirectory "project". This
# folder structure frees up the root of the repository to be used for non-project
# files, such as the README, build folder, or raw assets folder.
#
# Make sure your project is configured for Web export
# to the path `build/web`.
name: 'Publish to GitHub Pages'
@evgenyneu
evgenyneu / setup_cursor_ubuntu.md
Last active July 16, 2025 04:16
Install Cursor AI code editor on Ubuntu 24.04 LTS

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active July 16, 2025 04:15
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@deepak-cotocus
deepak-cotocus / Laravel-Queue-Supervisor-configuration.md
Last active July 16, 2025 04:13
Laravel Queue Supervisor configuration

How to use Supervisor:A Process Control System for Laravel queue In Linux based OS

What is Supervisor: A Process Control System?

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. Supervisor provides you with one place to start, stop, and monitor your processes. Processes can be controlled individually or in groups. You can configure Supervisor to provide a local or remote command line and web interface.


Why do we use Supervisor for Larave Queue?

The supervisor is a process manager which Laravel suggests to use as a process monitor for queue workers. It will automatically start the queue worker in the background, even after the system has booted and will automatically restart the worker if the worker exits unexpectedly.

@TechnologicNick
TechnologicNick / rev - Useless VM.md
Last active July 16, 2025 04:13
L3akCTF 2025 "rev/Useless VM" writeup

Useless VM - rev

17 minutes to dump the chatbot, an entire day to base58 decode.

image

Prelude

image