Category Archives: Tools

Expect more from you Linux Command Line

Just stumbled over two nice written articles about command line usage on Linux by Robert Elder: Don Libes’ Expect: A Surprisingly Underappreciated Unix Automation Tool (Dec 2016; by Robert Elder) An Introduction To Data Science On The Linux Command Line (Oct … Continue reading

Posted in Hakre's Tips, Linked, Pressed, Tools | Leave a comment

Docker Run without “docker run”

So there was this one question on Stackoverflow in which the OP was linking an .htaccess tester for Mod-Rewrite-Rules. Despite this being all fine I was asking myself what about really(tm) testing this? So I remembered the rewrite-log from the … Continue reading

Posted in Hakre's Tips, Patched, Pressed, Professional Webdevelopers At Work, Scripts, Surviving the Internet, Tools, Uncategorized | Tagged , , , , | Leave a comment

Speedpills 4 Linting PHP Files in Parallel

Quite some time ago I’ve already written about linting PHP files in the shell / build. Even though parallel linting is fine, when the code-base is growing larger and larger, the build becomes slower and slower. A slow build sucks. … Continue reading

Posted in Hakre's Tips, PHP Development, PHP Development, Pressed, Scripts, Tools, Uncategorized | Tagged , , , , , | 1 Comment

Install / Update Dbeaver Community on Ubuntu

Update: Turns out I was too eager to get the command line running. While it’s fine to have it perhaps for some systems, it is actually the case that Dbeaver has both a Debian repository and an Unbuntu PPA as … Continue reading

Posted in Hakre's Tips, Tools, Uncategorized | 2 Comments

Using Assertions with (Legacy) PHP Code

While it was not much advised to use assertions (the assert PHP language construct) prior to PHP 7 due to the fact that it actually eval’ed a string’ed code, these days are gone. This is probably a lesser known fact with … Continue reading

Posted in Developing, Hakre's Tips, PHP Development, PHP Development, Pressed, The Know Your Language Department, Tools | Tagged , , , , , , , | Leave a comment

Lazy Loading in PHP Object Composition

When it comes to nicely performing PHP scripts (yes in PHP these are all scripts as PHP code is run-time) there is a nice addition since PHP 7 named the Null coalescing operator which plays very well with the basic nature … Continue reading

Posted in Hakre's Tips, PHP Development, PHP Development, Pressed, The Know Your Language Department, Tools | Tagged , | Leave a comment

Make any Composer Command Segfault

This is from the shock your co-worker department: There is an easy one-liner to make any composer based project spit “Segmentation fault (core dumped)” regardless of the Composer command entered:

Posted in Bugs and Features, PHP Development, Pressed, Tools | Tagged , , | Leave a comment

Linting PHP Files in Parallel on Travis

With PHP 7 around the corner here is a small tip how you can at least lint the code in your project to be PHP 7 syntax compatible. That allows you to easier obtain forward-compatible PHP code with ease. So … Continue reading

Posted in Hakre's Tips, PHP Development, Pressed, Tools | Tagged , , , , , , , , | Leave a comment

Commandline Source Fixes Foo

From time to time I need to cleanup source trees. Today I needed to do that again, here are some command liners to get some work done. If you’re on Windows, all you need to do to get these running … Continue reading

Posted in Developing, Hakre's Tips, Pressed, Tools | Tagged , , , , , , | Leave a comment

SimpleXML and JSON Encode in PHP – Part III and End

The previous two parts (Part I; Part II) did outline PHP’s standard behaviour when JSON encoding a SimpleXMLElement with json_encode(). As outlined this does not always fits the encoding needs and for some potential problems some workarounds have been showed. … Continue reading

Posted in Developing, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , | 4 Comments

SimpleXML and JSON Encode in PHP – Part II

In the previous post (Part I) I was giving a little overview for common woes turning a SimpleXMLElement into JSON when XML structural information is available that JSON is not capable to encode easily. The explanations given there were intended … Continue reading

Posted in Developing, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , | 2 Comments

SimpleXML and JSON Encode in PHP – Part I

With SimpleXMLElement it is often easy and looks like a very quick way to turn some XML into JSON. But not everything in PHP that has an easy interface works out of the box. In this three part series I’ll … Continue reading

Posted in Developing, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , | Leave a comment

PHP: XPath on HTML and XHTML

Christan Weiske has published a nice summarizing article with the same title. It contains some detailed information I haven’t found so far on the web so worth the link: PHP: XPath on HTML and XHTML. It also reminds me of … Continue reading

Posted in Developing, Hakre's Tips, PHP Development, Pressed | Tagged , , , , | Leave a comment

PHP on Google App Engine – Quick First Review

This is fresh out of the news (Ars; Wired; WHIR; VB), and what Google wants to offer looks like a very cool package. So if you hadn’t had the time to view the video, here is a quick summary and … Continue reading

Posted in Features, Hakre's Tips, PHP Development, Pressed, Reports, Tools | Tagged , , , , , , , , , , , | 7 Comments

Event-driven PHP – Igor Wiedler

Nice talk by Igor at TakeOff 2013: Event-driven PHP – Igor Wiedler.

Posted in Linked, PHP Development, PHP Frameworks, Pressed, Tools, Video | Tagged , , | Leave a comment

Getting the Vagrant in the Box (Fedora 17)

This post is about installing a useful development tool to play with systems and configurations in a virtualized environment on your fingertips. Want to test your WordPress with a completely differnt web- and database server? Maybe running a proxy in … Continue reading

Posted in Developing, Hakre's Tips, Pressed, Tools | Tagged , , , | Leave a comment

Web3tracer a XHProf derived PHP Profiler / Tracer

“web3tracer is a PHP profiler / tracer derived from XHProf; it is a PHP module written in C allowing you to profile php scripts performance with minimum overhead.” License: LGPL 3.0 Read On: Pinba – Realtime Monitoring and Statistics Server … Continue reading

Posted in Linked, PHP Development, Pressed, Tools | Tagged , , | Leave a comment

Hidden Features of PHP – Ilia Alshanetsky

Ilia put the slides of his talk on 06 Jun 2012 in Toronto named “Hidden Features of PHP” online. He lists features, functions and extensions he thinks are hidden gems and shows examples of them. Slides are available at http://ilia.wsContinue reading

Posted in Linked, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , , , , , | Leave a comment

Mosh (mobile shell), sort of client / server type of screen.

Posted on by hakre | Leave a comment

DataCleaner – Data quality, profiling, cleansing and matching utility

DataCleaner – Open source data quality, data profiling, data cleansing, data matching (via Cubrid)

Posted in Hakre's Tips, Linked, Pressed, Tools | Tagged , , , | Leave a comment