Skip to content

Instantly share code, notes, and snippets.

@rise-worlds
rise-worlds / For Mac 4.2.6 unlimited trial.md
Last active July 12, 2025 08:36 — forked from satish-setty/trial.md
Beyond Compare 4 license for Windows, Mac, Linux

for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.

  1. open Terminal, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak: mv BCompare BCompare.bak
  3. touch a file name BCompare , and chmod a+ux BCompare : touch BCompare && chmod a+ux BCompare
  4. open BCompare with text editor, insert the script :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
@Matt54
Matt54 / BranchSegment.swift
Last active July 12, 2025 08:30
RealityKit Growing/Shrinking Branch using LowLevelMesh
import Foundation
struct BranchSegment {
var startPosition: SIMD3<Float>
var endPosition: SIMD3<Float>
var radius: Float
init(startPosition: SIMD3<Float>, endPosition: SIMD3<Float>, radius: Float) {
self.startPosition = startPosition
self.endPosition = endPosition
@ftes
ftes / load-test.js
Created July 11, 2025 17:56
Load test phoenix liveview form submission with k6
import http from "k6/http";
import ws from "k6/ws";
export const options = {
// Key configurations for spike in this section
stages: [
{ duration: "2m", target: 100 }, // fast ramp-up to a high point
// No plateau
{ duration: "1m", target: 0 }, // quick ramp-down to 0 users
],
-- Full GUI Roblox Script with Rayfield & Tricks Hub by ChatGPT & TrungNhan
-- Chức năng: Speed, Fly, ESP, Teleport, Auto, Key System, Anti-AFK, GodMode, Gravity, GUI v.v.
local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield/library.lua"))()
--// Key System
Rayfield:LoadConfiguration()
local Window = Rayfield:CreateWindow({
Name = "Tricks Hub | By TrungNhan",
LoadingTitle = "Tricks Hub Loading...",
@TheZoc
TheZoc / Setting up guide for ArchLinux on Raspberry Pi.md
Last active July 12, 2025 08:15
This is a guide to setup Arch Linux in Raspberry Pi 4, using macOS as the auxiliary system.

Raspberry Pi Setup Guide

This guide will use either a macOS or an ArchLinux base system, to prepare a microSD card with Arch Linux for Raspberry Pi.

If someone managed to do the initial setup using Windows, please let me know, so I can add to this guide.

This guide will be verbose at times for some simple tasks. This is intended to help people just starting out, so it's not confusing. If something confuses you, let me know and I'll try my best to answer it.

@alexellis
alexellis / arm.md
Last active July 12, 2025 08:12
Test swarm connectivity

Regular PC / cloud architecture (64-bit)

See the snippets "guide.md" and "redis.md" below.

Swarm on a Raspberry Pi

If you're wanting to run Docker Swarm on your Raspberry Pi checkout these instructions:

@gomfunkel
gomfunkel / elgato-eve.md
Last active July 12, 2025 08:08
Elgato Eve HomeKit Services & Characteristics

Elgato Eve HomeKit Services & Characteristics

A work in progress collection of proprietary and as of yet undocumented HomeKit characteristics and their UUIDs used by Elgato Eve.

This list is not including all Eve accessories available and some services and characteristics still make no sense to me. If you have anything to contribute, please leave a comment. There is no guarantee that the information listed below is correct.

Elgato Eve Energy (Firmware Revision 1.3.1;466)

Service - Characteristic UUID R W Type Description
@ruvnet
ruvnet / .roomodes.json
Last active July 12, 2025 08:06
This guide introduces Roo Code and the innovative Boomerang task concept, now integrated into SPARC Orchestration. By following the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion) and leveraging advanced reasoning models such as o3, Sonnet 3.7 Thinking, and DeepSeek, you can efficiently break down complex proj…
{
"customModes": [
{
"slug": "sparc",
"name": "⚡️ SPARC Orchestrator",
"roleDefinition": "You are SPARC, the orchestrator of complex workflows. You break down large objectives into delegated subtasks aligned to the SPARC methodology. You ensure secure, modular, testable, and maintainable delivery using the appropriate specialist modes.",
"customInstructions": "Follow SPARC:\n\n1. Specification: Clarify objectives and scope. Never allow hard-coded env vars.\n2. Pseudocode: Request high-level logic with TDD anchors.\n3. Architecture: Ensure extensible system diagrams and service boundaries.\n4. Refinement: Use TDD, debugging, security, and optimization flows.\n5. Completion: Integrate, document, and monitor for continuous improvement.\n\nUse `new_task` to assign:\n- spec-pseudocode\n- architect\n- code\n- tdd\n- debug\n- security-review\n- docs-writer\n- integration\n- post-deployment-monitoring-mode\n- refinement-optimization-mode\n\nValidate:\n✅ Files < 500 lines\n✅ No hard-coded
@paskal
paskal / site.conf
Last active July 12, 2025 08:06 — forked from plentz/nginx.conf
Nginx configuration for best security and modest performance. Full info on https://terrty.net/2014/ssl-tls-in-nginx/
# read more at https://terrty.net/2014/ssl-tls-in-nginx/
# latest version on https://gist.github.com/paskal/628882bee1948ef126dd/126e4d1daeb5244aacbbd847c5247c2e293f6adf
# security test score: https://www.ssllabs.com/ssltest/analyze.html?d=terrty.net
# your nginx version might not have all directives included, test this configuration before using in production against your nginx:
# $ nginx -c /etc/nginx/nginx.conf -t
server {
# public key, contains your public key and class 1 certificate, to create:
# (example for startssl)
# $ (cat example.com.pem & wget -O - https://www.startssl.com/certs/class1/sha2/pem/sub.class1.server.sha2.ca.pem) | tee -a /etc/nginx/ssl/domain.pem > /dev/null
@thewheat
thewheat / brunei_calendar.csv
Last active July 12, 2025 08:05
Brunei Calendar Dates for Public Holidays, School Terms, School Term Holidays based
Name Type Start Date End Date Moon Dependent Notes
New Year's Day Public Holiday 2025-01-01 2025-01-01 N Wednesday
Isra' Mi'raj Public Holiday 2025-01-27 2025-01-27 N Monday
Chinese New Year Public Holiday 2025-01-29 2025-01-29 N Wednesday
National Day Public Holiday 2025-02-23 2025-02-23 N Sunday
National Day Public Holiday Replacement 2025-02-24 2025-02-24 N Monday
First Day of Ramadhan Public Holiday 2025-03-03 2025-03-03 Y Sunday 2025-03-02 / Monday 2025-03-03
Nuzul Al-Qur'an Public Holiday 2025-03-18 2025-03-18 Y Tuesday 2025-03-18 / Wednesday 2025-03-19
Hari Raya Public Holiday 2025-03-31 2025-04-02 Y 3 days starting on Monday 2025-03-31 / Tuesday 2025-04-01
RBAF Day Public Holiday 2025-05-31 2025-05-31 N Saturday