Skip to content

Instantly share code, notes, and snippets.

View jeroenvermunt's full-sized avatar

Jeroen Clemens Vermunt jeroenvermunt

View GitHub Profile
@Eligijus112
Eligijus112 / RegressionTree.py
Created April 25, 2021 15:00
Regression tree implementation
# Data wrangling
import pandas as pd
# Array math
import numpy as np
# Quick value count calculator
from collections import Counter
@csalzano
csalzano / elementor-form-additional-webhook.php
Last active July 4, 2024 04:26
Elementor Form additional webhook example
<?php
/**
* Plugin Name: Elementor Form Additional Webhook
* Plugin URI: https://gist.github.com/csalzano/dfd754e0fe8b6ac10731fad8f257c0bf
* Description: Adds a second Webhook to an Elementor form
* Version: 1.0.1
* Author: Corey Salzano
* Author URI: https://breakfastco.xyz/
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@Integralist
Integralist / Python Async Decorator.py
Last active June 30, 2024 09:22
[Python Async Decorator] #python #asyncio #decorator
import asyncio
from functools import wraps
def dec(fn):
@wraps(fn)
async def wrapper(*args, **kwargs):
print(fn, args, kwargs) # <function foo at 0x10952d598> () {}
await asyncio.sleep(5)