How to Protect WordPress From a Brute Force Attack

24 hours ago I started receiving a Brute Force Attack on one of the WordPress sites I have. The site was somewhat protected but that protection wasn’t as well tuned as I would have liked. I’ll share what I did to improve it so you can take action and protect your site in a better way.

Continue reading How to Protect WordPress From a Brute Force Attack

Boeing 787-8 Japan Airlines 1:200 Hasegawa

I recently finished this great plastic model that was given to me as a birthday gift this past May. I had not built a plastic model since I was like 14 or 15!

This time though, I had YouTube so I used it a lot to learn new skills that I didn’t know 15 years ago.

The kit was very well built so everything fitted perfectly and I didn’t have to use filler. The only small problem was that the panel lines were really shallow so it was a bit hard to highlight them with thin paint.

Here are some pictures of the building process and the completed model.

I really enjoyed building this plane and I think I’ll continue with a new model soon!

How to install Ruby and Rails on OS X using rbenv

I recently re-installed Ruby and Rails to start playing with it again. This time when I went to to check what was the latest version of Ruby and Rails, I noticed they were not recommending the traditional RVM to manage the Ruby installation anymore, but they were recommending something called rbenv. So I tried it.

Although rbenv has a lengthy documentation page on its GitHub page, the instructions to install Ruby and then Rails where not 100% complete and I had to look for extra information on Stack Overflow and other sites.

Here’s a step by step to install rbenv, Ruby and then Rails on OS X Yosemite.

  1. Install Homebrew, the package manager for OS X. Paste the following at a Terminal prompt:
    ruby -e "$(curl -fsSL"
  2. Now that Homebrew is installed, run the following:
    $ brew update
    $ brew install rbenv ruby-build
  3. You can now list all the available Ruby version and check the one you want to install:
    $ rbenv install -l
  4. Let’s install Ruby version 2.2.2 (or whatever version you want):
    $ rbenv install 2.2.2
  5. If you check your Ruby version now ($ ruby -v) you will still see the existing system Ruby version and not the one you just installed. To fix that, run the following commands to make sure rbenv is in your PATH:
    $ export PATH="$HOME/.rbenv/bin:$PATH"
    $ eval "$(rbenv init -)"
    $ env | grep PATH
  6. Now that we have rbenv and Ruby installed, let’s install Rails:
    gem install rails
  7. Rails is now installed, but in order for us to use the rails executable, we need to tell rbenv to see it:
    rbenv rehash
  8. And now we can verify Rails is installed:
    rails -v

With that, you should be all set up with your new Ruby on Rails installation.

If you have any questions about any of the steps, just let me know!

Seagull 40: Takeoff, basic aerobatics and landing

This is a 3 minute video of my first RC model: a Seagull 40, doing some basic aerobatics a couple of weeks ago.

I’m using a Mobius camera to record and the engine is a OS 46AX II ABL.

Spitfire Pilot: The Book That Puts You Inside The Cockpit

I don’t know why I didn’t start reading this kind of books earlier. I loved this one.

Spitfire Pilot: A Personal Account of the Battle of Britain is a book written in 1940 by Flight Lieutenant David Crook DFC. It wasn’t written as a book but as his personal diary during the Battle of Britain in World War II and was then published as a book.

Continue reading Spitfire Pilot: The Book That Puts You Inside The Cockpit

3 Podcasts You Need To Listen To If You Are Into Startups, Entrepreneurship And Technology

After years of not being subscribed to any podcast, I started listening to them again.

Here are some of my favorites. It’s amazing that you can (still) find great content online for free!

Continue reading 3 Podcasts You Need To Listen To If You Are Into Startups, Entrepreneurship And Technology