All processes in ZSH/Bash under job control are in 3 states: foregrounded, backgrounded and suspended.
# run command in the foreground
command
# run commend in the background
I hereby claim:
To claim this, I am signing this object:
| var daysOfWeek = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']; | |
| var inputCalories = [3500, 1500, 1800, 2300, 2400, 1500, 1500]; | |
| // const caloriesByDay = daysOfWeek.map(function(day, index) { | |
| // return { | |
| // [day]:inputCalories[index] | |
| // } | |
| // }) |
How to enable function keys
echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode
https://blog.colinwaddell.com/keychron-function-keys-configuration/
| var spawn = require('child_process').spawn, | |
| un = spawn('git', ['config', 'user.name', 'Batman']), | |
| ue = spawn('git', ['config', 'user.email', 'batman@gotham.com']), | |
| g = spawn('git', ['commit', '-am', "Jooooooker"]); | |
| un.stdout.on('data', function (data) { | |
| console.log('un stdout: ' + data); | |
| }); | |
| ue.stdout.on('data', function (data) { |
https://alexcabal.com/creating-the-perfect-gpg-keypair/
Create a regular GPG keypair. By default GPG creates one signing subkey (your identity) and one encryption subkey (how you receive messages intended for you).
Use GPG to add an additional signing subkey to your keypair. This new subkey is linked to the first signing key. Now we have three subkeys.
This keypair is your master keypair. Store it in a protected place like your house or a safe-deposit box. Your master keypair is the one whose loss would be truly catastrophic.