On Mac, Homebrew is the de-facto package manager, and Homebrew Cask is the app manager. I’m going to use Cask to install Java 7 and 8.
Install Homebrew Cask first if you haven’t:
brew update
brew tap caskroom/cask
#!/bin/bash -euo pipefail | |
if [ ${#} -eq 0 ] | |
then | |
# read from STDIN | |
MAYBE_GIT_HASH=$( cat ) | |
else | |
MAYBE_GIT_HASH="${1}" | |
fi |
#!/bin/bash -euo pipefail | |
if [ ${#} -eq 0 ] | |
then | |
# read from STDIN | |
DATE=$( cat ) | |
else | |
DATE="${1}" | |
fi |
#!/bin/bash -euo pipefail | |
# When we increment TW_BUNDLE_SHORT_VERSION_STRING | |
# also update TW_BUNDLE_SHORT_VERSION_DATE to the current date/time | |
# we don't have to be very exact, but it should be updated at least | |
# once every 18 months because iTunes requires that a CFBundleVersion | |
# be at most 18 characters long, and DECIMALIZED_GIT_HASH will be | |
# at most 10 characters long. Thus, MINUTES_SINCE_DATE needs to be | |
# at most 7 characters long so we can use the format: | |
# ${MINUTES_SINCE_DATE}.${DECIMALIZED_GIT_HASH} |
#!/bin/bash -euo pipefail | |
if [ ${#} -eq 0 ] | |
then | |
# read from STDIN | |
MAYBE_CFBUNDLEVERSION=$( cat ) | |
else | |
MAYBE_CFBUNDLEVERSION="${1}" | |
fi |
import * as server from "./server"; | |
new server.App |
### Lines to add to .bashrc | |
# for the OpenBLAS library | |
export LD_LIBRARY_PATH=/path/to/OpenBLAS:$LD_LIBRARY_PATH | |
export BLAS=/path/to/libopenblas.a | |
export ATLAS=/path/to/libopenblas.a |
# This snippet checks your current directory for a .ruby-version file | |
# and if it exists, it then checks to see if that version of ruby is | |
# installed. If not, it will ask you if you want to install it. | |
# | |
# Add this snippet to $HOME/.zshrc | |
# In zsh, the chpwd will run a command every time you change directories. | |
function chpwd { | |
# Check if a .ruby-version file exists | |
if [[ -f "$PWD/.ruby-version" ]]; then |
environment: | |
SERVER_NAME: "myserver.doma.in" | |
# Dummy key, cert | |
SSL_KEY: |- | |
-----BEGIN RSA PRIVATE KEY----- | |
MIICXQIBAAKBgQD272jYrLm8Ph5QpMWFcWUO9Ua1EviykalP+tkMIg12yZ3GvezF | |
y8aayxdztB5vu68jqMeg6mOJlscWqFUhmAxj4mDknYenVzVX2CKzCgHlGninTKxY | |
61rXDaDZVpSZ+XIESJkaB0z9HHYtrSLr0coKmq4cT5TRptOnkpDlJxIRaQIDAQAB | |
AoGATcTYoGTFmiN2KK+8BWrRCQT2X9C5woNdb3LxKIEQ/HhC2HS4PRMQWW/c0vPH | |
IilZ30EoneUztAFochpRtWLNg4lJoLy04X/eNjEiC/imp0KSwWXmnuLhDcWcb0+M |
Hi, I am a fork from https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03.
A high level overview for what I need to do to get most of an Android environment setup and maintained on OSX higher Catalina and Big Sur with and without Android Studio been installed.
Considering the SDK is installed under /Users/<your_user>/Library/Android/sdk folder which is the Android Studio preferred SDK location, but it works fine under /usr/local/share/android-sdk as well, which is a location pretty much used on CI mostly.
https://github.com/shyiko/jabba instead ?