Tricked.dev

Epic Tricked tips

#1 get sms messages from one phone to other phone

You can install beeper and google messages on your old phone and then login tot that same beeper account on another device to get the sms messages there too automatically, this is the best method i have found to do this

#2 keep ssh session open for faster connection

~/.ssh/config:

Host *
    ControlMaster auto
    ControlPath ~/.ssh/control-%r@%h:%p
  ControlPersist 10m

#3 connect to webdav on dolphin

Go to the network folder inside dolphin and then select Add Network Folder next to the adress bar.

Bonus tip you can access folders over ssh by using the fish protocol too

#4 caddy templates



(base) {
  # Logging config / other things
   tls {
      dns cloudflare ${CLOUDFLARE_TOKEN}
       resolvers 1.1.1.1
   }
}

example.tricked.dev {
import base
reverse_proxy :9090
}


Makes it so you can reduce the amount of boilerplace needed on each domain

#5 Running amazon luna on linux

Recently had some issues trying to run amazon luna on linux saying my browser is not supported on microsoft edge and on brave i would get a black screen, the solution for me was to use edge but change the user agent to that of brave, so i ended up with this:

microsoft-edge-stable "https://luna.amazon.nl" --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"

#6 Wayland and stuff not working?

You might be missing nvidia_drm.modeset=1 kernel param, yes i spend a couple hours debugging this i thought i already had it but guess systemdboot and racit kernel params are diferent (another tip lmao)

#7 Give wasm-bindgen a try

With rust and wasm-bindgen its trivial to use wasm to create js bindings for wasm libraries. thats it you get a js file works with vite and your code can be executed

#8 If you want to use the new svelte runes without that much pain

let gameState: BoardData = $state(null!)

Thats it you cast null to be BoardData and your done, this way you don't have to deal with it requiring a default value and you can do it without a ts ignore and instead with a slightly better cast