/etc/udev/rules.d/90-xhc_sleep.rules
# disable wake from S3 on XHC1
SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"
[Unit]
Description=A fan manager daemon for MacBook Pro
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| %%%%% | |
| %%%%% Information | |
| %%%%% | |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| - AMD Graphics Cards | |
| - Ubuntu 16.04 |
| # upload artifact to nexus3 via python | |
| artifact_name=os.path.basename(zipped_log_file) | |
| headers = {'Content-Type': 'application/binary'} | |
| with open(zipped_log_file, 'rb') as artifact: | |
| requests.put(nexus_url + '/' + artifact_name, headers=headers, | |
| data=artifact, auth=(nexus_username, nexus_password)) | |
| # get pip for python36 on f29+ | |
| wget https://bootstrap.pypa.io/get-pip.py | |
| python3.6 get-pip.py |
| # get latest objects from S3 bucket | |
| aws s3api list-objects --bucket {S3-bucket-name} --query "Contents[?LastModified>=\`$(date +%Y-%m-%d)\`][]" |