Month: January 2015
-
Adding a new panel to the WordPress Debug Bar plugin
You can extend the WordPress Debug Bar plugin adding new custom panels to fit your needs; for instance, showing responses from external APIs or webservices, or for other custom features. That’s an extremely simple example. You can check a more complex and complete one by viewing the source of one of the Debug Bar extender…
-
Debugging memory usage in PHP apps
As your app gets increasingly more complex, you might run into Memory exhausted errors, and even though you can always increase the allowed memory usage — either by tweaking php.ini or locally with ini_set() — it should be a better option to find out what’s using so much memory in the first place.
-
git doge
https://twitter.com/MarkSchmidty/status/547092134684540930
-
Are you boy-scouting your code?
Simple, humble and effective. Whenever you’re reviewing old code, or other people’s code, apply one simple rule: Leave it better than you found it Are you a boy scout?
-
Generar sprites CSS/LESS automáticamente con Grunt
La utilización de sprites en CSS es una de las técnicas más básicas pero a la vez más necesarias en el desarrollo front-end. Aunque es posible crear y mantener un sprite de forma manual, te tomará tiempo y esfuerzo que probablemente podría tener un mejor uso (sobre todo cuando tienes que incorporar nuevas imágenes al…
-
The deceiving simplicity of the login form
Jeff Atwood writes about the experience of creating Discourse’s login and all the invisible complexities involved on a deceivingly simple form: third-party auth, forgotten login data, labeling, security…