# Copyright 2006-2020 Joseph Block <[email protected]> | |
# | |
# BSD licensed, see LICENSE.txt | |
# | |
# Set this to use case-sensitive completion | |
# CASE_SENSITIVE="true" | |
# | |
# Uncomment following line if you want to disable colors in ls | |
# DISABLE_LS_COLORS="true" | |
# |
use framework "Foundation" | |
use scripting additions | |
-- https://forum.latenightsw.com/t/reading-json-data-with-nsjsonserialization/958/2 | |
on readJSON(strJSON) | |
set ca to current application | |
set {x, e} to ca's NSJSONSerialization's JSONObjectWithData:((ca's NSString's stringWithString:strJSON)'s dataUsingEncoding:(ca's NSUTF8StringEncoding)) options:0 |error|:(reference) | |
if x is missing value then | |
error e's localizedDescription() as text | |
else |
id | title |
---|---|
tools |
The coolest tools |
- Git: The version control system we use
- macOS:
brew install git
- macOS:
- Linux: it's best to install git using your OS package manager
References:
echo 'source ~/.zshrc' >> ~/.zsh_profile
source ~/.zsh_profile
This is a guide for setting up an Apple Mac for software development. Current versions of macOS have a fairly good default configuration for general-purpose use, but you do need to to adjust some of the security settings. In addition, you need to install several pieces of software in order to make the system useful for development.
Log in once, run Software Update, and ensure that the operating system is at the latest point release. After all of the updates have been applied, restart the computer.
Log in again and create an Admin user account for your use. If other people will be using the machine, create Standard accounts for them. Log out of the initial account, and log in to the Admin account that you have just created.
You should also find an external hard drive. Begin using Time Machine as soon as possible, as it provides the most easy method for backing up your system.
# Configuration for Alacritty, the GPU enhanced terminal emulator | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty it self. | |
env: | |
# TERM env customization. | |
# | |
# If this property is not set, alacritty will set it to xterm-256color. | |
# |
This gist contains all the information I need when I reset my MacOS. There are some overlaps between this gist and my super cheatsheet, but the super cheatsheet is more about specific commands and usage.
Some good references are: macOS setup guide, Setting up a Brand New Mac for Development, and dev-setup.
- Commit and push all git repos
@ref: Become a Git Guru and Simple Git