Sal Aguilar's Adventures in IT

computers are easier to deal with than people

MacOS Improvements: Homebrew — November 13, 2017

MacOS Improvements: Homebrew


For those who have used any Linux distro like Debian or CentOS, you are pretty familiar with packet managers. But this is also for all those Mac newbies out there, basically a packet manager is:

… a collection of software tools that automates the process of installing, upgrading, configuring, and removing computer programs for a computer‘s operating system in a consistent manner.

On Debian has APT and CentOS comes with YUM. Every IT Pro, SysAdmin or Dev knows how lovely packet managers are, and well since Apple never made one for MacOS, some one did and its amazing.

It’s called HOMEBREW and it brings the sweetness and ease of installing packages just like APT or YUM does on Linux.

How do you install HOMEBREW?

Open your favorite terminal app, either the one that comes with MacOS or my favorite iTerm2 and execute this command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 And that’s it. YES, IT’S THAT SIMPLE!

Now What?

Now you should update Homebrew and you do it with this command:

brew update

And you can install any program/software. On this example I’m going to install Apache, PHP 7, MySQL:

brew install apache2 php70 mysql

This will proceed to install all the required dependencies for each of the software we are installing and that are NOT currently installed on the server.

After it is installed all software is saved the following directory:

/usr/local/Cellar

Below is a snapshot of how my HomeBrew directory is currently:

1. salvador@RipeR81-MBP: :usr:local:Cellar (zsh) 2017-11-09 21-27-20

So start experimenting with HomeBrew today, and let me know if you need a hand!

Tweet at me @RipeR81

Advertisements
Festival Break the 7 – El Salvador — November 9, 2017

Festival Break the 7 – El Salvador


BT7 no es una conferencia tradicional y tampoco es un típico evento de tecnología: es un Festival Digital. La tecnología estará presente en cada extensión del mismo.

El nombre significa Break the Seven porque será el lugar donde los conferencistas internacionales y los asistentes romperán siete elementos: the Process, the Content, the Metrics, the Code, the Algorithm, the System y para finalizar, the Web. Será tan explosivo que será impresionante.

Salvador Aguilar | BT7 2017-11-09 21-02-41

Mi papel como panelista es de representar a Nicaragua, GoDaddy & Sucuri, en esta ocasión como es la primera instancia de este evento, voy a participar en dos modalidades:

Charla Magistral:
Seguridad para Agencias & Freelancers de Desarrollo Web

BT7 Digital Festival 2017-11-09 21-07-16

Taller Especializado:
WordPress & Seguridad.

BT7 Digital Festival 2017-11-09 21-07-32

Si van a asistir no duden en contactarme para poder platicar en el evento.

Saludos!

 

Zac Gordon in WordCamp San José, Costa Rica 2017 — September 8, 2017

Zac Gordon in WordCamp San José, Costa Rica 2017


¡Pura Vida! Is the best way to start my review of attending WordCamp San José (formally WordCamp Costa Rica). Organizers Roberto Remedios and Alfredo “El Puas” invited me to do a workshop at WordCamp San José 2017 earlier this year while we were all hanging out at WordCamp Miami (also a great camp to attend). What started as a JavaScript […]

via Teaching JavaScript Deeply at WordCamp San José 2017 — WordPress Educator Zac Gordon

Matt writes about Gutenberg & WordPress — August 28, 2017

Matt writes about Gutenberg & WordPress


TinyMCE seems to be counted, a few months ago, we were presented with the future editor of WordPress, this editor will replaced the TinyMCE editor and will help define the web moving forward. This editor is called Gutenberg.

The editor is not like your classic WYSIWYG (what you see is what you get) editor, but it is built out of the user experience and the increase of Page Builders like Visual Composer, Beaver Builder, BoldGrid, etc. It has received several criticism, but be aware that everything that is different will always find some contrary reactions and its fine.

I am honestly excited for what is to come because I do believe on Matt Mullenweg’s work as he has been vital to making WordPress so popular that is on 28% of all websites (that is amazing btw). So you can read the full thread below:

https://ma.tt/2017/08/we-called-it-gutenberg-for-a-reason/

Conversatorio sobre Trabajo Remoto (VIDEO) — July 15, 2017

Conversatorio sobre Trabajo Remoto (VIDEO)


