See Configuring NGINX to accept the PROXY Protocol - NGINX
upstream wsserver {
server 127.0.0.1:9000;
}| async function loadItems() { | |
| let url = "https://midsomerplots.acrossthecloud.net/plot"; | |
| let req = new Request(url); | |
| let json = await req.loadJSON(); | |
| return json; | |
| } | |
| function createWidget(plot) { | |
| let w = new ListWidget() |
| Updated 2025-01-17 thanks to Yemster's comment. | |
| This should work on any architecture of Amazon Linux 2. | |
| (_Although not tested , should also work for Amazon Linux 2023_). | |
| **Prereq** | |
| - visit https://johnvansickle.com/ffmpeg/ to grab the link to the relevant tarball for your specific server architecture. | |
| - Use `uname -a` to find out your arch if unknown | |
| ### TL;DR |
| from __future__ import absolute_import, print_function, unicode_literals | |
| import boto3 | |
| def clean_old_lambda_versions(): | |
| client = boto3.client('lambda') | |
| functions = client.list_functions()['Functions'] | |
| for function in functions: | |
| versions = client.list_versions_by_function(FunctionName=function['FunctionArn'])['Versions'] | |
| for version in versions: |
See Configuring NGINX to accept the PROXY Protocol - NGINX
upstream wsserver {
server 127.0.0.1:9000;
}| # modified from http://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r-on-windows | |
| # run on old computer / r version | |
| setwd("/Users/Florian/Dropbox/temp") # or any other existing temp directory | |
| packages <- installed.packages()[,"Package"] | |
| save(packages, file="Rpackages") | |
| # run on new computer / r version | |
| setwd("/Users/Florian/Dropbox/temp") # or any other existing temp directory |