Skip to content

Instantly share code, notes, and snippets.

@pxlshpr
pxlshpr / README.md
Created March 19, 2022 23:38 — forked from brennanMKE/README.md
Create SSH Key on Mac for Xcode

Create SSH Key on Mac for Xcode

The docs for GitHub show a command to create a key with the ed25519 encryption method which is not allowed by Xcode. Even if you are not using the Source Control features in Xcode you will often need to use an account with GitHub when you are consuming Swift packages which are pulled from GitHub.

For SSH keys there are 4 algorithms.

  • 🚨 DSA: This is an older algorithm which is no longer supported and is superceded with more modern algorithms.
  • ⚠️ RSA: This algorithm was an improvement but it is now outdated and a more modern method should be used.
  • 👀 ECDSA: Another improvement which is dependent on your computer's ability to generate random numbers.
  • ✅: Ed25519: The most recommended public-key algorithm today which you should use with GitHub.

Introduction

Mushroom is a nutritious fleshy vegetarian delicacy and has a variety of more than 2300 speciesMushrooms are a nutritious fleshy vegetarian delicacy and have a variety of more than 2300 species1. This includes hundreds of identified species of these fungi which have made a significant global contribution to human food and medicine. Most of them are edible and containingcontain many vitamins ~~&~~and minerals but are very low onin sugar ~~&~~and fat. Their contribution has increased growing interest in cultivation to Mushrooms can be grown in a temperature between 20 and 30 C and required relative humidity is 55 to 75%2. This case makes the North-Eastern hemisphere to have very goodoptimal prospects offor cultivation as well asand processing. Fresh mushrooms can be sold in the market. There is also a growing market for processed**,** dried ~~&~~and packed mushrooms as their shelf life is longer (approximately

@pxlshpr
pxlshpr / .gitignore
Last active February 12, 2017 11:12 — forked from omegahm/create_labels.sh
Create Gtihub labels from Bash
.token
@pxlshpr
pxlshpr / Carthage Instructions.md
Last active October 19, 2017 21:05
These are the steps required to add and embed a framework into your project using Carthage.
  1. Add the URL of the framework's repo to your Cartfile using one of the following:
  github "ReactiveCocoa/ReactiveCocoa" # GitHub.com
  github "https://enterprise.local/ghe/desktop/git-error-translations" # GitHub Enterprise
  git "https://enterprise.local/desktop/git-error-translations2.git"
  git "/Users/user/foo/bar.git"

…optionally followed by one of the following version specifiers:

@pxlshpr
pxlshpr / xcode-universal.sh
Last active December 15, 2015 13:42
Xcode Run Script – Create universal binary file for framework
#CONFIG=${CONFIGURATION}
CONFIG=Release
# Step 1. Make sure the output directory exists
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIG}-universal
mkdir -p "${UNIVERSAL_OUTPUTFOLDER}"
# Step 2. Build Device and Simulator versions
xcodebuild -target "${PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIG} -sdk iphoneos BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" clean build
xcodebuild -target "${PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIG} -sdk iphonesimulator -arch x86_64 -arch i386 BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" clean build