This document includes some general guidelines for creating samples in Logic.
Settings for capturing one-shot samples.
| { | |
| "singleQuote": true, | |
| "semi": true, | |
| "tabWidth": 2, | |
| "useTabs": false, | |
| "trailingComma": "all", | |
| "printWidth": 80 | |
| } |
| #!/bin/bash | |
| # Check if the script is run with sudo | |
| if [ "$(id -u)" -ne 0 ]; then | |
| echo "This script requires superuser privileges. Please run with sudo." | |
| exit 1 | |
| fi | |
| # Install packages | |
| apt-get install dictd |
| #!/bin/bash | |
| grep -E '^[a-z]+$' /usr/share/dict/words | shuf -n 12 | paste -d '_' - - |