Hello World!
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Hello World!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |