From Security-Enhanced Linux for mere mortals and SELinux For Dummies
All as root.
yum -y install setroubleshoot setroubleshoot-server| cd | |
| git clone https://github.com/OtherDevOpsGene/states-docker-demo.git states | |
| cd states/www/html | |
| pwd | |
| ls | |
| docker run --name www \ | |
| -v /home/ubuntu/states/www/html:/usr/share/nginx/html:ro \ | |
| -d -p 80:80 nginx |
| Generated at 2020-06-24 21:36:26 +0000 | |
| TypeError: archive_file[C:/Users/ggotimer/Documents/archive.zip] (unzip_archive::default line 11) had an error: TypeError: unable to resolve type 'gid_t' | |
| C:/opscode/chef/embedded/lib/ruby/gems/2.7.0/gems/ffi-1.13.1-x64-mingw32/lib/ffi/types.rb:69:in `find_type' | |
| C:/opscode/chef/embedded/lib/ruby/gems/2.7.0/gems/ffi-1.13.1-x64-mingw32/lib/ffi/library.rb:589:in `find_type' | |
| C:/opscode/chef/embedded/lib/ruby/gems/2.7.0/gems/ffi-1.13.1-x64-mingw32/lib/ffi/library.rb:265:in `block in attach_function' | |
| C:/opscode/chef/embedded/lib/ruby/gems/2.7.0/gems/ffi-1.13.1-x64-mingw32/lib/ffi/library.rb:252:in `each' | |
| C:/opscode/chef/embedded/lib/ruby/gems/2.7.0/gems/ffi-1.13.1-x64-mingw32/lib/ffi/library.rb:252:in `attach_function' | |
| C:/opscode/chef/embedded/lib/ruby/gems/2.7.0/gems/ffi-libarchive-1.0.0/lib/ffi-libarchive/archive.rb:158:in `<module:C>' | |
| C:/opscode/chef/embedded/lib/ruby/gems/2.7.0/gems/ffi-libarchive-1.0.0/lib/ffi-libarchive/archive.rb:4:in `<module:Archive>' | |
| C:/opscode/chef/e |
| ### Keybase proof | |
| I hereby claim: | |
| * I am OtherDevOpsGene on github. | |
| * I am genegotimer (https://keybase.io/genegotimer) on keybase. | |
| * I have a public key whose fingerprint is 4330 2F2E 58F1 B6D3 7872 5B14 B6C3 B41F 5433 8B9D | |
| To claim this, I am signing this object: |
From Security-Enhanced Linux for mere mortals and SELinux For Dummies
All as root.
yum -y install setroubleshoot setroubleshoot-serverGo to microsoft/terminal ColorTool. Download the ColorTool release and extract the zip file.
Clone mbadolato/iTerm2-Color-Schemes. Copy the contents of the schemes folder into the ColorTool/schemes folder. Keep this page open so you can browse the screenshots to pick a scheme.
| <properties> | |
| <dependency.check.cveUrlModified>https://nexus.dhsice.name/repository/nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-modified.json.gz</dependency.check.cveUrlModified> | |
| <dependency.check.cveUrlBase>https://nexus.dhsice.name/repository/nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-%d.json.gz</dependency.check.cveUrlBase> | |
| </properties> |
| policies: | |
| - name: old-images-report | |
| resource: ami | |
| comment: | | |
| Report on all used images older than 60 days. | |
| filters: | |
| - type: unused | |
| value: false | |
| - type: image-age | |
| days: 60 |
| $ helm repo add harbor https://helm.goharbor.io | |
| $ helm repo update | |
| $ helm install harbor1 harbor/harbor -n harbor --create-namespace \ | |
| --set expose.type=loadBalancer \ | |
| --set expose.tls.certSource=secret \ | |
| --set expose.tls.secret.secretName=harbor1-certificate \ | |
| --set expose.loadBalancer.name=harbor1alb \ | |
| --set externalURL="https://harbor1.otherdevopsgene.com" | |
| $ docker run --rm -v "${HOME}/.aws:/root/.aws" -v "${HOME}/.kube:/root/.kube" \ |
| curl -s https://ohmyposh.dev/install.sh | sudo bash -s | |
| sudo rsync -av /root/themes/ /home/ggotimer/.poshthemes/ | |
| sudo chown -R ggotimer:ggotimer ~/.poshthemes/ | |
| curl -s https://ohmyposh.dev/install.sh | sudo bash -s && sudo rsync -av /root/themes/ /home/ggotimer/.poshthemes/ && sudo chown -R ggotimer:ggotimer ~/.poshthemes/ | |
| curl -s https://ohmyposh.dev/install.sh | sudo bash -s | |
| sudo rsync -av /root/themes/ /home/gene.gotimer/.poshthemes/ | |
| sudo chown -R gene.gotimer:"domain users" ~/.poshthemes/ |
| function luhn10(cc) { | |
| let num = normalize(cc); | |
| let sum = 0; | |
| let dbl = true; | |
| let checkDigit = num.slice(-1); | |
| for (let i = num.length - 2; i >= 0; i--) { | |
| if (dbl) { | |
| let val = +num.charAt(i) * 2; |