Sync local and remote WordPress database

This is just a big heads-up to every WordPress developer out there, just to let them know that syncing a development/staging database doesn’t have to be a nightmare. There’s this plugin called WP Sync DB which works like magic. As a reader also suggests, WP Sync DB also has plugins that build upon the main funcionality. For example, wp-sync-media-files, to sync also, well, media files. But there are more. GitHub Repo: https://github.com/wp-sync-db/wp-sync-db Website: http://wp-sync-db.github.io/ WP Sync DB GH Page (repo and more plugins): https://github.com/wp-sync-db

Read entry

Instadownload: Download photos from Instagram web

Update 2019: This no longer works due to Instagram constantly updating it’s generated HTML. There are plenty of alternatives to do this so I probably won’t update this. Update 02/08/2016: Updated the code to work with the latest version of Instagram. Remember, only works on photo detail page, like this. Does this look familiar? If you right-click on any Instagram photo from their web app you get this context menu, and you can’t “Save Image As…”. Frustrating, right? Instadownload solves that problem by creating a dynamic download button on the photo detail pages of the Instagram web app. It is useful for […]

Read entry

Build a simple website with Silex

Update: Silex has been deprecated in June 2018 in favor of Symfony. I love static* websites. They’re usually faster to develop, smaller, require no database or backend and are faster to load. Of course they require more work to maintain and tweak at first, but if you’re a developer, these things should be pretty entertaining or at the very least, straightforward. There are many options out there for building static websites; both free, like Anchor, Sculpin and Stacey; and paid, like Kirby and Statamic, among many others, like Silex. This is a good moment to tell you that I’m aware of the difference of static websites vs flat-file CMSs […]

Read entry

Portada: RSS reading app with Laravel 5

A few weeks ago, along with Pablo Massa, we launched Portada, a web app to read news from multiple sources. The Problem The problem we were trying to solve is that local news sites are mostly hard to read, hard to skim through and cluttered with ads. Also, it would be cool to have all news sources in a timeline fashion. Although you could certainly achieve this last feature using a regular feed reader. Our Solution So after a few iterations and proof of concepts, we put together a few components that make the whole app: a Laravel 5 backend for administering news and news sources, a spider […]

Read entry

Mac space running out? WhatsApp backup to iCloud may be the cause

A few weeks ago I noticed my Mac was running a bit low on disk space. It didn’t surprise me, since I have loads of RAW photos that take up massive amounts of space, and it’s a 256GB box. However, since it hit around 15GB I’ve been keeping an eye on it. Since then, I’ve seen how almost on a daily basis the free space drops and drops… If this situation sounds familiar to you, maybe you can find the solution here. When it hit 10GB I started looking for an explanation. After examining with Disk Inventory X, I noticed that ~/Library/Caches folder […]

Read entry