Skip to content
View apermo's full-sized avatar

Block or report apermo

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. apermo-adminbar apermo-adminbar Public

    This is a WordPress plugin, that adds links between your different development versions of your website.

    PHP 7 4

  2. A small snippet around the phpinfo()... A small snippet around the phpinfo(); to have a self destructing phpinfo that deletes itself if older than one hour.
    1
    <?php
    2
    
                  
    3
    // File is older than 1 hour, better delete this.
    4
    if ( filemtime( __FILE__ ) + 3600 < time() ) {
    5
    	unlink( __FILE__ );
  3. Anonymizing WordPress Database Anonymizing WordPress Database
    1
    <?php
    2
    /**
    3
     * Plugin Name: User Migration CLI Command (MU)
    4
     * Author: Christoph Daum
    5
     * Author URL: https://christoph-daum.com
  4. filter-heartbeat.php filter-heartbeat.php
    1
    <?php
    2
    add_filter( 'heartbeat_settings', 'filter_heartbeat', 10, 1 );
    3
    
                  
    4
    /**
    5
     * Filter the heartbeat interval based on the current request.
  5. coding-pioneers/xhprof-toolset coding-pioneers/xhprof-toolset Public

    Extended XHProf for WordPress logs the URL, referrer, all database queries, and HTTP requests for each profiled request. Unlike standard XHProf, this tool lets you easily identify which requests an…

    PHP 2 2

  6. code-quality-talk code-quality-talk Public

    Educational code examples for "Who Needs Code Quality Anyway?" - A WordPress-focused talk demonstrating common bad practices and their improved alternatives. Covers modern PHP, security, architectu…