mkdir osm
wget -O osm/planet.mbtiles https://hidrive.ionos.com/api/sharelink/download?id=SYEgScrRe
podman run -ti --rm -p 9000:9000 --name sms -v $(pwd)/osm/:/data/ registry.gitlab.com/markuman/sms:latest
firefox http://localhost:9000
Notes on this tweet.
-
The screenshots were taken on different sessions.
-
The entire sessions are included on the screenshots.
-
I lost the original prompts, so I had to reconstruct them, and still managed to reproduce.
-
The "compressed" version is actually longer! Emojis and abbreviations use more tokens than common words.
This file contains hidden or 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
#!/bin/bash | |
PERMISSION="push" # Can be one of: pull, push, admin, maintain, triage | |
ORG="orgname" | |
TEAM_SLUG="your-team-slug" | |
# Get names with `gh repo list orgname` | |
REPOS=( | |
"orgname/reponame" | |
) |
This file contains hidden or 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
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 |
This file contains hidden or 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 is a list of RPM packages available on AWS Lambda, Node.js 8.10 runtime, 22 May 2019, Amazon Linux 2018.03 | |
## See https://github.com/claudiajs/lambda-vm-info for how this list was generated and to get an updated version | |
Installed Packages | |
ImageMagick.x86_64 6.7.8.9-15.21.amzn1 @amzn-main | |
alsa-lib.x86_64 1.0.22-3.9.amzn1 @amzn-main | |
audit-libs.x86_64 2.6.5-3.28.amzn1 @amzn-main | |
avahi-libs.x86_64 0.6.25-12.17.amzn1 @amzn-main | |
basesystem.noarch 10.0-4.9.amzn1 @amzn-main |
This file contains hidden or 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
# AWS Lambda `ldconfig -p`, region `us-east-1`, nodejs 8.10 runtime, 22 May 2019, Amazon Linux 2018.03 | |
# See https://github.com/claudiajs/lambda-vm-info for how this was generated and to create an updated version | |
241 libs found in cache `/etc/ld.so.cache' | |
libz.so.1 (libc6,x86-64) => /lib64/libz.so.1 | |
libxslt.so.1 (libc6,x86-64) => /usr/lib64/libxslt.so.1 | |
libxshmfence.so.1 (libc6,x86-64) => /usr/lib64/libxshmfence.so.1 | |
libxml2.so.2 (libc6,x86-64) => /usr/lib64/libxml2.so.2 | |
libxcb.so.1 (libc6,x86-64) => /usr/lib64/libxcb.so.1 | |
libxcb-xvmc.so.0 (libc6,x86-64) => /usr/lib64/libxcb-xvmc.so.0 |
This file contains hidden or 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
AMS1 | Amsterdam, The Netherlands | Europe | |
AMS50 | Amsterdam, The Netherlands | Europe | |
ARN1 | Stockholm, Sweden | Europe | |
ATL50 | Atlanta, Georgia | United States | |
ATL52 | Atlanta, Georgia | United States | |
BOM2 | Mumbai, India | India | |
BOM51 | Mumbai, India | India | |
CDG3 | Paris, France | Europe | |
CDG50 | Paris, France | Europe | |
DEL51 | Paris, France | Europe |
This file contains hidden or 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
#!/bin/bash | |
# remove exited containers: | |
docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v | |
# remove unused images: | |
docker images --no-trunc | grep '<none>' | awk '{ print $3 }' | xargs -r docker rmi | |
# remove unused volumes: | |
find '/var/lib/docker/volumes/' -mindepth 1 -maxdepth 1 -type d | grep -vFf <( |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
NewerOlder