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

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.
See man xcode-select for more details.

Merging Unrelated Git Histories - A Simple Guide

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. Now, you want to combine both projects into a single repository. If you try to perform a regular git merge or git rebase, Git will likely stop you with an error message, something like:

A Simple Guide to Using Ansible with Packer

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

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. All you need to do is open up your terminal and run the following command:

A Simple Guide to Installing Docker CE on Ubuntu

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.04 (Xenial) or higher.

Navigating the Big Data Journey - Understanding its Life Cycle

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#

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

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. •   AO (in/out) Angola. •   AQ (in/out) Antarctica. •   AR (in/out) Argentina. •   AS (in/out) American Samoa. •   AT (in/out) Austria. •   AU (in/out) Australia. •   AW (in/out) Aruba. •   AZ (in/out) Azerbaijan. •   BA (in/out) Bosnia and Herzegovina. •   BB (in/out) Barbados. •   BD (in/out) Bangladesh. •   BE (in/out) Belgium. •   BF (in/out) Burkina Faso. •   BG (in/out) Bulgaria. •   BH (in/out) Bahrain. •   BI (in/out) Burundi. •   BJ (in/out) Benin. •   BM (in/out) Bermuda. •   BN (in/out) Brunei Darussalam. •   BO (in/out) Bolivia. •   BR (in/out) Brazil. •   BS (in/out) Bahamas. •   BT (in/out) Bhutan. •   BV (in/out) Bouvet Island. •   BW (in/out) Botswana. •   BY (in/out) Belarus. •   BZ (in/out) Belize . •   CA (in/out) Canada. •   CC (in/out) Cocos (Keeling) Islands. •   CD (in/out) Congo, The Democratic Republic of the. •   CF (in/out) Central African Republic. •   CG (in/out) Congo. •   CH (in/out) Switzerland. •   CI (in/out) Cote d’Ivoire. •   CK (in/out) Cook Islands. •   CL (in/out) Chile. •   CM (in/out) Cameroon. •   CN (in/out) China. •   CO (in/out) Colombia. •   CR (in/out) Costa Rica. •   CU (in/out) Cuba. •   CustomCode (in/out) Reserved for internal or future use •   CV (in/out) Cape Verde. •   CX (in/out) Christmas Island. •   CY (in/out) Cyprus. •   CZ (in/out) Czech Republic. •   DE (in/out) Germany. •   DJ (in/out) Djibouti. •   DK (in/out) Denmark. •   DM (in/out) Dominica. •   DO (in/out) Dominican Republic. •   DZ (in/out) Algeria. •   EC (in/out) Ecuador. •   EE (in/out) Estonia. •   EG (in/out) Egypt. •   EH (in/out) Western Sahara. •   ER (in/out) Eritrea. •   ES (in/out) Spain. •   ET (in/out) Ethiopia. •   FI (in/out) Finland. •   FJ (in/out) Fiji. •   FK (in/out) Falkland Islands (Malvinas). •   FM (in/out) Micronesia, Federated States of. •   FO (in/out) Faroe Islands. •   FR (in/out) France. •   GA (in/out) Gabon. •   GB (in/out) United Kingdom. •   GD (in/out) Grenada. •   GE (in/out) Georgia. •   GF (in/out) French Guiana. •   GG (in/out) Guernsey •   GH (in/out) Ghana. •   GI (in/out) Gibraltar. •   GL (in/out) Greenland. •   GM (in/out) Gambia. •   GN (in/out) Guinea. •   GP (in/out) Guadeloupe. •   GQ (in/out) Equatorial Guinea. •   GR (in/out) Greece. •   GS (in/out) South Georgia and the South Sandwich Islands. •   GT (in/out) Guatemala. •   GU (in/out) Guam. •   GW (in/out) Guinea-Bissau. •   GY (in/out) Guyana. •   HK (in/out) Hong Kong. •   HM (in/out) Heard Island and Mcdonald Islands. •   HN (in/out) Honduras. •   HR (in/out) Croatia. •   HT (in/out) Haiti. •   HU (in/out) Hungary. •   ID (in/out) Indonesia. •   IE (in/out) Ireland. •   IL (in/out) Israel. •   IN (in/out) India. •   IO (in/out) British Indian Ocean Territory. •   IQ (in/out) Iraq. •   IR (in/out) Iran, Islamic Republic of. •   IS (in/out) Iceland. •   IT (in/out) Italy. •   JE (in/out) Jersey •   JM (in/out) Jamaica. •   JO (in/out) Jordan. •   JP (in/out) Japan. •   KE (in/out) Kenya. •   KG (in/out) Kyrgyzstan. •   KH (in/out) Cambodia. •   KI (in/out) Kiribati. •   KM (in/out) Comoros. •   KN (in/out) Saint Kitts and Nevis. •   KP (in/out) Korea, Democratic People’s Republic of. •   KR (in/out) Korea, Republic of. •   KW (in/out) Kuwait. •   KY (in/out) Cayman Islands. •   KZ (in/out) Kazakhstan. •   LA (in/out) Lao People’s Democratic Republic. •   LB (in/out) Lebanon. •   LC (in/out) Saint Lucia. •   LI (in/out) Liechtenstein. •   LK (in/out) Sri Lanka. •   LR (in/out) Liberia. •   LS (in/out) Lesotho. •   LT (in/out) Lithuania. •   LU (in/out) Luxembourg. •   LV (in/out) Latvia. •   LY (in/out) Libyan Arab Jamahiriya. •   MA (in/out) Morocco. •   MC (in/out) Monaco. •   MD (in/out) Moldova, Republic of. •   ME (in/out) Montenegro. •   MG (in/out) Madagascar. •   MH (in/out) Marshall Islands. •   MK (in/out) Macedonia, the Former Yugoslav Republic of. •   ML (in/out) Mali. •   MM (in/out) Myanmar. •   MN (in/out) Mongolia. •   MO (in/out) Macao. •   MP (in/out) Northern Mariana Islands. •   MQ (in/out) Martinique. •   MR (in/out) Mauritania. •   MS (in/out) Montserrat. •   MT (in/out) Malta. •   MU (in/out) Mauritius. •   MV (in/out) Maldives. •   MW (in/out) Malawi. •   MX (in/out) Mexico. •   MY (in/out) Malaysia. •   MZ (in/out) Mozambique. •   NA (in/out) Namibia. •   NC (in/out) New Caledonia. •   NE (in/out) Niger. •   NF (in/out) Norfolk Island. •   NG (in/out) Nigeria. •   NI (in/out) Nicaragua. •   NL (in/out) Netherlands. •   NO (in/out) Norway. •   NP (in/out) Nepal. •   NR (in/out) Nauru. •   NU (in/out) Niue. •   NZ (in/out) New Zealand. •   OM (in/out) Oman. •   PA (in/out) Panama. •   PE (in/out) Peru. •   PF (in/out) French Polynesia. Includes Tahiti. •   PG (in/out) Papua New Guinea. •   PH (in/out) Philippines. •   PK (in/out) Pakistan. •   PL (in/out) Poland. •   PM (in/out) Saint Pierre and Miquelon. •   PN (in/out) Pitcairn. •   PR (in/out) Puerto Rico. •   PS (in/out) Palestinian territory, Occupied. •   PT (in/out) Portugal. •   PW (in/out) Palau. •   PY (in/out) Paraguay. •   QA (in/out) Qatar. •   QM (in/out) NOTE : Guernsey was defined in eBay list previously but they are not defined in ISO 3166. This country will remain on eBay country list for backward compatibility. •   QN (in/out) NOTE: Jan Mayen was defined in eBay list previously but they are not defined in ISO 3166. This country will remain on eBay country list for backward compatibility. •   QO (in/out) NOTE: Jersey was defined in eBay list previously but they are not defined in ISO 3166. This country will remain on eBay country list for backward compatibility. •   RE (in/out) Reunion. •   RO (in/out) Romania. •   RS (in/out) Serbia •   RU (in/out) Russian Federation. •   RW (in/out) Rwanda. •   SA (in/out) Saudi Arabia. •   SB (in/out) Solomon Islands. •   SC (in/out) Seychelles. •   SD (in/out) Sudan. •   SE (in/out) Sweden. •   SG (in/out) Singapore. •   SH (in/out) Saint Helena. •   SI (in/out) Slovenia. •   SJ (in/out) Svalbard and Jan Mayen. •   SK (in/out) Slovakia. •   SL (in/out) Sierra Leone. •   SM (in/out) San Marino. •   SN (in/out) Senegal. •   SO (in/out) Somalia. •   SR (in/out) Suriname. •   ST (in/out) Sao Tome and Principe. •   SV (in/out) El Salvador. •   SY (in/out) Syrian Arab Republic. •   SZ (in/out) Swaziland. •   TC (in/out) Turks and Caicos Islands. •   TD (in/out) Chad. •   TF (in/out) French Southern Territories. •   TG (in/out) Togo. •   TH (in/out) Thailand. •   TJ (in/out) Tajikistan. •   TK (in/out) Tokelau. •   TM (in/out) Turkmenistan. •   TN (in/out) Tunisia. •   TO (in/out) Tonga. •   TP (in/out) No longer in use. •   TR (in/out) Turkey. •   TT (in/out) Trinidad and Tobago. •   TV (in/out) Tuvalu. •   TW (in/out) Taiwan, Province of China. •   TZ (in/out) Tanzania, United Republic of. •   UA (in/out) Ukraine. •   UG (in/out) Uganda. •   UM (in/out) NOTE: United States Minor Outlying Islands was defined in the eBay list previously but is no longer a viable option. This country will remain on eBay country list for backward compatibility. Use ‘US’ instead. •   US (in/out) United States. •   UY (in/out) Uruguay. •   UZ (in/out) Uzbekistan. •   VA (in/out) Holy See (Vatican City state). •   VC (in/out) Saint Vincent and the Grenadines. •   VE (in/out) Venezuela. •   VG (in/out) Virgin Islands, British. •   VI (in/out) Virgin Islands, U.S. •   VN (in/out) Viet Nam. •   VU (in/out) Vanuatu. •   WF (in/out) Wallis and Futuna. •   WS (in/out) Samoa. •   YE (in/out) Yemen. •   YT (in/out) Mayotte. •   YU (in/out) No longer in use. See RS for Serbia and ME for Montenegro. •   ZA (in/out) South Africa. •   ZM (in/out) Zambia. •   ZW (in/out) Zimbabwe. •   ZZ (in/out) Unknown country

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

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

Download : PROJ_FORMAT_#

  1. Introduction

  2. 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
 256 x 8-bit Internal RAM
 32 Programmable I/O Lines
 Three 16-bit Timer/Counters
 Eight Interrupt Sources
 Programmable Serial Channel