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) { |