Skip to content

Instantly share code, notes, and snippets.

Cesar G prototech

  • California
Block or report user

Report or block prototech

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View confirm.php
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
View gist:10095306
$('[data-ajax]').each(function() {
var $this = $(this),
ajax = $this.attr('data-ajax'),
filter = $this.attr('data-filter'),
fn;
if (ajax !== 'false') {
fn = (ajax !== 'true') ? ajax : null;
filter = (filter !== undefined) ? phpbb.getFunctionByName(filter) : null;
View gist:9295108
<?php
$ary = array();
for ($i = 0; $i < 1000; $i++)
{
$ary[] = 1;
foreach ($ary as &$value)
{
$value = 2;
sizeof($ary);
View trim_test.php
<?php
/**
*
* @package phpBB3
* @copyright (c) 2014 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
/**
View confusables_test.php
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
$homographs = include($phpbb_root_path . 'includes/utf/data/confusables.' . $phpEx);
$i = 1;
foreach ($homographs as $from => $to)
You can’t perform that action at this time.