Development

[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. ...

Navigating the Big Data Journey - Understanding its Life Cycle

December 29, 2013

In this post, we’ll break down the big data life cycle into its essential components, offering a roadmap for navigating this multifaceted landscape. The Eight Key Challenges # Capture: This is where it all starts. You can’t analyze what you don’t have, so capturing relevant data from diverse sources is the initial step. The challenge here lies in determining what data is useful and then finding effective ways to collect it. ...

Applicable values for AddItemRequest.Item.Country

October 26, 2013

Applicable values for AddItemRequest.Item.Country # • AA(in/out) NOTE: APO/FPO was defined in eBay list previously but they are not defined in ISO 3166. This country will remain on eBay country code list for backward compatibility.• AD (in/out) Andorra. • AE (in/out) United Arab Emirates. • AF (in/out) Afghanistan. • AG (in/out) Antigua and Barbuda. • AI (in/out) Anguilla. • AL (in/out) Albania. • AM (in/out) Armenia. • AN (in/out) Netherlands Antilles. ...

How to Display the Contents of a Node's Field as an Array in Drupal 6

September 11, 2013

When you’re working with Drupal 6, it’s sometimes necessary to inspect the data stored in a node’s field. This is especially useful for debugging or when you’re trying to understand the structure of the content better. One quick way to achieve this is by dumping the field contents as an array. In PHP, the var_export() function comes in handy for this purpose. Here’s how to do it: var_export(content_fields('field_name_of_the_field', 'name_of_the_content_type')); In this snippet, replace 'field_name_of_the_field' with the actual name of the field you’re interested in and 'name_of_the_content_type' with the specific content type containing that field. ...

A Comprehensive Guide to Drupal 7 Mobile Boilerplate Theme

September 5, 2013

Looking to craft a robust and fast mobile web application with minimal fuss? Drupal 7’s Mobile Boilerplate theme has got you covered. This professional front-end template saves you time and energy by offering pre-configured solutions that make mobile development a breeze. Key Features # Optimized for Mobile Browsers: Out-of-the-box settings designed for smooth mobile browser functionality. CSS Fixes and Normalizations: Say goodbye to common CSS bugs and inconsistencies across different mobile browsers. ...