Articles tagged 'devops'

Page 2 of 2

Understanding SSH Keys and using Keychain to manage passphrase on macOS Jul 3 2019

Accessing remote servers using passwords has been discouraged for a long time, and it is suggested to use SSH public keys as the authentication method. I've noticed that for some users, the setup and maintenance of their keys becomes a problem, so...

Read More...

Using Ansible to automate local tasks and setup Jun 19 2019

We can use an automation tool like Ansible to configure servers, set up CI/CD pipelines, and many more DevOpsy tasks.

This same tool can be used to maintain the setup of our day to day environment (as suggested by my friend Gerardo Santoveña) or automate...

Read More...

Xcode code structure - matching groups and filesystem May 24 2019

A folder structure makes it easy to navigate and understand any project. On Xcode, we can build the project structure using groups. The problem with this is that it doesn't reflect on the filesystem. What this means is that if we are looking at the...

Read More...

Basic developer setup Aug 20 2018

I have always been fascinated by other professions that have physical workshops, imagine a room full of neat rows of tools, with everything at hand, just having everything on its own places makes you want to create and build new things with your tools...

Read More...

Find command for the million Jul 29 2018

One of the most useful Unix commands, and mostly underutilized, is find. To get the most out of it there are two key features that we need to explore and understand.

  1. How to iterate over the results
  2. Limitation on the number of results we can operate...
Read More...

Git general workflow Jul 23 2018

The following is a basic git workflow that handles most users needs:

Read More...

Docker WordPress setup for local development Mar 2 2018

Development environment will use: WordPress latest - the image uses Apache MariaDB latest

I would like to keep the WordPress files in the host machine so I can tinker with them so we'll be using a mount defined by the environment variable: WPHOME

Read More...

Git branch cleanup after pull request Feb 24 2018

After merging a pull request Github shows the option to remove the branch that was merged, but that only removes the branch from the remote Github repo.

If you display all your branches in local( git branch -a ) you'll still see that the removed branch...

Read More...

tmux basic usage Feb 19 2018

After editing your config file (probably ~/.tmux.conf) you don't need to kill your tmux server and reload it, you can just go to tmux command mode and source your configfile:

1
<C-b>:source-file ~/.tmux

When you open use vim on tmux you might lose...

Read More...

Using rbenv for multiple projects Feb 15 2018

I prefer to keep all my gems separated by project so I use rbenv-gemset you might want to do that too.

If you want to use a specific ruby version on a project do the following:

1
2
cd project
rbenv install 2.4.1 # you can pick any version `rbenv install...
Read More...

Installing docker-toolbox on mac OSX Jan 11 2018

If you use iTerm you'll probably need to change the file:

1
/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/iterm.scpt

Following the code in this gist

Install bash_completion from mac ports or using homebrew Here I'll...

Read More...