Repository

Looks good to me!

User Tools

Site Tools


todo

Projects

Solved a small problem I had today... iPhone seems to not like to cooperate, especially when it comes to grabbing photos off it without iTunes. Not anymore!

  • USB access to it seems to be handled via AFP protocol, which requires the format afp://uuid:port/. The port number seems to trigger different services on the phone to be exposed to the file manager.
  • By default the port number will be 3 (picture on left), which exposes the app storage backend. Generally useful for backing up app -related files.
  • Changing the port number to 1 (or just leaving the port number empty) will pull up the set of folders where DCIM is actually exposed. Copy and paste to backup your photos.
    • In Nautilus (Ubuntu user here), this can be achieved by hitting Ctrl-L to edit the location bar.

Some quick comparisons between remote streaming solutions:

  • Parsec feels a little more responsive during lowest latency mode. Compression artifacts will slowly stream in. Good if no RDP available.
  • RDP works for general use cases, and also happens to support some level of vector graphics for applications that support them. Choose this if on Windows Pro consumer license, and if willing to setup RDP support (this would be tricky to setup on Wayland though, due to the compositing flow).
  • Sunshine/Moonlight may be a decent alternative, but did not load audio nor cursor for me on Ubuntu->Windows.
    • Installation: Download binaries/packages from Sunshine Github releases, install and open Web UI (iirc localhost:47990) to set user+pass. On client, download binaries from the Moonlight Qt Github releases (for Ubuntu, "moonlight" via snap). Add client IP, then go to server web UI to unlock via supplied PIN.

I have a couple of routers that can function as AP sitting around in my house, but they have different SSIDs. One way is to setup a mesh network (i.e. routers acting as wireless repeaters), but this potentially chews through 50% throughput if the same channels are used for the backhaul as well.

Another way is to use "Seamless Roaming". More details ported to a dedicated Wifi page!

https://github.com/netdata/netdata

Dokuwiki?

To submit a pull request for fixing inc/Manifest.php to align to the favicons guide.

diff --git a/inc/Manifest.php.bak b/inc/Manifest.php
index 29e7f26..e358109 100644
--- a/inc/Manifest.php.bak
+++ b/inc/Manifest.php
@@ -46,8 +46,8 @@ class Manifest
 
         if (empty($manifest['icons'])) {
             $manifest['icons'] = [];
-            if (file_exists(mediaFN(':wiki:favicon.ico'))) {
-                $url = ml(':wiki:favicon.ico', '', true, '', true);
+            if (file_exists(mediaFN(':favicon.ico'))) {
+                $url = ml(':favicon.ico', '', true, '', true);
                 $manifest['icons'][] = [
                     'src' => $url,
                     'sizes' => '16x16',

A small note on the favicon resolution requirements as well:

# 256 seems to have better compression ratios than 128, probably because the original filesize is 500x500px
user:~$ convert image.png -define icon:auto-resize=256,48,32,16 favicon.ico

A small bug in the autologoff as well:

/var/www/dokuwiki/lib/plugins/autologoff/helper.php
  3     public function usertime() {
  2         global $INFO;
  1         global $auth;
71          if(!($_SERVER['REMOTE_USER'] ?? false)) return 0;
  1         ...
  2     }

Archived 2024-01-18

todo.txt · Last modified: 8 months ago (18 March 2024) by justin