Skip to content

Instantly share code, notes, and snippets.

View Gargamil's full-sized avatar

Tobias Neumann Gargamil

  • FEIG Electronic GmbH
  • Limburg, Germany
View GitHub Profile
@Gargamil
Gargamil / admin-ajax.php
Created August 17, 2023 20:38 — forked from yllus/admin-ajax.php
An optimized admin-ajax.php that executes visitor-only AJAX requests in WordPress
<?php
// Note: This file exists as a near-copy of /wp-admin/admin-ajax.php so that caching on this URL can occur.
/**
* WordPress AJAX Process Execution.
*
* @package WordPress
* @subpackage Administration
*
* @link https://codex.wordpress.org/AJAX_in_Plugins
@Gargamil
Gargamil / treemap.component.css
Last active February 28, 2018 14:43
Angular 2 zoomable Treemap Component
app-treemap *,
app-treemap *:before,
app-treemap *:after {
box-sizing: border-box;
}
app-treemap{
width: 100%;
height: 100%;
margin: 0;
@Gargamil
Gargamil / index.html
Created June 2, 2017 08:08 — forked from fallenartist/index.html
D3 v4 Zoomable Treemap
<!DOCTYPE html>
<meta charset="utf-8">
<style>
*, *:before, *:after {
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;