Warning
This guide has moved!
It is now maintained in the official Wasp docs: 👉 https://wasp.sh/docs/guides/deployment/vps
This gist is archived and will no longer be updated.
Warning
This guide has moved!
It is now maintained in the official Wasp docs: 👉 https://wasp.sh/docs/guides/deployment/vps
This gist is archived and will no longer be updated.
This tutorial was originally designed for the devices: moto g32, g42, and g52. It should also work for the moto g34/45, g84, and g 5g 2024.
It is important to note that these devices are usually referenced using codenames in multiple places, it is important to know which one is yours.
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!
Note
Updated June 2025 with some notes from folks below! TL;DR: use Vibranium!
| var printBacktrace = function () { | |
| Java.perform(function() { | |
| var JLog = Java.use('android.util.Log'), JException = Java.use('java.lang.Exception'); | |
| console.warn("Call Stack:"); | |
| console.warn(JLog.getStackTraceString(JException.$new())); | |
| }); | |
| }; | |
| Java.perform(function() { | |
| var targetClass = Java.use("at.asitplus.utils.deviceintegrity.DeviceIntegrityCheck"); |
Custom checkboxes for Obsidian! It's like deathau's snippet except updated to work really well in Live Preview mode in Obsidian 1.0.
Simply edit the x inside checkboxes to >, ?, etc. to see styling like below!
| Editing | Live Preview | Viewing |
|---|---|---|
![]() |
![]() |
![]() |
Installation:
checkbox.css file on this page| javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |
| ## Morning Opertures | |
| alias whatsup='service --status-all' | |
| alias hello='sudo /etc/init.d/apache2 stop && cd workspace/project && ddev start && ddev launch' | |
| alias hi='sudo systemctl stop apache2' | |
| alias iad='systemctl is-active docker' | |
| alias ports='nmap localhost' | |
| alias dns="sudo systemd-resolve --status | grep 'DNS Servers'" | |
| alias bye='shutdown -r now' | |
| ## Usual Instructions |