Skip to content

Instantly share code, notes, and snippets.

@arcivanov
arcivanov / redo_symlinks.py
Created December 11, 2018 06:26
Repoint absolute symlinks to relative using PREFIX
--- content-singlestyle1.php~ 2016-07-28 15:47:42.000000000 -0400
+++ content-singlestyle1.php 2016-08-05 23:40:19.127662218 -0400
@@ -147,32 +147,32 @@
<h3><?php _e( 'SHARE', 'circleflip' ); ?></h3>
<ul>
<li>
- <a class="twitter popup" href="http://twitter.com/share?text=<?php the_title(); ?>&url=<?php the_permalink(); ?>" target="_blank" title="Share on Twitter"></a>
+ <a class="twitter popup" href="//twitter.com/share?text=<?php the_title(); ?>&url=<?php the_permalink(); ?>" target="_blank" title="Share on Twitter"></a>
</li>
<li>
--- coverage_build.xml 2015-07-29 16:47:36.000000000 -0400
+++ coverage_pyb.xml 2015-07-29 16:48:45.000000000 -0400
@@ -1,10 +1,10 @@
<?xml version="1.0" ?>
<!DOCTYPE coverage
SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-03.dtd'>
-<coverage branch-rate="0" line-rate="0.696" timestamp="1438202856199" version="3.7.1">
+<coverage branch-rate="0" line-rate="0.6735" timestamp="1438202924980" version="3.7.1">
<!-- Generated by coverage.py: http://nedbatchelder.com/code/coverage -->
<packages>