Note: as of jq v1.7
the project offers pre-built native macOS releases for ARM64 based architechtures.
A quick n' dirty Bash script to install the following:
autoconf
.automake
.libtool
jq
- from source.
This is a shell script version of the Node.js version created by mbostock.
Place it in a directory in your PATH
and set the permissions.
chmod u+x clone-all-gists
# Clone github repo | |
# Usage: | |
# | |
# $ chmod +x ./github-fast-clone.sh | |
# $ ./github-fast-clone <user/repo> | |
#!/bin/bash | |
MIRROR=https://hub.fastgit.org/ | |
GIT_HTTP_CONNECT_TIMEOUT=60 | |
DEPTH=3 |
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.
#!/bin/bash | |
# ============================================================================= | |
# @file GitHub gist | |
# @brief stop Adobe Creative Cloud app from auto-launching on login on macOS | |
# @author Michael Hucka <[email protected]> | |
# @created 2021-08-12 | |
# @website https://gist.github.com/mhucka/59e785a315d813d14cd0258b89a2fcac | |
# | |
# I find Adobe Creative Cloud absolutely infuriating. It installs auto | |
# launchers that are not in the user's login app list, and the services are |
# | |
# This file contains VM parameters for Trader Workstation. | |
# Each parameter should be defined in a separate line and the | |
# last line must be followed by a line feed. No leading or | |
# trailing whitespaces are allowed in the same line, where a | |
# parameter is defined. | |
# | |
# Lines starting with a '#' character are treated as comments | |
# and ignored. Additionally, if a line contains a | |
# '### keep on update' string, all parameters defined below will |
#!/bin/bash | |
if [ "$1" = "-s" ] || [ "$1" = "--show" ]; then | |
show=true | |
else | |
show=false | |
fi | |
if $show || [ "$1" = "-v" ] || [ "$1" = "--verbose" ]; then | |
verbose=true |