Skip to content

Instantly share code, notes, and snippets.

Here is the Javadoc with HTML formatting for the provided Java class OperationMSA. Each method has its logic explained, and detailed Javadoc has been added to the methods for clarity:


Class-Level Documentation

/**
 * The {@code OperationMSA} class handles processing of MSA (Merchant Service Account) operations
 * involving response parsing and error handling from EDL (Enterprise Data Layer) service calls.
@valentin-nasta
valentin-nasta / 0-go-os-arch.md
Created February 11, 2025 22:11 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@vadamk
vadamk / ed.code-snippets
Created February 11, 2025 22:10
vscode code-snippets
{
"Export Default": {
"scope": "javascript,javascriptreact,typescript,typescriptreact",
"prefix": "ed",
"body": [
"export { default } from \".\/${TM_DIRECTORY/.*\\/(.*)$/$1/g}\";",
""
]
}
}
@geludwig
geludwig / abuseipdb_report.sh
Created February 11, 2025 22:10
Search caddy log and report IPs to AbuseIPDB
#!/bin/bash
### ABUSEIPDB REPORT SCRIPT ###
# Run every 1 minute with crontab (or change TIMER value in this script)!
# Read caddy log (debug must be enabled)
# Extract IP from pattern: "no certificate matching TLS"
# Add ip to abuse.log and delete duplicates (keep oldest)
# Report new ips to AbuseIPDB
# Delete ips older than 14 days from abuse.log
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 11, 2025 22:10
wow-stat v3.0.5 - 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-2270195762-3335344054-2709297393-1000</user>
<keys>
<key installerType="Unknown" displayName="WoW Stat 3.0.5 (only current user)" displayVersion="3.0.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ad546ca9-d15f-5561-803a-417287b0575d</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA["C:\Users\vagrant\AppData\Local\Programs\WoW Stat\Uninstall WoW Stat.exe" /currentuser]]></UninstallString>
php-8.3.17.tar.bz2
SHA256 hash: 4e034dca7ab16fc6062c8c53067528f4ecaa246bf22310e6841f7008094264ac
PGP signature:
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTCjZN1dWA+tKu3JYYcB3ncXAqd5AUCZ6vKjAAKCRAcB3ncXAqd
5LcpAQDIccyk+5g1aZ/GRp5zB9f+UMUTNSpbs7Fu+QYE7TSt0AD+KhFq/lBuEbl8
X5sVhgSAAmNBV6yqG9UF7w/LjFybqwM=
=6pAu
-----END PGP SIGNATURE-----
@choco-bot
choco-bot / Install.txt
Created February 11, 2025 22:09
ardev v0.3.0.0 - Failed - Package Tests Results
2025-02-11 21:23:45,500 1508 [DEBUG] - XmlConfiguration is now operational
2025-02-11 21:23:48,991 1508 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 21:23:49,075 1508 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 21:23:49,108 1508 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 21:23:49,140 1508 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-02-11 21:23:49,184 1508 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 21:23:49,209 1508 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-02-11 21:23:49,246 1508 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 21:23:49,276 1508 [DEBUG] - Adding new typ
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mohsendro
mohsendro / wcvsosp.php
Created February 11, 2025 22:08 — forked from Acephalia/wcvsosp.php
Woocommerce Variation Selectors & Add To Cart Button For Variable Products On Shop Pages
/*
* @snippet Display Variation Selectors & Add To Cart Button For Variable Products On Woocommerce Shop Pages
* @author u/acephaliax
* @source https://insomniainc.com/resources/uncategorized/variation-selectors-add-to-cart-button-for-variable-products-on-woocommerce-shop-pages/
* @compatibility Last tested on WooCommerce 9.0.1
* @community r/wordpress, r/woocommerce
* @caffeinate https://buymeacoffee.com/acephaliax
*/
// Enqueue necessary scripts for shop and archive pages