- Using a ready-to-use Ubuntu image
Discover gists
[{ | |
"slug": "a", | |
"contents": { | |
"desktop": { | |
"Basic support": { | |
"Chrome": { | |
"?": "y" | |
}, | |
"Firefox": { | |
"notes": { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>You Do</title> | |
</head> | |
<body> | |
<div></div> | |
</body> |
{"name":"Browser_5_1_4_1","objectlist":[{"class":"ImageButton","left":520,"top":2712,"right":920,"bottom":2880,"resource-id":"softkey%3A%2Fhome","uuid":"1ca9da58-2d5d-49ed-f3da-770baf67214c","codegen":"pressHome","varname":"Home","objecttable-uuid":"e6dc4d2b-5ed5-403b-acc5-fc004252a09a","action":"codegen","uititle":"ImageButton%0Asoftkey%3A%2Fhome","uinameinfo":"%3Csoftkey%3A%2Fhome%3E","actiontype":"script","randomexec":"100","waittime":"2","loadfromsavedobject":true},{"class":"ImageButton","resource-id":"softkey%3A%2Fscriptaction","codegen":"logStartTest(%22Browser_5_1_4_1%22)","varname":"logStart","objecttable-uuid":"747043a9-397b-45ae-c4ee-40ff7464d279","action":"click","uititle":"ImageButton%0Asoftkey%3A%2Fscriptaction","uinameinfo":"%3Csoftkey%3A%2Fscriptaction%3E","actiontype":"script","randomexec":"100","waittime":"0","loadfromsavedobject":true},{"class":"ImageButton","resource-id":"softkey%3A%2Fscriptaction","codegen":"gotoAppPixel(%22Chrome%22)","varname":"gotoChrome","objecttable-uuid":"38a1c36e-7a |
{"name":"Browser","objectlist":[{"class":"ImageButton","resource-id":"softkey%3A%2Fscriptaction","codegen":"gotoAppPixel(%22Chrome%22)","varname":"scriptAction_1","objecttable-uuid":"2dc08646-304b-4a2e-821c-34ccdfdaa1cb","action":"click","uititle":"ImageButton%0Asoftkey%3A%2Fscriptaction","uinameinfo":"%3Csoftkey%3A%2Fscriptaction%3E","actiontype":"script","randomexec":"100","waittime":"2","loadfromsavedobject":true},{"parentid":-3221225464,"sourcenodeid":-3221225472,"windowid":55,"index":0,"classname":"EditText","class":"EditText","parentpathid":-706290259,"objectid":800382463,"selfid":613381324,"resource-id":"com.android.chrome%3Aid%2Furl_bar","propmask":156,"bounds":"%5B70%2C102%5D%5B1083%2C258%5D","top":102,"left":70,"bottom":258,"right":1083,"uitreeindex":12,"childlevel":0,"textdescid":-957947391,"nodehash-id":234061338,"uuid":"f1bc1cde-04d9-4d45-fb3e-8ab7227d716d","varname":"EditText_UrlBar_5_1","objecttable-uuid":"3d39e796-232c-404b-d952-9fe12109341a","action":"codegen","uititle":"EditText%0Acom.androi |
#!/bin/bash | |
set -o errexit | |
clear | |
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n" | |
### HOW TO USE | |
### Pre-req: | |
### - run on a Proxmox 6 server | |
### - a dhcp server should be active on vmbr1 |
I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.
I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...
twitter.com##div[data-testid="cellInnerDiv"]:has(h2):has-text(Discover more) ~ * | |
twitter.com##div[data-testid="cellInnerDiv"]:has(h2):has-text(Discover more) |
These are modern “Emulated Devices” (a.k.a. responsive dimensions) for Chrome DevTools’ Mobile Device Viewport Mode.
They are specifically Apple devices, subtracting for recent Safari UI (as in window.innerWidth
/Height
), and cleverly sorted with some dark-arts unicode shenanigans. (This glitchy, unloved portion of the tools sorts lexicographically, because of course it would.) Ergonomics!
Nest Hub Max? Come on. I dropped a bunch of devices that were older and/or close to these dimensions. It obviously doesn’t cover everything (sorry Android/Chrome), but offers a decent spread/increments for common 2023/2024 viewports.
/* Web UI Kit in CSS */ | |
body { | |
background: url('http://f.cl.ly/items/2y0S3r1h3B2h2c3K351y/Tile.png'); | |
} | |
#container { | |
width: 300px; | |
position: relative; | |
margin: 0 auto; | |
} |