I hereby claim:
- I am gmazzap on github.
- I am gmazzap (https://keybase.io/gmazzap) on keybase.
- I have a public key ASAxrrn1I4TqGBN72iGlL41U1bCTwXWnfaK50UT4nQAGYAo
To claim this, I am signing this object:
<?php | |
namespace GM\VirtualPages; | |
/** | |
* @author Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com> | |
* @license http://opensource.org/licenses/MIT MIT | |
*/ | |
class Controller implements ControllerInterface { | |
private $pages; |
<?php namespace GM\WWWPostThumbnail; | |
/** | |
* Plugin Name: WWW Post Thumbnail | |
* Description: Allow to use an external image url as featured image. | |
* Plugin URI: https://gist.github.com/Giuseppe-Mazzapica/928bc22e5f49a654cf7c | |
* Author: Giuseppe Mazzapica | |
* Author URI: https://github.com/Giuseppe-Mazzapica | |
* License: MIT | |
* Version: 0.1.0 | |
* |
<?php | |
/** | |
* Plugin Name: Revoke Profile Access | |
* Description: Allow administrators to revoke access to profile to some users | |
* Plugin URI: http://wordpress.stackexchange.com/q/141743/ | |
* Author: G. M. | |
* Author URI: http://wordpress.stackexchange.com/users/35541/g-m | |
* License: GPLv2 | |
* | |
*/ |
<?php | |
namespace gmazzap; | |
/** | |
* @param callable $looper Callback that receives post object, post index and current WP_Query. | |
* It is possible to use any template tags inside the callback. | |
* @param array $args Array of WP_Query arguments. Optional, when not provided, main query will be used. | |
*/ | |
function loop(callable $looper, array $args = null) { |
<?php | |
/** | |
* Copyright 2019 Inpsyde GmbH | |
* | |
* @license MIT https://opensource.org/licenses/MIT | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
<?php | |
/** | |
* Brain_HtmlTokenizer class file. | |
* | |
* (c) Giuseppe Mazzapica | |
* | |
* @license http://opensource.org/licenses/MIT MIT | |
* @author Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com> | |
*/ |
{ | |
"name": "gmazzap/wps-wctrn", | |
"description": "Simple example for WCTRN workshop.", | |
"type": "project", | |
"minimum-stability": "dev", | |
"prefer-stable": true, | |
"require": { | |
"wecodemore/wpstarter": "^2.4" | |
}, | |
"license": "MIT", |
<?php | |
// require the class | |
@require_once __DIR__ . '/mycaptcha.php'; | |
// defaults | |
$w = 110; | |
$h = 35; | |
$random_dots = 0; | |
$random_lines = 20; | |
$captcha_text_color = "0x#B9B098"; |
I hereby claim:
To claim this, I am signing this object:
<?php namespace GM; | |
class PointersManager implements PointersManagerInterface { | |
private $pfile; | |
private $version; | |
private $prefix; | |
private $pointers = array(); | |
public function __construct( $file, $version, $prefix ) { |