Status: {draft|final}
Owners: {who drove the incident resolution}
Description: {brief description of symptoms and root cause}
Component: {affected area}
Date/time: {YYYY-MM-DD HH:MM}
Bash script to keep track of time spent while Ubuntu (Linux) screen was locked. Keep this script running to track total breaks taken during full day.
Put All files in ~/lock-manager folder.
Run bash ~/lock-manager/screenlock-log.sh and keep it running through out time being.
Each time you Unlock your system it will ask you to "save" total lock duration by specifying purpose (for future reference), If canceled, total time will not be logged.
| upstream appserver { | |
| server localhost:8000; | |
| server localhost:8001; | |
| server localhost:8002; | |
| server localhost:8003; | |
| server localhost:8004; | |
| } | |
| server { | |
| listen 80; |
| function write_ws_xml_datavalidation(validations) { | |
| var o = '<dataValidations>'; | |
| for(var i=0; i < validations.length; i++) { | |
| var validation = validations[i]; | |
| o += '<dataValidation type="list" allowBlank="1" sqref="' + validation.sqref + '">'; | |
| o += '<formula1>"' + validation.values + '"</formula1>'; | |
| o += '</dataValidation>'; | |
| } | |
| o += '</dataValidations>'; | |
| return o; |