Daniel Pataki

Maker of code. Alien.

While working on the new Kinsta admin I wanted to create a lightweight, pure SVG chart that would allow us to plot a multitude of info easily. After going through multiple iterations and hitting some implementation issues we arrived at the final version, pictured below. The SVG Chart Data Array The pictured SVG chart uses […]

I’ve been playing around with SVG a lot recently and I’ve come up with an extremely lightweight, yet great looking and easy to manipulate pie chart. It uses Javascript to create an inline SVG pie chart, in this article I’ll show you all the math behind it and how you can create your own SVG pie chart.

Flight PHP is a micro-framework that gives you a few tools to manage common tasks like routing and loading classes – thus suggesting a structure and method of coding – but leaves everything else up to you. It balances functionality with flexibility beautifully and has a style which is easy to learn and remember. In this article I’ll give you a rundown of what Flight PHP can do and how it can give your development a boost.

The terminal is great for many things but for database administration I prefer something a bit more visual. phpMyAdmin has been the standard for accessing databases but it doesn’t come installed on most Vagrant instances I’ve used. In this article I’ll show you how to install phpMyAdmin on Vagrant yourself.

If you use an iMac as a monitor for a MacBook you may be familiar with target display mode. It works fine until you want to use the keyboard to control the MacBook since you don’t have anything to switch to target display mode with. In this article I’ll show you how you can enable target display mode remotely using SSH. I hooked it all up to Alfred so I don’t even need to type terminal commands to get it done.