$ xcrun simctl list --json
$ xcrun simctl delete unavailable
| #!/bin/bash | |
| # Specify the name of the branch you want to squash the history for | |
| BRANCH_NAME=$1 | |
| # Specify the name of the new branch | |
| NEW_BRANCH_NAME=$2 | |
| # Specify cutoff hash | |
| CUTOFF_HASH=$3 |
| [global] | |
| # https://eggplant.pro/blog/faster-samba-smb-cifs-share-performance/ | |
| # FORCE THE DISK SYSTEM TO ALLOCATE REAL STORAGE BLOCKS WHEN | |
| # A FILE IS CREATED OR EXTENDED TO BE A GIVEN SIZE. | |
| # THIS IS ONLY A GOOD OPTION FOR FILE SYSTEMS THAT SUPPORT | |
| # UNWRITTEN EXTENTS LIKE XFS, EXT4, BTRFS, OCS2. | |
| # IF YOU USE A FILE SYSTEM THAT DOES NOT SUPPORT UNWRITTEN | |
| # EXTENTS, SET "strict allocate = no". |
| # Testing | |
| When writing automated tests there is a sea of terms out there for what your tests are doing or aim to do. | |
| This gist is here as a cheat sheet for future reference. | |
| ## Unit test | |
| Tests a small unit of the code, one test typically tests one branch (if, switch, for etc.) in one method. | |
| Dependencies and interactions should be mocked to not affect the outcome of the test or invoke things | |
| outside of the scope of the test. |