Skip to content

Instantly share code, notes, and snippets.

View afuggini's full-sized avatar

Ariel Fuggini afuggini

View GitHub Profile
@afuggini
afuggini / choose_db.md
Last active January 4, 2024 15:57
How to choose a DB engine: NoSQL vs RDBMS
  • Volume of data
  • Scaling
  • Structure strictness (data schemas)
  • Query complexity
  • Type of data
  • Depth levels of data
@afuggini
afuggini / weightedMean.js
Created September 9, 2018 04:35
Weighted mean (average) in Javascript ES6
const sumArrayValues = (values) => {
return values.reduce((p, c) => p + c, 0)
}
const weightedMean = (factorsArray, weightsArray) => {
return sumArrayValues(factorsArray.map((factor, index) => factor * weightsArray[index])) / sumArrayValues(weightsArray)
}
weightedMean([251, 360, 210], [0.1, 0.5, 0.7]);
// => 270.8461538461539
@afuggini
afuggini / ttfb.sh
Created January 11, 2019 05:29 — forked from sandeepraju/ttfb.sh
curl command to check the time to first byte
#!/bin/bash
# file: ttfb.sh
# curl command to check the time to first byte
# ** usage **
# 1. ./ttfb.sh "https://google.com"
# 2. seq 10 | xargs -Iz ./ttfb.sh "https://google.com"
curl -o /dev/null \
-H 'Cache-Control: no-cache' \
-s \
@afuggini
afuggini / functional.js
Last active June 12, 2020 00:21
Functional Helpers (In ES6 Syntax)
const map = f => step => (a, c) => step(a, f(c));
const filter = predicate => step => (a, c) => predicate(c) ? step(a, c) : a;
const compose = (...fns) => x => fns.reduceRight((y, f) => f(y), x);
const curry = (f, arr = []) => (...args) => (
a => a.length === f.length ? f(...a) : curry(f, a)
)([...arr, ...args]);
#!/bin/bash
# openclaw-security-check.sh - Verify server security configuration
# Run this periodically to check security status
# Usage: ./openclaw-security-check.sh
echo "=========================================="
echo "OpenClaw Security Status Check"
echo "$(date)"
echo "=========================================="
echo ""
@afuggini
afuggini / arielfuggini-security-report.md
Created February 9, 2026 17:10
Security Audit Report: arielfuggini.com - Bounty Hunt CLI

πŸ”’ Security Audit Report: arielfuggini.com

Date: February 9, 2026
Scanner: Bounty Hunt CLI (Phase 3)
Overall Risk Score: 45/100 (MEDIUM)


Executive Summary

@afuggini
afuggini / arielfuggini-scan-2026-02-09.md
Created February 9, 2026 17:16
Fresh Security Scan: arielfuggini.com - Feb 9, 2026

πŸ”’ Security Scan Results: arielfuggini.com

Date: February 9, 2026 17:14 UTC
Scanner: Bounty Hunt CLI v3.0 (Phase 3)
Overall Risk Score: 45/100 (MEDIUM)


πŸ” Subdomains Discovered (4)

@afuggini
afuggini / santander-security-scan.md
Created February 9, 2026 17:42
Security Scan: santander.com.ar - Enterprise Bank Analysis

🏦 Security Scan Results: santander.com.ar

Date: February 9, 2026 17:41 UTC
Scanner: Bounty Hunt CLI v3.0 (Phase 3)
Target: Santander Argentina (santander.com.ar)


πŸ” Scan Overview

@afuggini
afuggini / arielfuggini-phase4-scan.md
Created February 9, 2026 18:12
arielfuggini.com Phase 4 Security Scan - Feb 2026

🎯 arielfuggini.com - Phase 4 Security Scan

Date: 2026-02-09 18:09 UTC
Scanner: Bounty Hunt CLI v4.0 (Phase 4)
Target: https://arielfuggini.com


πŸ“Š Executive Summary

@afuggini
afuggini / clarin-phase4-scan.md
Created February 9, 2026 18:17
clarin.com Phase 4 Security Scan - Feb 2026

🎯 clarin.com - Phase 4 Security Scan

Date: 2026-02-09 18:15 UTC
Scanner: Bounty Hunt CLI v4.0 (Phase 4)
Target: https://www.clarin.com


πŸ“Š Executive Summary