Skip to content

Instantly share code, notes, and snippets.

View DasRed's full-sized avatar
🏠
Working from home

Marco Starker DasRed

🏠
Working from home
View GitHub Profile
@DasRed
DasRed / gist:759118222fc9cafb5fb3511992c6b67a
Last active November 14, 2017 08:52
git flow comparison to raw git commands

Initialize

gitflow git
git flow init git init
git commit --allow-empty -m "Initial commit"
git checkout -b develop master

Connect to the remote repository

@DasRed
DasRed / WPSPayPalStandard.php
Created October 13, 2017 18:46
Fixing WP Photo Seller Plugin Chartset Conversion to UTF8
<?php
class WPSPayPalStandard
{
protected $_log;
public function __construct()
{
$paypalUrl = WPSCommon::getPayPalUrl();
@DasRed
DasRed / ZendPHPUnit.php
Created August 29, 2012 07:41
Zend Studio PHPUnit - fix for: Out Of Memory Or Ignoring BackupGlobal
<?php
/**
* @author Seva Lapsha
* @copyright Zend Technologies Ltd.
* @license Commercial
*/
class ZendPHPUnitErrorHandler {
private static $ZendPHPUnitErrorHandler;
@DasRed
DasRed / ZendPHPUnit.bug.php
Created August 28, 2012 09:22
Zend PHP Unit Bug fix for Dataproviders
<?php
/**
* @author Seva Lapsha
* @copyright Zend Technologies Ltd.
* @license Commercial
*/
class ZendPHPUnitErrorHandler {
private static $ZendPHPUnitErrorHandler;
@DasRed
DasRed / index.html
Created July 9, 2012 20:41
Opery JS Crypt Bug with whitespace fix
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Opery JS Crypt Bug</title>
<script type="text/javascript" src="./mootools.compressed.flatten.js"></script>
<script type="text/javascript">
function runTest(elementId, output)
{
var TEST = new Class(