Cloud Gaming is a great way to enjoy graphically demanding games on Apple Vision Pro.
Since Safari on visionOS does not support PWA mode, here is how you can access cloud gaming services on Apple Vision Pro.
Cloud Gaming is a great way to enjoy graphically demanding games on Apple Vision Pro.
Since Safari on visionOS does not support PWA mode, here is how you can access cloud gaming services on Apple Vision Pro.
<?php | |
/* | |
A simple PHP class to perform basic operations against Amazon S3 and compatible | |
services. Requires modern PHP (7+, probably) with curl, dom, and iconv modules. | |
Copyright 2022 Marco Arment. Released under the MIT license: | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
#!/bin/sh | |
# usage: | |
# ql /tmp/file.jpg | |
# cat /tmp/file.jpg | ql | |
# cal -h | ql | |
if [ -z "$*" ]; then | |
cat > /tmp/ql.stdin | |
mime_type=$(file --brief --mime-type /tmp/ql.stdin) |
import sys | |
import os | |
import zlib | |
with open(sys.argv[1], "rb") as infile: | |
indata = infile.read() | |
magic = b"Playdate PDX\0\0\0\0" | |
magic_new = b"Playdate PDZ\0\0\0\0" | |
if not indata[0:len(magic)] in [magic, magic_new]: |
// JS SCRIPT TO USE WITH SCRIPTABLE APP + iOS14+ WIDGETS | |
// | |
// Requires Scriptable1.5+ and iOS14/iPadOS14 | |
// | |
// Download and install Scriptableapp https://scriptable.app | |
// Add this script into Scriptable, then add a scriptable widget to your homescreen | |
// (only the smallest size has been tested), hold down on the widget, then tap "edit widget", | |
// select *this* script as the "Script File", and in the *Parmameter* input, paste in | |
// the API key you use to allow access to the data feed. |
alias statusbarfix='xcrun simctl status_bar booted override --time 9:41 --cellularMode active --cellularBars 4 --batteryState charging --operatorName ""' |
### Points and display type | |
PPI is points per inch below, not pixels per inch. Not all models are listed, just the first model with a new display size. Diamond, RGB Stripe and Pentile RGB refer to the subpixel patterns. | |
iPhone 1 = 320×480 at 163PPI sRGB IPS LCD RGB Stripe | |
iPhone 4 = 320×480 at 163PPI sRGB IPS LCD RGB Stripe | |
iPhone 5 = 320×568 at 163PPI sRGB IPS LCD RGB Stripe | |
iPhone 6 = 375×667 at 163PPI sRGB IPS LCD RGB Stripe | |
iPhone 6 Plus = 414×736 at 153.5PPI sRGB IPS LCD RGB Stripe | |
iPhone 7 = 375×667 at 163PPI P3 IPS LCD RGB Stripe |
const STEAM_STORE_URL = "https://store.steampowered.com" | |
const steamId = args.widgetParameter ?? "76561198008818777" | |
try { | |
const wishListGames = await fetchWishListById(steamId) | |
const widget = await createWidget(wishListGames) | |
renderWidget(widget) | |
} catch(error) { | |
const widget = await createErrorWidget(error) | |
renderWidget(widget) | |
} |
// your DB Bahn Developer API token | |
// https://developer.deutschebahn.com/store/apis/info?name=Flinkster_API_NG&version=v1&provider=DBOpenData | |
const bahnApiToken = "xxx" | |
// the longitude and latitude of your desired station | |
const latitude = "50.95209" | |
const longitude = "6.91907" | |
// optional: the area uid of your desired station (for 100% accurate results) | |
const areaUid = "" |
For ease of maintainability this project has moved from this gist to its own repository. You can go and visit it there.