You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🧨
Quinn Keaveney
quitequinn
🧨
Nɐp, codǝ, eat, tǝɐch, eat, ɹǝɐd, repǝat && CTO @ http://liiift.studio && instructor @ ECUAD. he || him
This is an up-to-date guide on running Chromium in Vercel serverless functions in 2022. What you will read below is the result of two days of research, debugging, 100+ failed deployments, and a little bit of stress.
Getting started
Step 1: Install dependencies
Use chrome-aws-lambda that comes with Chromium pre-configured to run in serverless, and puppeteer-core due to the smaller size of Chromium distributive.
Instructions on how to SSH on airplane WiFi that blocks port 22
Using SSH through airplane WiFi that blocks port 22
Many aircraft that offer wifi only permit access to machines on port 80/443, the standard http(s) ports.
If you want to SSH, you have to set up an intermediate machine that hosts the SSH service on either port 80 or 443.
An easy (and free) way to do this is via a Google free-tier micro instance.
These instances have a 1 GB transfer ceiling per month, but so long are you are only transmitting textual data a few days per month, this limit should not be easily exceeded.
Set up one of these VMs via the Google Cloud console, and select CentOS 7 as the disk image.
Make sure that you allow http/https traffic on the instance, the two checkboxes in the Firewalls section of the VM settings.
Optionally, set a static external IP address for your server in the VM config, in case you don't want to look up the IP each time.
Then, ssh into the new VM (the IP address will be listed as the "external IP" in the list of instances) and edi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters