Skip to content

Instantly share code, notes, and snippets.

@choco-bot
choco-bot / FilesSnapshot.xml
Created March 31, 2025 21:17
filezilla.commandline v3.26.2 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\filezilla.commandline\filezilla.commandline.nupkg" checksum="EC8285E6D1EDA9EC0B14F7F88C4CF5CA" />
<file path="C:\ProgramData\chocolatey\lib\filezilla.commandline\filezilla.commandline.nuspec" checksum="FA002115F534EA6E7401F1DD9006093E" />
<file path="C:\ProgramData\chocolatey\lib\filezilla.commandline\tools\chocolateyInstall.ps1" checksum="816B9C2478B60DCBC73588962F86833D" />
<file path="C:\ProgramData\chocolatey\lib\filezilla.commandline\tools\FileZilla-3.26.2\filezilla.exe.gui" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\filezilla.commandline\tools\FileZilla-3.26.2\fzputtygen.exe.ignore" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\filezilla.commandline\tools\FileZilla-3.26.2\fzsftp.exe.
@carcin0ma
carcin0ma / README.md
Created March 31, 2025 21:17
Example of a gist

Hello World!

#!/bin/bash
set -euo pipefail
dnf config-manager --set-enabled crb
dnf install epel-release -y
dnf install --refresh systemd-resolved systemd-networkd -y
systemctl enable systemd-networkd
@carcin0ma
carcin0ma / README.md
Created March 31, 2025 21:16
Example of a gist

Hello World!

@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created March 31, 2025 21:15
newfield.install v1.6.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1007380013-2733457036-3145808647-1000</user>
<keys>
<key installerType="InnoSetup" displayName="Newfield News" displayVersion="1.06">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Newfield News_is1</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files (x86)\Newfield\]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files (x86)\Newfield\unins000.exe" /SILENT]]></UninstallString>
@angelododaro
angelododaro / .roomodes.json
Created March 31, 2025 21:15 — forked from ruvnet/.roomodes.json
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
add_action( "propertyhive_sturents_property_imported", 'set_status_on_sturents', 10, 2 );
function set_status_on_sturents( $post_id, $property )
{
wp_suspend_cache_invalidation( true );
wp_defer_term_counting( true );
wp_defer_comment_counting( true );
wp_set_post_terms( $post_id, 5, 'availability' ); // Change 5 accordingly to new 'For Sale' status
wp_suspend_cache_invalidation( false );
{
"basics": {
"name": "Anand R",
"label": "Sr. Staff Software Engineer",
"email": "[email protected]",
"phone": "(408) 212-0297",
"url": "https://rathnas.com",
"location": {
"city": "San Ramon",
"region": "CA",
@rajat-peloton
rajat-peloton / proxy.py
Created March 31, 2025 21:15
This mitmproxy Python script captures and logs HTTP(S) API calls made to any subdomain of onepeloton.com. It extracts request and response details (including GraphQL operation names), ensures uniqueness, assigns a sequence number to each entry, and saves the results to a CSV file.
import csv
import signal
import re
import time
from mitmproxy import http
from multiprocessing import Manager
import json
# mitmdump -s proxy.py -p 8080
# set browser proxy (use firefox with foxy proxy extenstion) to localhost:8080