Skip to content

Instantly share code, notes, and snippets.

View thomaskrakow's full-sized avatar

Thomas Krakow thomaskrakow

View GitHub Profile
@thomaskrakow
thomaskrakow / Hello-World-PDF-Datei
Last active January 20, 2023 09:03
Hello-World-PDF-Datei
%PDF-1.4
6 0 obj
<< /Length 60 >>
stream
1 0 0 1 250 420 cm
BT
/Helvetica 16 Tf
(Hello World!) Tj
ET
@thomaskrakow
thomaskrakow / tk-mu-plugins.php
Last active September 14, 2022 07:24
WordPress Must Use Plugin which activate Contact Form 7 only on contact page.
<?php
/*
Plugin Name: TK-MU-Plugin
Description:
Author: Thomas Krakow
Version: 1.0
Author URI: https://thomas-krakow.de/it/css-und-javascript-nur-bei-bedarf-auf-wordpress-seiten-einfugen/
*/
$fRequestURI = parse_url( $_SERVER['REQUEST_URI'], PHP_URL_PATH );