Things, life and stuff, mostly code.

planetOzh

Open PHP files in the right editor, automatically.

This is one of those cases when, viewing a file in your window manager, you see a .php file you want to quickly inspect. You double click on it, and… It quickly opens Geany, or your default quick file editor, but PHPStorm is already running right there… Or the opposite: you just want a quick peak for a single little…

YOURLS now speaks PostgreSQL

YOURLS is my cherished project: I'm proud of it, and I'm also clear-eyed about its limitations. For instance, PostgreSQL support has been one of the frequently requested features for at least six years. There have been a few YOURLS PostgreSQL forks that tried to address this, but keeping a fork in sync is quite a task and they didn't keep…

Migrated to Linux and still under the process of recreating an enviro where I'm as productive as I was on Windows. Almost there with Git. Still got to find a simple yet rather complete graphic editing tool to replace a SUPER old version of Paint Shop Pro. So far my go-to solution is photopea.com

#

So, after a 10 year hiatus (ten years !!), I'm rebooting this blog. New WP theme, no new topics except less (much less) WordPress. Cya soon :)

#

Revisiting WordPress smilies in a pure CSS way

Last night I was reading something interesting then stumbled, in the comments, on a WordPress smiley. Bleeeh. There's a reason one of the first things I do when I setup a new site is uncheck "Convert emoticons like :-) and :-P to graphics on display": 90's phpBB'esque blocky gifs are *ugly*. WordPress 4.2 Roadmap Wish: update those ugly smilies that…

WordPress plugin banner as a .PSD

I recently felt like making a few banners for my plugins. First questions that came to mind: "what's the name of the file again? what dimensions?". And then, while making stuff: "will this be hidden by the plugin's title?" So, I made this simple banner template as a Photoshop PSD file. Nothing genius but feel free to use. No excuse…

My WordPress plugins are on Github. Fancy a Pull Request?

I released a number of WordPress plugins over the last 10 years ("24 plugins and 1,062,110 downloads", says my fun bookmarklet) and they all mostly fall in one of these three categories: Outdated stuff that are no longer maintained because I don't need them anymore Simple stuff that don't require any maintenance because they just work and will probably work…

Archive your tweets with WordPress

Twitter is fun and catchy, but the thing is: once tweeted, gone forever. Found an awesome link last month, shared it with a relevant #hashtag? Good luck finding it now. Your data now lives and dies on Twitter and you have no hand on it. Four years ago to address this problem I made yet-another-Twitter-to-WordPress plugin, creatively named Ozh' Tweet…