Blog

[solved] xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist

September 6, 2018

Error: xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist Use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install to install the standalone command line developer tools. See man xcode-select for more details. xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist Use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install to install the standalone command line developer tools. ...

Merging Unrelated Git Histories - A Simple Guide

September 4, 2018

Are you stuck with two Git repositories or branches that have completely different histories, but you need to merge them? You may be hitting a roadblock because Git is designed to prevent this kind of operation by default. However, there’s a workaround for this, and it’s simpler than you might think. The Problem: Unrelated Git Histories # Imagine you’re working on a project where you have a main branch, and someone else has a completely separate project with its own history. ...

A Simple Guide to Using Ansible with Packer

September 4, 2018

What is the Ansible Provisioner in Packer? # If you’re dabbling in the DevOps world, chances are you’ve come across Ansible and Packer. But how about combining them? The Ansible provisioner in Packer lets you run Ansible playbooks while creating your machine images. In simpler terms, it helps you set up your server environment automatically, just the way you like it, while Packer goes about its business creating a machine image. ...

A Simple Guide to Installing SSHPass on Ubuntu and macOS

September 2, 2018

Introduction # SSHPass is a nifty little tool that lets you automate SSH login by bypassing the usual password prompt. While it’s super convenient for scripting, bear in mind that it’s not ideal for a multi-user setup due to security concerns. However, if you’re using it on your personal development machine, it’s pretty harmless. How to Install SSHPass on Ubuntu # Installing SSHPass on Ubuntu is as straightforward as it gets. ...

A Simple Guide to Installing Docker CE on Ubuntu

September 2, 2018

What You Need Before You Begin # Operating System Requirements # First things first, make sure you’re running one of the following 64-bit Ubuntu versions to install Docker CE: Ubuntu 18.04 (Bionic) - LTS Ubuntu 17.10 (Artful) Ubuntu 16.04 (Xenial) - LTS Ubuntu 14.04 (Trusty) - LTS Docker CE is compatible with these architectures: x86_64, armhf, s390x (IBM Z), and ppc64le (IBM Power). Note: For IBM Z and Power architectures, you’ll need at least Ubuntu 16. ...