<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://build2be.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>build2be/com/e - php</title>
 <link>https://build2be.com/category/php</link>
 <description></description>
 <language>en</language>
<item>
 <title>fetch json and pretty print</title>
 <link>https://build2be.com/content/fetch-json-and-pretty-print</link>
 <description>&lt;div class=&quot;field field-name-upload field-type-file field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;div class=&quot;table-responsive&quot;&gt;
&lt;table class=&quot;table table-hover table-striped sticky-enabled&quot;&gt;
 &lt;thead&gt;&lt;tr&gt;&lt;th&gt;Attachment&lt;/th&gt;&lt;th&gt;Size&lt;/th&gt; &lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
 &lt;tr&gt;&lt;td&gt;&lt;span class=&quot;file&quot;&gt;&lt;img class=&quot;file-icon&quot; alt=&quot;Plain text icon&quot; title=&quot;text/plain&quot; src=&quot;/modules/file/icons/text-plain.png&quot; /&gt; &lt;a href=&quot;https://build2be.com/sites/build2be.com/files/jsoneditoronline.json_.txt&quot; type=&quot;text/plain; length=116&quot;&gt;jsoneditoronline.json_.txt&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;116 bytes&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-images field-type-image field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/content/fetch-json-and-pretty-print&quot;&gt;&lt;img class=&quot;img-responsive&quot; src=&quot;https://build2be.com/sites/build2be.com/files/styles/medium/public/json-black.png?itok=259BamBZ&quot; width=&quot;220&quot; height=&quot;220&quot; alt=&quot;json&quot; title=&quot;http://mac.software.com/developer-tools/power-json-editor/1.2.7&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;
While working on &lt;a href=&quot;https://drupal.org/node/1710850&quot;&gt;Deploy RestWS for D7 project issue JSON&lt;/a&gt; I needed a pretty print for the node.json and scanner done for Drush Issue Queue Commands &lt;a href=&quot;https://drupal.org/node/2127965&quot;&gt;Fix for the new json structure on d.o D7&lt;/a&gt;. Both issues as still open so help needed.
&lt;/p&gt;
&lt;p&gt;
Doing some research I learned about the &lt;a href=&quot;http://php.net/context&quot;&gt;PHP context&lt;/a&gt; or more specific the &lt;a href=&quot;http://php.net/manual/en/context.http.php&quot;&gt;HTTP stream context&lt;/a&gt;
&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Mon, 17 Feb 2014 14:54:19 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">147 at https://build2be.com</guid>
 <comments>https://build2be.com/content/fetch-json-and-pretty-print#comments</comments>
</item>
<item>
 <title>Knock knock who is calling</title>
 <link>https://build2be.com/content/knock-knock-who-calling</link>
 <description>&lt;div class=&quot;field field-name-field-images field-type-image field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/content/knock-knock-who-calling&quot;&gt;&lt;img class=&quot;img-responsive&quot; src=&quot;https://build2be.com/sites/build2be.com/files/styles/medium/public/Knock.jpg?itok=vZRAHBqL&quot; width=&quot;220&quot; height=&quot;165&quot; alt=&quot;Knock knock&quot; title=&quot;http://ed.wikia.com/wiki/Knock_Knock_Who&amp;#039;s_Ed%3F&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Who is calling my function so many times? With devel module and some probing using debug_backtrace and a nifty by ref variable it&#039;s a snap.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 24 Jan 2014 15:21:26 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">146 at https://build2be.com</guid>
 <comments>https://build2be.com/content/knock-knock-who-calling#comments</comments>
</item>
<item>
 <title>grep those gits aka drupal contribs</title>
 <link>https://build2be.com/content/grep-those-gits-aka-drupal-contribs</link>
 <description>&lt;div class=&quot;field field-name-field-images field-type-image field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/content/grep-those-gits-aka-drupal-contribs&quot;&gt;&lt;img class=&quot;img-responsive&quot; src=&quot;https://build2be.com/sites/build2be.com/files/styles/medium/public/128770736688691365.jpg?itok=XKgS6aPd&quot; width=&quot;220&quot; height=&quot;148&quot; alt=&quot;http://images.icanhascheezburger.com/completestore/2009/1/21/128770736688691365.&quot; title=&quot;http://images.icanhascheezburger.com/completestore/2009/1/21/128770736688691365.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Following along the git migration and project cannot be grepped anymore I brewed the following code.&lt;/p&gt;
&lt;p&gt;It assumes the gits are already cloned and placed is one common directory.&lt;/p&gt;
&lt;p&gt;After running the script all repositories with a $major == 7 branch are set into the highest version.&lt;/p&gt;
&lt;p&gt;I&#039;m puzzling how to &#039;empty&#039; the non $major compatible repos.&lt;/p&gt;
&lt;p&gt;The fun part is now doing analysis on the tree&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 11 Aug 2011 15:03:42 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">121 at https://build2be.com</guid>
 <comments>https://build2be.com/content/grep-those-gits-aka-drupal-contribs#comments</comments>
</item>
<item>
 <title>Design Patterns</title>
 <link>https://build2be.com/content/design-patterns</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;This is now just a link container ... need to spend some time on this once.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/library/os-php-designptrns/?S_TACT=105AGX01&amp;amp;S_CMP=LP&quot;&gt;http://www.ibm.com/developerworks/library/os-php-designptrns/?S_TACT=105...&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/opensource/library/os-php-designpatterns/&quot;&gt;http://www.ibm.com/developerworks/opensource/library/os-php-designpatterns/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-4 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;free form:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/category/design-patterns&quot;&gt;design patterns&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/category/php&quot;&gt;php&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Sun, 15 Feb 2009 14:29:53 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">77 at https://build2be.com</guid>
 <comments>https://build2be.com/content/design-patterns#comments</comments>
</item>
</channel>
</rss>
