How to make a launcher for Spotify in Linux that works with Spotify links
When launching Spotify in Linux by default the deb package comes with a desktop file that contains an exec that essentially just runs the "spotify" binary. Spotify does have a dbus interface for...
View ArticleV4L2 Notes for Linux
Find out what is using capture devicesfuser /dev/video0Find out name of processps axl | grep ${PID}Show infov4l2-ctl --allSet resolution and frame ratev4l2-ctl -v width=1920,height=1080 --set-parm=60...
View ArticleGyudon (Japanese Beef Rice Bowl) 牛丼
Gyudon Sauce for 1/2 lb of rib eye½ cup dashi (Japanese soup stock) - if using Handashi (dry dashi), stir 1/4 tsp in 1/2 cup of hot water1 Tbsp sugar (adjust according to your preference)2 Tbsp sake...
View ArticleHow to give a Chromium based browser an isolated custom icon for a seperate...
Create a new desktop icon in ~/.local/share/applications.Use this as a template[Desktop Action new-private-window] Exec=chromium-browser --incognito Name=New Incognito Window [Desktop Action...
View ArticlePHP attributes are so awesome I just had to add attribute based field mapping...
I wrote this post to talk about the architectural decisions I had to make in upgrading my ORM recently to PHP8 as well as the general justification for using an ORM in the first place as a query...
View ArticleConfiguring an RTMP streaming server for VRChat with Nginx
I recently picked up a Valve Index and I've started to explore the music communityOne of the most compelling aspects of VRChat as a platform is how you can use it as a way of discovering music. A vast...
View ArticlePort forwarding a database through a VPN with Docker and Nginx
This goes into your docker-compose.ymlversion: '3.9' services: openvpn-client: image: ghcr.io/wfg/openvpn-client container_name: openvpn-client cap_add: - NET_ADMIN devices: - /dev/net/tun volumes: -...
View ArticlePSR7 Controllers, Emitters, Output Buffers, Unit Testing, and Routing
In my last post you saw me gushing over the new pattern possibilities that attributes open up among ORMs both without tight coupling as well as ActiveRecord style implementations like mine. In this...
View ArticleWorkflow for making patches for Gentoo ebuilds
In this case I'll be working with www-client/ungoogled-chromium available in the PF4Public overlay. ~ locate ungoogled-chromium | grep...
View Articlekeyd on Gentoo with OpenRC and KDE Plasma
git clone https://github.com/rvaiya/keyd cd keyd make && sudo make installtouch /etc/init.d/keydnano /etc/init.d/keydPop this in there and save.#!/sbin/openrc-run # Description of the service...
View ArticleJob queues, error handling, and exit codes. Oh my!
This post will talk about a pattern I started to use when working with an asynchronous job queue in PHP. During my time developing this pattern I went from initially using a typical Relational Database...
View Article