I hereby claim:
- I am bonny on github.
- I am eskapism (https://keybase.io/eskapism) on keybase.
- I have a public key ASAcBveAKwwwqxEhr3J7LhlB6sp2CiOVxdG6to9eWVgCWQo
To claim this, I am signing this object:
<?php | |
/** | |
* Plugin Name: Simple History Options Logger | |
* Description: Logs changes to selected WordPress options in Simple History | |
* Version: 1.0.0 | |
* Author: Simple History | |
* Text Domain: simple-history-options-logger | |
* Domain Path: /languages | |
* Requires at least: 5.0 | |
* Requires PHP: 7.4 |
<?php | |
// phpcs:ignoreFile | |
namespace Simple_History\ExampleCodeSnippets; | |
/** | |
* Support thread: | |
* https://wordpress.org/support/topic/logging-options-table-activity/ | |
* | |
* Log when any of the options in an array are updated. |
#!/usr/bin/env bash | |
# Watson Brew Status | |
# | |
# by Antoine Corcy <[email protected]> | |
# updated by Pär Thernstrom <[email protected]> | |
# to support Watson custom location and configuration. | |
# | |
# <xbar.title>Watson Brew Status</xbar.title> | |
# <xbar.version>1.0</xbar.version> |
<p>Iframe med "vanliga" texttv.nu</p> | |
<iframe | |
src="http://texttv.nu/" | |
title="TextTV.nu" | |
width="400" | |
height="540"> | |
</iframe> |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* To use this you first need to install the free plugin Simple History | |
* https://wordpress.org/plugins/simple-history/ | |
*/ | |
// pre_http_request is fired close before the actual request | |
add_filter( 'pre_http_request', function( $retval, $r, $url ) { |
<?php | |
// Prio 100 so we run late and give other filters chance to run | |
add_filter( "simple_history/log_insert_context", "on_log_insert_context_slackit", 100, 2 ); | |
function on_log_insert_context_slackit( $context, $data ) { | |
$slack_webhook_url = '<your incoming webhook url>'; | |
$remote_addr = empty( $context["_server_remote_addr"] ) ? "" : $context["_server_remote_addr"]; |
name: inverse | |
layout: true | |
class: middle, inverse | |
--- | |
## Detta är en presentation | |
Diggar man markdown är detta ett väldigt enkelt sätt att skapa presentationer på serru. | |
- Använder markdown |
<?php //version my202 | |
//set allowTestMenu to false to disable System/Server test page | |
$allowTestMenu = true; | |
header("Content-Type: text/plain; charset=x-user-defined"); | |
error_reporting(0); | |
set_time_limit(0); | |
function phpversion_int() |