Esta fue una sesión improvisada nacida de un post publicado en Facebook en el Grupo de Desarrolladores de Nicaragua

Le comparto la grabación de lo que hablamos!

Oh-My-ZSH on MacOS Sierra — June 22, 2017

Oh-My-ZSH on MacOS Sierra


If you are a developer, coder, sysadmin or IT Pro I assume that you have used the terminal either on your Unix, Linux, Mac o Windows. And the shell that usually comes as default is the good old faithful BASH shell, which is nice but not cool.

What is Oh-My-Zsh?

Oh-My-Zsh is an open source, community-driven framework for managing your ZSH configuration. It comes bundled with a ton of helpful functions, helpers, plugins, themes, and a other cool things.

Below are some facts about it:

  • More than 200 plugins. Enhance your productivity with plugins that integrate into git, google, youtube, sublime and much more.
  • More than 1000 contributors.  Since its Open Source, the code is available for free on GitHub and you can add your modifications, plugins and themes. Just submit your pull request!
  • More than 140. Don’t be a dull bird using the old BASH simple theme. Add colors and other functionalities by using any of the themes.

Still not convinced?

Check this screen captures:

And these are just some of the ways your terminal or console can look like. Pretty awesome right?

Now, how do I install Oh My ZSH on my Mac?

Dude, its a piece of cake. Just go to your Terminal or iTerm2

mac-terminal-1

And type:

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

This will do the entire process of installing all the required pieces to make it work. Once it finishes you can go ahead and customize the themes & plugins.

Picking a different theme

As default, Oh-My-ZSH comes with the theme default which is robbyrussell. But if you want to choose a different please go to the Themes page in GitHub. Choose the one you like the most and then use your favorite text editor (nano, vim, emacs, sublimetext or even textedit) to edit the file .zshrc located on your home folder. Below are the commands to open such file on nano & vim:

nano ~/.zshrc
vim ~/.zshrc

Then you will have to locate the string:

ZSH_THEME=robbyrussell

And change it to the theme that you selected, on this case I chose the theme called Blinks, so I went ahead and edited the .zshrc file and put this string instead of the one above:

ZSH_THEME=blinks

Then save the file and exit the editor. Please note that you will NOT see an immediate change on your current session. You would have to start a new terminal session to see the new theme applied there.

Now if you are a free soul like me, then you might want to set the value to random, that way each time you open the terminal you will experience a new theme until you find the one that you love the most. To enable this awesomeness simply use this string instead of the two previous ones:

ZSH_THEME="random"

Cool? Dude you know it is cool!

So, what about plugins?

Just like Themes, enabling and disabling plugins is done thru a text editor and your file .zshrc. You will need to look for the string:

plugins=(xxxx)

Where xxxx can be anything.

Since you are on Mac, I suggest all these plugins to be enabled:

plugins=(brew rails git ruby terminalapp sublime screen rvm perms osx history github encode64)

But there are several more, just go to the Plugins page on GitHub to learn about them all.

Please note that the same rule of the themes applies here, you will need to save the file and open a new session to see the plugins enabled.

So that is all folks. Start experimenting with Oh-My-ZSH and help the creator of this awesome shell by buying some swag for you and your friends!

Comment below if I missed anything! Thanks!

Colaboración con La Prensa sobre sitio web de Policía Nacional — June 21, 2017

Colaboración con La Prensa sobre sitio web de Policía Nacional


Ayer tuve la oportunidad de colaborar con un editor del periódico La Prensa, durante esta colaboración analicé el exterior del servidor y sitio web de Trámites Online de Policía Nacional, abajo el artículo completo

http://www.laprensa.com.ni/2017/06/21/nacionales/2250107-miles-datos-personales-riesgo-sitio-web-la-policia-nacional

Listas Negras: ¿Qué son y como afectan tu sitio web? — June 11, 2017

Listas Negras: ¿Qué son y como afectan tu sitio web?


WordPress 4.8 is here! — June 8, 2017

WordPress 4.8 is here!


https://wordpress.org/news/2017/06/evans/

Roberto Remedios – WP-CLI @ WordCamp Managua 2017 — June 5, 2017

Roberto Remedios – WP-CLI @ WordCamp Managua 2017


%d bloggers like this: