Development

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

6 September 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

4 September 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

4 September 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

2 September 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

2 September 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

29 December 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

26 October 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

11 September 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. ...

Online Temperature Monitoring System

7 June 2013

Download : PROJ_FORMAT_ # Introduction Working environment 2.1 Hardware Requirement Specification i. Microcontroller AT89c52 ii. ADC ADC0808 iii. Real Time Clock DS1307 iv. Serial EEPROM AT24c08 v. Serial Transceiver MAX232 vi. LCD 16×2 2.2 Software Requirement Specification i. Programming Language ANSI C ii. Compiler KEIL 2.3 About the Hardware 2.3.1 Microcontroller (89C52) Key Features  Compatible with MCS-51™ Products  8K Bytes of In-System Reprogrammable Flash Memory  Endurance: 1,000 Write/Erase Cycles ...