Updated: August 21, 2018
NOTE: This setup is used as an exporter destination for BigStats: https://npearce.github.io
On the AWS Console:
- In 'Instances', click 'Luanch Instance'.
- Select 'Amazon Linux 2 AMI (HVM), SSD Volume Type'
/** | |
* Apply the new, or modified, service definition to the BIG-IP | |
* @param {Object} service_def retireved from GitHub repo | |
* | |
* @returns {Object} AS3's declaration processing results | |
*/ | |
MyWorker.prototype.applyServiceDefinition = function (service_def) { | |
return new Promise((resolve, reject) => { |
Updated: August 21, 2018
NOTE: This setup is used as an exporter destination for BigStats: https://npearce.github.io
On the AWS Console:
Updated: August 21, 2018
NOTE: This setup is used as an exporter destination for BigStats: https://npearce.github.io
On the AWS Console:
//NOTE: the source permissions need to be set appropriately, also. | |
// npm i --save targz | |
const targz = require('targz') | |
targz.compress({ | |
src: '/tmp/mydirectory', | |
dest: 'output/filename.tgz', | |
tar: { | |
dmode: 0775, // Directories: rwxrwxr-x |
// using `type -d` and `type -f` to isolate | |
// Change all directories to 775, and ignore files | |
find /home/user -type d -exec chmod 775 {} \; | |
// Change all files to 664, and ignore directories | |
find /home/user -type f -exec chmod 664 {} \; |
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
Get docker and docker-compose running on Amazon Linux 2: https://gist.github.com/npearce/6f3c7826c7499587f00957fee62f8ee9
git clone https://github.com/apache/incubator-openwhisk-devtools.git
cd incubator-openwhisk-devtools/docker-compose
make quick-start
This works for my Dell Ultra Wide monitor.
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2
Credit to Chris Hoffman: https://www.howtogeek.com/358596/how-to-fix-blurry-fonts-on-macos-mojave-with-subpixel-antialiasing/