Skip to content

Instantly share code, notes, and snippets.

@Sheepolution
Sheepolution / main.lua
Last active May 7, 2025 09:32
Basic Luasteam P2P example
local server = true -- Change to false for the client
local connectionId
local pollGroup
Steam = require "luasteam"
Steam.init()
-- We call this to let Steam know that we want to use the networking sockets API.
-- Which probably won't do much in this example, but it can save you a delay.
@pmkay
pmkay / top-brew-packages.txt
Last active May 7, 2025 09:31 — forked from r5v9/top-brew-packages.txt
Top homebrew packages
node: Platform built on V8 to build network applications
git: Distributed revision control system
wget: Internet file retriever
yarn: JavaScript package manager
python3: Interpreted, interactive, object-oriented programming language
coreutils: GNU File, Shell, and Text utilities
pkg-config: Manage compile and link flags for libraries
chromedriver: Tool for automated testing of webapps across many browsers
awscli: Official Amazon AWS command-line interface
automake: Tool for generating GNU Standards-compliant Makefiles
@ishad0w
ishad0w / aveyo_edge_removal.bat
Last active May 7, 2025 09:31
AveYo (Microsoft Edge Removal)
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b
#:: just copy-paste into powershell - it's a standalone hybrid script
sp 'HKCU:\Volatile Environment' 'Edge_Removal' @'
$also_remove_webview = 1
## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps
$also_remove_widgets = 1
## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people
$also_remove_xsocial = 1
## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap
@VaslD
VaslD / OldStylePropertyList.swift
Created October 10, 2022 17:44
Working with old style (ASCII) plists in Swift...
import Foundation
import TabularData
/// OpenStep 格式 Property List 工具集。
///
/// OpenStep 格式 Property List 也称 ASCII Property List 或旧版 Property List。
public enum OldStylePropertyList {
// MARK: Property List
/// 将 `String` (`NSString`) 转为 OpenStep Property List 输出格式。
@rgreenjr
rgreenjr / postgres_queries_and_commands.sql
Last active May 7, 2025 09:27
Useful PostgreSQL Queries and Commands
-- show running queries (pre 9.2)
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query
FROM pg_stat_activity
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
ORDER BY query_start desc;
-- show running queries (9.2)
SELECT pid, age(clock_timestamp(), query_start), usename, query
FROM pg_stat_activity
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'
@mesabuca
mesabuca / Collapse.tsx
Created April 17, 2025 08:35
Collapse, framer motion, tailwind
'use client';
import React, { useState, createContext, useContext, ReactNode } from 'react';
import { motion, AnimatePresence } from 'framer-motion';
import clsx from 'clsx';
interface CollapseContextProps {
isOpen: boolean;
toggle: () => void;
}
@TheUnrealZaka
TheUnrealZaka / HidingRoot.md
Last active May 7, 2025 09:24
This guide is for all Android devices to hide properly all root detections and successfully run banking apps as expected :)

✨ Welcome to TheUnrealZaka's Guide for Hiding Root Detections!

Using KernelSU-Next + SuSFS

⚠️ Disclaimer: This guide is provided solely for educational purposes. The creator assumes no responsibility for any damage, data loss, or other adverse effects that may occur as a result of following these instructions. Proceed entirely at your own risk!


📖 Introduction

Many users who have rooted their devices finds issues where system or third-party applications detect the root status and refuse to operate. This guide outlines a procedure to hide root detection on the majority of Android devices, specifically the ones running Noble ROM for Samsung S9/S9+/N9. The approach detailed here leverages KernelSU-Next in conjunction with SuSFS.

@bytexenon
bytexenon / Make Discord Server With a Tag.md
Last active May 7, 2025 10:02
Make Discord Server With a Tag

Discord Server Tag Automation Script (GUILD_TAGS)

Since around May 6th, 2025, newly created Discord servers have a small, random chance (approximately 1 in 1000) of including the experimental tag feature; this script automates the repetitive process of creating and deleting servers to help find one.

Note

Successfully obtaining a server with this flag is only the first step; actually using the tag functionality requires boosting the server 3 times

[!CAUTION]

-- OldCheck:
-- (omitted)
# The Interaction Calculus
The [Interaction Calculus](https://github.com/VictorTaelin/Interaction-Calculus)
is a minimal term rewriting system inspired by the Lambda Calculus (λC), but
with some key differences:
1. Vars are affine: they can only occur up to one time.
2. Vars are global: they can occur anywhere in the program.