• Home
  • About
  • Map
  • Archives
  • Videos
  • Gallery
Grab the RSS feed

spiralbound.net

spiralbound.net
  • Home
  • Adventures
  • Data and Technology
  • Et cetera
  • Highlights

Posts Tagged with "string"

  • Data and Technology

    Posted on December 12th, 2007

    Written by cliff

    Tags

    array, path, php, programming, sed, spaces, string, str_replace, substitution, unix, unix find

    PHP and Sed for String Substitution

    I needed to replace a string in several thousand files scattered all over the filesystem on one of our servers. I used find to create a list of files that needed to be changed, along with their complete path and called it "list.txt". It looked something like this: /path/to/file/one/fileone.html /path/to/file/two/filetwo.php /path/to/file/three/filethree.htm /path/to/directory with spaces/filefour.txt and [...]

  • Data and Technology

    Posted on January 30th, 2007

    Written by cliff

    Tags

    Adriaan, automattic, blogging, Blogs, broken ecto, ecto, int, php, software, string, wordpress, wordpress 2.1, xmlrpc, xmlrpc.php

    Ecto is Busted in WordPress 2.1

    Last week I took this site to WordPress 2.1 and much to my dismay realized that Ecto, my favorite XMLRPC blogging client no longer worked. It would let me post, but it was never able to update the category information for posts... It just hung with no error. I looked into it, and found out [...]

  • Sponsor
  • Recent Comments
    • fabioamd87 on IFCONFIG Does Not give You Link Status; ETHTOOL Does
    • Komil on Quick Start Guide for Asterisk
    • cheap tiffany s jewelry and mont blanc pens on German Kite Skates Across Australia
    • Kim on Giant Rabbits in North Korea
    • Emad on Little Japanese Trucks
    • Jonathan on Why Did my Arm Fall Asleep?
    • Jenn on 802 – Hip Hop Vermont Style

Copyright © 2010 spiralbound.net - Powered by Wordpress