Skip to content

Instantly share code, notes, and snippets.

View luelher's full-sized avatar

Luis Hernández luelher

View GitHub Profile
@luelher
luelher / internal-funnels-api-docs.json
Created March 3, 2026 20:01
Internal Funnels API - Closelly (auto-sync)
{
"openapi": "3.0.0",
"info": {
"title": "Internal Funnels API - Closelly",
"description": "API interna para obtener datos de funnels de negocio. Cada funnel agrupa información relacionada (leads, businesses, implementaciones SENCE, pagos) según el tipo de funnel solicitado.\n\n**Autenticación:** Header `token` con credencial interna.\n\n**Funnels disponibles:**\n- `sence_leads`: Devuelve BusinessLeads con su Business asociado (si existe), SenceImplementations y Payments del business. Orden por id desc, filtrable por name, contact_name, contact_email (ILIKE), paginado estándar.",
"contact": {
"name": "Closelly website",
"url": "http://closelly.com/",
"email": "soporte@closelly.com"
},
@luelher
luelher / node14.rb
Created May 27, 2024 18:14
homebrew formula for install node14
class NodeAT14 < Formula
desc "Platform built on V8 to build network applications"
homepage "https://nodejs.org/"
url "https://nodejs.org/dist/v14.21.3/node-v14.21.3.tar.xz"
sha256 "458ec092e60ad700ddcf079cb63d435c15da4c7bb3d3f99b9a8e58a99e54075e"
license "MIT"
revision 1
bottle do
sha256 cellar: :any, arm64_sonoma: "1148f4bf7fc8f4a6cda00b7dace952ff0c9d22ddb117a3a0f1bafbbc97bac1a6"
@luelher
luelher / apostilla.rb
Last active September 28, 2017 15:53
Tratando de Ganarle a la Mediocridad del MPPRE, lo cual es una taréa difícil, son muy buenos siendo mediocres.
require 'net/http'
require 'openssl'
count = 0
while true do
uri = URI.parse('https://citaslegalizaciones.mppre.gob.ve/')
status = ""
begin
puts "Testing...."
http = Net::HTTP.new(uri.host, uri.port)
http.open_timeout = 15