My Sublime text 3 config

Feb/02/2017 5 min read by Marco Monteiro

For the last 4 years or so I've been using sublime text 2. I bought the license, therefore I saw no point in upgrading. Until today, when I found out that I could use my ST2 license on ST3 (beta). Today was configuration day and I re-configured editor or choice.

Read more

Are you still using NFS to sync your file over to your virtual box?

Jan/19/2017 1 min read by Marco Monteiro

For quite a while I must admit I been using this method to sync my files. This has been problematic, files not really syncing in real time can be a pain in the ass, sepecially when you're making changes on front-end and want to see those changes on the fly.

So, do yourself a favor and change to rsync. To do so, you just need to edit your vagrant file for something like this:

config.vm.synced_folder "./", "/vagrant", type: "rsync",
    rsync__exclude: ".git/"

This way you're using rsync and you're excluding your git folder. You can add other folder there. Now, when you start your vagrant box you have to do this:

$ vagrant up
$ vagrant rsync-auto

And your files will be synced automatically.

Read more

Codeigniter version 4 needs your help

Aug/09/2016 1 min read by Marco Monteiro

CodeIgniter 4 has its own Github repository. It deviates enough from CodeIgniter 3 that the British Columbia Institute of Technology wanted to keep them separate. The CodeIgniter 4 roadmap is explained in the forum, and work to be done is detailed in the repository issues.

Read more

Need a legacy vagrant box?

Aug/06/2016 2 min read by Marco Monteiro

Last week I was contacted by some really old client. You know, the kind of client that you think that they don't even have the app you made for them online anymore.

Turns out, they do have such app online, and they wanted me to change some minor things in it. But obviously I couldn't do it directly in production. I needed to create a local environment that would mimic the one the client had.

Read more

Using PuPHPet and then connecting to your mysql via SSH tunnel

Feb/21/2016 1 min read by Marco Monteiro

I just did a fresh install of vagrant and built it using the online tool from PuPHPet. Had everything ready but I wasn't able to connect to my mysql server.

Read more