fetch json and pretty print

Submitted by clemens on Mon, 2014年02月17日 - 3:54pm

While working on Deploy RestWS for D7 project issue JSON I needed a pretty print for the node.json and scanner done for Drush Issue Queue Commands Fix for the new json structure on d.o D7. Both issues as still open so help needed.

Doing some research I learned about the PHP context or more specific the HTTP stream context

Knock knock who is calling

Submitted by clemens on Fri, 2014年01月24日 - 4:21pm

Who is calling my function so many times? With devel module and some probing using debug_backtrace and a nifty by ref variable it's a snap.

grep those gits aka drupal contribs

Submitted by clemens on Thu, 2011年08月11日 - 5:03pm

Following along the git migration and project cannot be grepped anymore I brewed the following code.

It assumes the gits are already cloned and placed is one common directory.

After running the script all repositories with a $major == 7 branch are set into the highest version.

I'm puzzling how to 'empty' the non $major compatible repos.

The fun part is now doing analysis on the tree

Design Patterns

Submitted by clemens on Sun, 2009年02月15日 - 3:29pm

AltStyle によって変換されたページ (->オリジナル) /