- Edit the svn-remote url URL in .git/config to point to the new domain name
- Run
git svn fetch
- This needs to fetch at least one new revision from svn! - Change svn-remote url back to the original url
- Run
git svn rebase -l
to do a local rebase (with the changes that came in with the last fetch operation) - Change svn-remote url back to the new url
- Run
git svn rebase
should now work again!
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 | |
function compareImages($imagePathA, $imagePathB, $accuracy){ | |
//load base image | |
$bim = imagecreatefromjpeg($imagePathA); | |
//create comparison points | |
$bimX = imagesx($bim); | |
$bimY = imagesy($bim); | |
$pointsX = $accuracy*5; | |
$pointsY = $accuracy*5; | |
$sizeX = round($bimX/$pointsX); |
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
environment = :development | |
http_path = "/" | |
css_dir = "css" | |
sass_dir = "css" | |
images_dir = "img" | |
add_import_path "/Users/pete/play/sass" |
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 | |
$zipfile = (isset($_GET['z'])) ? $_GET['z'] : false; | |
if($zipfile){ | |
$zip = new ZipArchive; | |
$res = $zip->open($zipfile); | |
if($res === true){ |