Discover gists
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. |
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 |
@(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 |
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 输出格式。 |
-- 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%' |
'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; | |
} |
⚠️ 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!
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.
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. |