This file contains 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 | |
/** | |
* SVN-Version extractor of a specific file | |
* | |
* Get all versions of a specific file from svn | |
*/ | |
// argument-handling | |
$aArgs = getopt('f:p:r:'); | |
$iRevision = (true === empty($aArgs['r'])) ? 'HEAD' : $aArgs['r']; |
This file contains 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 | |
/** | |
* Super-simple script to convert a existing project to use namespaces | |
* | |
* @author Hans-Peter Buniat <[email protected]> | |
* @copyright 2012 Hans-Peter Buniat <[email protected]> | |
* @license http://opensource.org/licenses/BSD-3-Clause | |
*/ | |
class namespaceRefactor { |
This file contains 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 | |
/** | |
* Read the latest modification date of a number of tracs | |
*/ | |
class tracTest { | |
/** | |
* The http-client to use (w/ auth) | |
* | |
* @var Zend_Http_Client |
This file contains 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 | |
class xhparser { | |
/** | |
* Content | |
* | |
* @var string | |
*/ | |
private $_aFiles = array(); |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta content="Hans-Peter Buniat" name="author"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf8"> | |
<title>test iframe clicks</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function() { | |
var f = { |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta content="Hans-Peter Buniat" name="author"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Form-Submit Popunder with Cookie support</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<!-- Cookie support --> | |
<script type="text/javascript" src="https://cookies.googlecode.com/svn/trunk/jaaulde.cookies.js"></script> |
This file contains 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 | |
error_reporting(E_ALL); | |
ini_set('display_errors', '1'); | |
ini_set('max_execution_time', 0); | |
ini_set('memory_limit', '256M'); | |
/** | |
* Test for http://instagram-engineering.tumblr.com/post/12651721845/instagram-engineering-challenge-the-unshredder | |
* | |
* @author Hans-Peter Buniat |
This file contains 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 | |
$aOpts = getopt('i:'); | |
if (empty($aOpts['i']) === true) { | |
$aOpts = array( | |
'i' => 10000 | |
); | |
} | |
$aValues = range(0, $aOpts['i'], 1); | |
shuffle($aValues); |
This file contains 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 | |
/** | |
* Simple Closure-Compiler Wrapper | |
* @author Hans-Peter Buniat | |
*/ | |
class ClosureCompile { | |
/** | |
* The Files to work on | |
* |
This file contains 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 | |
/** | |
* Wrapper for selenium-tests, to execute tests in parallel | |
* | |
* @author Hans-Peter Buniat <[email protected]> | |
* @copyright 2011-2012 Hans-Peter Buniat <[email protected]> | |
* @license http://www.opensource.org/licenses/bsd-license.php BSD License | |
*/ | |
class ParallelTests { |
NewerOlder