e.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.hypervisor</key>
<true/>
</dict>
e.xml
:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.hypervisor</key>
<true/>
</dict>
┌───┬──┐ , _ _ | |
│ ╷╭╯╷ │ /| | | | | | | |
│ └╮ │ |___| _ | | | | __ | |
│ ╰─┼╯ │ | |\ |/ |/ |/ / \_ | |
└───┴──┘ | |/ |__/ |__/ |__/ \__/ |
contents := []byte(` | |
{ | |
"key": "value", | |
"key2": "value2" | |
} | |
`) | |
type Custom struct { | |
Key string | |
Key2 json.RawMessage |
{ | |
"metadata": { | |
"name": "busybox" | |
}, | |
"image":{ | |
"image": "mcr.microsoft.com/windows/nanoserver:1809" | |
}, | |
"command": [ | |
"ping", | |
"-t", |
/lib/ld-linux.so /bin/chmod +x /bin/chmod |
MacOS quicklook for unknown text files (qlstephen
), code (qmcolorcode
), markdown (qlmarkdown
), etc
brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency quicklookase qlvideo
xattr -d -r com.apple.quarantine ~/Library/QuickLook
qlmanage -r
killall Finder
# get asws account id
aws sts get-caller-identity --query Account --output text
write installed packages to freeze file (here stdout): | |
``` | |
brew bundle dump --file=- | |
``` | |
install from freeze file: | |
``` | |
brew bundle install --file=<f> | |
``` |
when creating a S3 bucket with CDK it is per default protected from getting deleted with cdk destroy
.
To remove this protection for faster testing:
RemovalPolicy: awscdk.RemovalPolicy_DESTROY
= destroy if emptyAutoDeleteObjects: jsii.Bool(true)
= destroy even if not emptypackage main
javascript:(function(){var a=window.open('about:blank').document;a.write('<!DOCTYPE html><html><head><title>Source of '+location.href+'</title><meta name="viewport" content="width=device-width" /></head><body></body></html>');a.close();var b=a.body.appendChild(a.createElement('pre'));b.style.overflow='auto';b.style.whiteSpace='pre-wrap';b.appendChild(a.createTextNode(document.documentElement.innerHTML))})(); |