tmux: Migrando de 2.3.* para 3.*

Olá! Há poucos dias atrás, atualizei a versão do Linux Mint no meu computador pessoal de 19 para 20, e fiquei feliz que nessa atualização a versão oferecida por padrão tanto do tmux como do tmate são bem mais recentes do que eu estava usando: ~ apt-cache show tmux # Entre várias informações úteis, olha a versão logo ali: Package: tmux Architecture: amd64 Version: 3.0a-2 ~ apt-cache show tmate # E a versão do tmate também: Package: tmate Architecture: amd64 Version: 2.

Xdebug, NetBeans and Vagrant

Hi! In this short post I’ll describe the steps I’ve made, with the great help of a work colleague, on how to achieve the combination of these great tools together: NetBeans, Xdebug and Vagrant. The following steps were executed in a vagrant box using Ubuntu, and with the Yosemite as the OS for the hosting machine. Xdebug Xdebugis one of the most amazing tools for any PHP developer. Consider yourself in the following situation: you have your code base, developed under some framework, and you have some few bugs while developing new features.

Using PHP CS Fixer on NetBeans 8.0

Recently on it’s version 8.0 (note: there’s a new stable release, NetBeans 8.0.1 at the present moment), the NetBeans IDE highlighted some new resources for PHP projects. One of the most interesting is the extension for PHP Coding Standards Fixer (A.K.A. PHP CS Fixer). What is the PHP CS Fixer: a brief explanation For those who didn’t heard about PHP CS Fixer before (/me included), it’s pretty easy: it’s a tool to evaluate and apply fixes into your PHP code, according to the famous PHP code standards well know as PSR (PHP Standard Recomendation, as described at the PHP FIG site).

MySQL + Windows: Command Line Tips

On this post, I’ll share some handy MySQL commands I’ve been through in the last months, and now they’re a essential part of my daily work and I’m writing them down to never forget them anymore ;-). Important: none of these commands below will work unless you’ve properly have both root access and MySQL command line tools configured on your PATH environment variable. mysql -u user -p database_name Basic command to connect to a local MySQL server.

Using PHP_CodeSniffer on NetBeans 7.4

In this first post, I’ll share my basic experience in how to use an important tool to assure and verify your code quality. Special thanks to Tomas Mysik and Adam McAuley for their efforts on Bugzilla and the NetBeans PHP Mailing List, which helped me a lot on how to use these combined tools, and then create this tutorial. Requirements PHP >= 5.3 NetBeans 7.4 PEAR Note: I’m assuming you already have an HTTP Server (like Apache) installed and ready for action.