The F5 iControl LX Framework enables engineers to create custom Nodejs control-plane actions/workflows for the F5 BIG-IP hardware and software appliances.
Copy the RPM using scp
(or some SCP capabe GUI tool).
SCP instructions
/** | |
* 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:
// 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 {} \; |
//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 |
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
Updated: August 21, 2018
NOTE: This setup is used as an exporter destination for BigStats: https://npearce.github.io
On the AWS Console:
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/
Testing Gist naming....
233.66 + 157.55 | |
// returns: 391.21000000000004 | |
// Because: https://stackoverflow.com/questions/588004/is-floating-point-math-broken/27030789#27030789 | |
// As toFixed() converts to a string, use Math.round() | |
// 2 decimal places: | |
Math.round( (233.66 + 157.55)) * 1e2 ) / 1e2 |