This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* @package testing | |
* @copyright (c) 2010 phpBB Group | |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
* | |
*/ | |
class phpbb_cron_task_core_queue_test extends PHPUnit_Framework_TestCase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Synchronizes an upstream package to a new version of itself. | |
# Removes files/dirs in our version no longer present in the new version, | |
# and adds files/dirs from new version that are not in our version. | |
# | |
# Sample usage: sync-upstream current new | |
import re, os, os.path, shutil, subprocess, sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'ruote' | |
# preparing the engine | |
engine = Ruote::Engine.new( | |
Ruote::Worker.new( | |
Ruote::HashStorage.new)) | |
pdef = Ruote.process_definition :name => 'test' do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'ruote' | |
# preparing the engine | |
$engine = Ruote::Engine.new( | |
Ruote::Worker.new( | |
Ruote::HashStorage.new)) | |
$child = Ruote.process_definition :name => 'child' do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic VCL configuration file for varnish. See the vcl(7) | |
# man page for details on VCL syntax and semantics. | |
# backend definition | |
backend default { | |
.host = "tracker.phpbb.com"; | |
.port = "80"; | |
} | |
# transformations on client requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
die "Usage: reformat-phpbb file ..." unless @ARGV; | |
if ($ARGV[0] == '-8') { | |
$indent = 8; | |
shift @ARGV; | |
} elsif ($ARGV[0] == '-2') { | |
$indent = 2; | |
shift @ARGV; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Cron task interface | |
* @package phpBB3 | |
*/ | |
interface cron_task | |
{ | |
/** | |
* Runs this cron task. | |
*/ | |
public function run(); |
NewerOlder