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”

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 rubyonrails.org 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 https://raw.githubusercontent.com/Homebrew/install/master/install)"
  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!

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”

Video: Así funciona Apple CarPlay

Hace un par de días Apple presentó CarPlay en el Salón del Automóvil de Ginebra.

CarPlay es la nueva interfaz de Apple que se conecta con el iPhone para, en resumen, hacer todo lo que puedes hacer con el iPhone, pero en la pantalla integrada de auto, e incluso usando los controles del volante.

En este video una ejecutiva de Apple nos hace una demostración de CarPlay en el Ferrari FF.

CarPlay estará disponible inicialmente muy pronto en autos Volvo, Ferrari y Mercedes Benz. De aquí a fin de año CarPlay ya estará en BMW, Ford, General Motors, Honda, Hyundai, Jaguar, Land Rover, Kia Motors, Mitsubishi Motors, Nissan, PSA Peugeot Citröen, Subaru, Suzuki y Toyota.

Finalmente una interfaz decente para los autos! Hasta ahora no había visto ninguna que sea fácil de usar ni atractiva en cuanto a diseño.

Comparte fotos de manera privada y gratuita con Seahorse

Típico que cuando vas de vacaciones sacas miles (literalmente) de fotos y cuando vuelves a tu casa y tu familia o amigos te preguntan por las fotos tu respuesta es: están en el computador o en la cámara, las subo después.

Ahora, el problema que yo y creo que muchos más tienen es que Facebook no es lo suficientemente privado como quisieras para compartir las fotos de tus vacaciones con los más cercanos. Y aquí es donde viene Seahorse al rescate, una aplicación para justamente compartir fotos con las personas que tu elijas, de manera muy sencilla.

Seahorse funciona como aplicación de iOS, Android o también desde el navegador web. Después del registro ya puedes comenzar a crear álbumes y agregar personas a ellos. Puedes agregar colaboradores que tienen permiso par agregar más fotos o simplemente como espectadores que solo tienen permiso para verlas.

Seahorse te da 1 GB de almacenamiento gratis al inicio, pero es muy fácil llegar a los 5 o 6 GB realizando algunas tareas simples como por ejemplo invitando a personas a tus álbumes, eligiendo una foto de perfil o subiendo fotos desde tu computador, por ejemplo.

Hace poco también Seahorse envió un email a sus usuarios regalando 20 GB de almacenamiento gratuito extra simplemente por agregar a 2 personas a tus álbumes.

Personalmente creo que Seahorse viene a resolver el problemilla que muchos teníamos al momento de querer compartir fotos con los más cercanos. Facebook es demasiado público y enviar fotos mediante emails o compartirlas por Dropbox es poco práctico.

Les recomiendo que prueben esta nueva aplicación!

Link: http://www.seahorse.co

YouTube! What did you do to your User Interface?

I got my YouTube interface updated today. They are rolling it out to users progressively so maybe you got it too.

Google said they want to highlight the importance of Playlists and make them more visible, which is fine, but what’s the deal with the grey space on the sides of the main content section? I get the impression of a website that is old and outdated. Also, the video thumbnails look small and it feels there’s a waste of space.

I feel like YouTube is using old HTML frames…

I think they can just make the video thumbnails a bit bigger without making the whole site look cluttered and also use some other way to divide spaces rather than that big ugly grey space.

Google has been playing around with the YouTube interface so much this past year so I hope all this improves in their next iteration.

38 tips for a good User Interface

Last night I found this really good website called GoodUI that shows 38 tips for creating a good User Interface. They explain each of those tips and give examples. Very good stuff to keep in mind when designing an interface. Definitely something you want to bookmark.

Go ahead and check out all the tips here.

How to find the ID of a post or page in WordPress

When you’re working with WordPress, especially with certain plugins or widgets, you might need to get the ID of a post or a page to link them, for example.

Although you won’t find this ID easily within the WordPress dashboard, there’s still a really simple way to get it. All you need to do it go to edit the post or page you’re interested in, and then look at the URL in the browser.

WordPress Post and Page ID

Happy blogging.