<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Posts on myByways</title><link>https://myByways.com/post/</link><description>Recent content in Posts on myByways</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 25 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://myByways.com/post/index.xml" rel="self" type="application/rss+xml"/><item><title>Migrating from Grav to Hugo</title><link>https://myByways.com/post/migrating-from-grav-to-hugo/</link><pubDate>Sat, 25 Jul 2026 00:00:00 +0000</pubDate><guid>https://myByways.com/post/migrating-from-grav-to-hugo/</guid><description>&lt;p&gt;Due to issues with updating PHP on my shared hosting which I cannot be bothered to resolve, I am now considering migrating from &lt;a href="https://getgrav.org/" rel="external"&gt;Grav&lt;/a&gt; to &lt;a href="https://gohugo.io/" rel="external"&gt;Hugo&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Creating an audiobook (.m4b) with FFmpeg</title><link>https://myByways.com/post/creating-an-audiobook-m4b-with-ffmpeg/</link><pubDate>Sun, 15 Feb 2026 00:00:00 +0000</pubDate><guid>https://myByways.com/post/creating-an-audiobook-m4b-with-ffmpeg/</guid><description>&lt;p&gt;Following on from my previous TTS post using &lt;a href="https://myByways.com/post/chatterbox-turbo-tts-with-mlx-audio"&gt;Chatterbox Turbo&lt;/a&gt; (or any other TTS like &lt;a href="https://myByways.com/post/running-kokoro-tts-via-macos-containerisation-framework"&gt;Kokoro&lt;/a&gt; or &lt;a href="https://myByways.com/post/qwen3-tts-with-mlx-audio-on-macos"&gt;Qwen3-TTT&lt;/a&gt;), here is code to combine audio files in a single &lt;code&gt;.m4b&lt;/code&gt; audiobook retaining author and title metadata, chapter markers, and a cover image. Mostly this is a Python wrapper to &lt;a href="https://www.ffmpeg.org" rel="external"&gt;FFmpeg&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Chatterbox Turbo TTS with MLX-Audio</title><link>https://myByways.com/post/chatterbox-turbo-tts-with-mlx-audio/</link><pubDate>Tue, 10 Feb 2026 00:00:00 +0000</pubDate><guid>https://myByways.com/post/chatterbox-turbo-tts-with-mlx-audio/</guid><description>&lt;p&gt;In my last post, I tried &lt;a href="https://myByways.com/post/qwen3-tts-with-mlx-audio-on-macos"&gt;Qwen3-TTS&lt;/a&gt;&amp;hellip; This time, I test &lt;a href="https://www.resemble.ai/chatterbox-turbo/" rel="external"&gt;Chatterbox Turbo by Resemble.ai&lt;/a&gt;, which is an open-source, MIT licensed, text-to-speech model with zero-shot cloning.&lt;/p&gt;</description></item><item><title>Qwen3-TTS with MLX-Audio on macOS</title><link>https://myByways.com/post/qwen3-tts-with-mlx-audio-on-macos/</link><pubDate>Mon, 02 Feb 2026 00:00:00 +0000</pubDate><guid>https://myByways.com/post/qwen3-tts-with-mlx-audio-on-macos/</guid><description>&lt;p&gt;Alibaba’s &lt;a href="https://github.com/QwenLM/Qwen3-TTS" rel="external"&gt;Qwen3-TTS&lt;/a&gt; for &lt;strong&gt;Speech Synthesis&lt;/strong&gt; (text-to-speech) was open-sourced (Apache-2.0) on 22 Jan 2026. And within the last couple of weeks, we now have Apple Silicon optimization via &lt;a href="https://github.com/Blaizzy/mlx-audio" rel="external"&gt;MLX-Audio&lt;/a&gt;. Here is code to create an audiobook from an ePub.&lt;/p&gt;</description></item><item><title>Reflections on 2025 through the Word(s) of the Year</title><link>https://myByways.com/post/reflections-on-2025-through-the-words-of-the-year/</link><pubDate>Sun, 04 Jan 2026 00:00:00 +0000</pubDate><guid>https://myByways.com/post/reflections-on-2025-through-the-words-of-the-year/</guid><description>&lt;p&gt;In March 2025, I posted an opinion piece entitled &lt;a href="https://myByways.com/post/my-disillusionment-with-generative-ai"&gt;“My Disillusionment with Generative AI”&lt;/a&gt;. Things have gotten worse since then, to the extent that &lt;strong&gt;“Slop”&lt;/strong&gt; and &lt;strong&gt;“AI Slop”&lt;/strong&gt; have been picked as the Word(s) of the Year for 2025. What follows are my thoughts on the trajectory of technology and, more specifically, AI, as reflected in the Word(s) of the Year (WOTY).&lt;/p&gt;</description></item><item><title>Updating CrossOver to GamePorting Toolkit 3.0</title><link>https://myByways.com/post/updating-crossover-to-gameporting-toolkit-3-0/</link><pubDate>Sun, 14 Dec 2025 00:00:00 +0000</pubDate><guid>https://myByways.com/post/updating-crossover-to-gameporting-toolkit-3-0/</guid><description>&lt;p&gt;The current version of &lt;a href="https://www.codeweavers.com/crossover" rel="external"&gt;CrossOver 25.1.1&lt;/a&gt; utilizes with Apple’s &lt;a href="https://developer.apple.com/games/game-porting-toolkit/" rel="external"&gt;Game Porting Toolkit 2.1&lt;/a&gt;. Here is how to update it to use Game Porting Toolkit 3.0 (GPTK), released (updated) on 5 December 2025, which emulates &lt;a href="https://developer.nvidia.com/rtx/dlss" rel="external"&gt;NVIDIA DLSS&lt;/a&gt; with &lt;a href="https://developer.apple.com/documentation/metalfx" rel="external"&gt;MetalFX&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Kokoro TTS and Abogen on Windows</title><link>https://myByways.com/post/kokoro-tts-and-abogen-on-windows/</link><pubDate>Sun, 31 Aug 2025 00:00:00 +0000</pubDate><guid>https://myByways.com/post/kokoro-tts-and-abogen-on-windows/</guid><description>&lt;p&gt;In my last post, I described trying out &lt;a href="https://huggingface.co/hexgrad/Kokoro-82M" rel="external"&gt;Kokoro text-to-speech (TTS) model&lt;/a&gt; via &lt;a href="https://myByways.com/post/running-kokoro-tts-via-macos-containerisation-framework"&gt;Kokoro-FastAPI web UI in a macOS (native) container&lt;/a&gt;. Here, I install &lt;a href="https://github.com/nazdridoy/kokoro-tts" rel="external"&gt;Kokoro-TTS&lt;/a&gt; and &lt;a href="https://github.com/denizsafak/abogen" rel="external"&gt;Abogen&lt;/a&gt; on Windows, to take advantage of my Nvidia GPU.&lt;/p&gt;</description></item><item><title>Running Kokoro TTS via macOS Containerisation Framework</title><link>https://myByways.com/post/running-kokoro-tts-via-macos-containerisation-framework/</link><pubDate>Sun, 17 Aug 2025 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-kokoro-tts-via-macos-containerisation-framework/</guid><description>&lt;p&gt;A short 2-in-1 post of two things I’ve been meaning to try out on macOS - first, to try the new &lt;a href="https://apple.github.io/container/documentation/" rel="external"&gt;macOS Container framework&lt;/a&gt; on macOS 15.5&amp;hellip; and second, to spin up &lt;a href="https://huggingface.co/hexgrad/Kokoro-82M" rel="external"&gt;Kokoro Text-to-Speech (TTS)&lt;/a&gt; in a container.&lt;/p&gt;</description></item><item><title>Music Streaming Server on DietPi</title><link>https://myByways.com/post/music-streaming-server-on-dietpi/</link><pubDate>Sun, 10 Aug 2025 00:00:00 +0000</pubDate><guid>https://myByways.com/post/music-streaming-server-on-dietpi/</guid><description>&lt;p&gt;Onward: How I setup &lt;a href="https://myByways.com/post/orange-pi-zero-3-sbc-with-dietpi"&gt;my DietPi SBC&lt;/a&gt; as a local music streaming server. I use &lt;a href="https://www.navidrome.org/" rel="external"&gt;Navidrome&lt;/a&gt; and &lt;a href="https://owntone.github.io/owntone-server/" rel="external"&gt;OwnTone&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>AdGuard Home on DietPi</title><link>https://myByways.com/post/adguard-home-on-dietpi/</link><pubDate>Sat, 09 Aug 2025 00:00:00 +0000</pubDate><guid>https://myByways.com/post/adguard-home-on-dietpi/</guid><description>&lt;p&gt;Previously, I documented my &lt;a href="https://myByways.com/post/orange-pi-zero-3-sbc-with-dietpi"&gt;Orange Pi Zero 3 setup with DietPi&lt;/a&gt;. Here is how I setup &lt;a href="https://adguard.com/en/adguard-home/overview.html" rel="external"&gt;AdGuard Home&lt;/a&gt; using the DietPi installer.&lt;/p&gt;</description></item><item><title>Orange Pi Zero 3 SBC with DietPi</title><link>https://myByways.com/post/orange-pi-zero-3-sbc-with-dietpi/</link><pubDate>Fri, 08 Aug 2025 00:00:00 +0000</pubDate><guid>https://myByways.com/post/orange-pi-zero-3-sbc-with-dietpi/</guid><description>&lt;p&gt;I recently wanted to upgrade my Raspberry Pi, and I setted on an &lt;a href="http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-3.html" rel="external"&gt;Orange Pi Zero 3&lt;/a&gt; Single Board Computer (SBC). Here is how I set it up.&lt;/p&gt;</description></item><item><title>My Disillusionment with Generative AI</title><link>https://myByways.com/post/my-disillusionment-with-generative-ai/</link><pubDate>Tue, 18 Mar 2025 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-disillusionment-with-generative-ai/</guid><description>&lt;p&gt;I’m a techno optimist by default, I do believe technology can solve the problems we face today, and make our lives better. But I do have concerns with the direction we are taking with Generative AI, and the future we are heading towards. This is an opinion piece&amp;hellip;&lt;/p&gt;</description></item><item><title> My 40712 Micro Rocket Launchpad Alt Build</title><link>https://myByways.com/post/my-40712-micro-rocket-launchpad-alt-build/</link><pubDate>Fri, 23 Aug 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-40712-micro-rocket-launchpad-alt-build/</guid><description>&lt;p&gt;Something totally different today&amp;hellip; another Lego Alternate Build MOC, that merges the 4 micro builds from a single &lt;a href="https://www.lego.com/en-gb/product/micro-rocket-launchpad-40712" rel="external"&gt;&lt;strong&gt;40712&lt;/strong&gt; “Micro Rocket Launchpad”&lt;/a&gt; set. Presenting my &lt;strong&gt;Micro Mobile Launchpad with spaceship and rocket&lt;/strong&gt; Alt Build.&lt;/p&gt;</description></item><item><title>Using Flux.1 in GGUF format on macOS</title><link>https://myByways.com/post/using-flux1-in-gguf-format-on-macos/</link><pubDate>Tue, 20 Aug 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/using-flux1-in-gguf-format-on-macos/</guid><description>&lt;p&gt;&lt;a href="https://github.com/city96" rel="external"&gt;city96&lt;/a&gt; has published &lt;a href="https://github.com/ggerganov/ggml/blob/master/docs/gguf.md" rel="external"&gt;GGUF&lt;/a&gt; versions of the Flux1.Dev model and T5 XXL text encoder, along with custom nodes to use them in &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt; - thought I’d try them on my &lt;strong&gt;M2 Mac mini&lt;/strong&gt;, hoping for faster inference!&lt;/p&gt;</description></item><item><title>Faster Flux.1</title><link>https://myByways.com/post/faster-flux1/</link><pubDate>Wed, 14 Aug 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/faster-flux1/</guid><description>&lt;p&gt;More &lt;a href="https://huggingface.co/black-forest-labs/FLUX.1-dev" rel="external"&gt;Flux.1&lt;/a&gt;-based models! Go faster with FP8 or NF4! New LoRAs and ControlNets! There is quite a bit of interest with this model, as evidenced by the speed of community-led enhancements.&lt;/p&gt;</description></item><item><title>Wow! Flux.1 by Black Forrest Labs</title><link>https://myByways.com/post/wow-flux-by-black-forrest-labs/</link><pubDate>Sun, 04 Aug 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/wow-flux-by-black-forrest-labs/</guid><description>&lt;p&gt;While I have many posts about SDXL, I do not use Stable Diffusion 3 at all - license concerns aside, it is simply not good, and may never get better. But just a few days ago, a new, freely available, offline model that is better than SDXL was released by the team that presented Latent Diffusion and created Stable Diffusion, &lt;a href="https://blackforestlabs.ai/" rel="external"&gt;Flux.1 by Black Forrest Labs&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Tesla Model 3 Highland accessories</title><link>https://myByways.com/post/tesla-model-3-highland-accessories/</link><pubDate>Sun, 28 Jul 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/tesla-model-3-highland-accessories/</guid><description>&lt;p&gt;It’s been over &lt;em&gt;three&lt;/em&gt; months since I last posted anything, becase I haven’t done much recently! So today, something different - a list of &lt;a href="https://www.tesla.com/model3" rel="external"&gt;Tesla Model 3 Highland (2024)&lt;/a&gt; accessories.&lt;/p&gt;</description></item><item><title>Fun with Llama 3 (8B) in Ollama</title><link>https://myByways.com/post/fun-with-llama-3-8b-in-ollama/</link><pubDate>Sun, 21 Apr 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fun-with-llama-3-8b-in-ollama/</guid><description>&lt;p&gt;I saw a post on Reddit, entitled &lt;a href="https://www.reddit.com/r/LocalLLaMA/comments/1c90gl8/llama_3_rocks_with_taking_on_a_personality/" rel="external"&gt;“Llama 3 rocks with taking on a personality!”&lt;/a&gt;. A fun experiment! I thought to replicate it, blatantly copying the puzzle presented. &lt;a href="https://ai.meta.com/blog/meta-llama-3/" rel="external"&gt;Llama 3, released by Meta&lt;/a&gt; just before the weekend, is impressive.&lt;/p&gt;</description></item><item><title>Testing new PAG and Perp-Neg nodes in ComfyUI</title><link>https://myByways.com/post/testing-new-pag-and-perp-neg-nodes-in-comfyui/</link><pubDate>Wed, 17 Apr 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/testing-new-pag-and-perp-neg-nodes-in-comfyui/</guid><description>&lt;p&gt;I know it’s bad form to start off with a disclaimer: but the truth is, I do not know what I am doing. I am just testing out two new &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt; nodes, &lt;kbd&gt;PerturbedAttentionGuidance&lt;/kbd&gt; and &lt;kbd&gt;PerpNegGuider&lt;/kbd&gt;.&lt;/p&gt;</description></item><item><title>Mistral System Message setup to improve Image Generation Prompts</title><link>https://myByways.com/post/mistral-system-message-setup-to-improve-image-generation-prompts/</link><pubDate>Sun, 31 Mar 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/mistral-system-message-setup-to-improve-image-generation-prompts/</guid><description>&lt;p&gt;&lt;a href="https://myByways.com/post/llm-prompt-generation-with-ollama-in-comfyui"&gt;In my last post&lt;/a&gt;, I used &lt;a href="https://github.com/if-ai/ComfyUI-IF_AI_tools" rel="external"&gt;ComfyUI-IF_AI_tools&lt;/a&gt; to integrate to the &lt;a href="https://ollama.com/brxce/stable-diffusion-prompt-generator" rel="external"&gt;brxce/stable-diffusion-prompt-generator model&lt;/a&gt; running in &lt;a href="https://ollama.com/" rel="external"&gt;Ollama&lt;/a&gt;. I wonder if I could use the base &lt;a href="https://mistral.ai/news/announcing-mistral-7b/" rel="external"&gt;Mistral 7B model&lt;/a&gt; to help improve my uncreative prompts instead&amp;hellip;&lt;/p&gt;</description></item><item><title>LLM Prompt Generation with Ollama in ComfyUI</title><link>https://myByways.com/post/llm-prompt-generation-with-ollama-in-comfyui/</link><pubDate>Thu, 28 Mar 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/llm-prompt-generation-with-ollama-in-comfyui/</guid><description>&lt;p&gt;In my last post, I described running &lt;a href="https://myByways.com/post/a-game-with-mistral-7b-using-ollama"&gt;Mistral, a Large Language Model, locally using Ollama&lt;/a&gt;. To accompany that piece, I created a prompt and manually used AI to generate an image. Today, I’ll wire up a &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt; workflow to &lt;a href="https://ollama.com/" rel="external"&gt;Ollama&lt;/a&gt; to do this seamlessly, thanks to &lt;a href="https://github.com/if-ai/ComfyUI-IF_AI_tools" rel="external"&gt;ComfyUI-IF_AI_tools&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>A game with Mistral 7B using Ollama</title><link>https://myByways.com/post/a-game-with-mistral-7b-using-ollama/</link><pubDate>Wed, 20 Mar 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/a-game-with-mistral-7b-using-ollama/</guid><description>&lt;p&gt;I keep posting about Stable Diffusion, but I do experiment with &lt;strong&gt;Large Language Models&lt;/strong&gt; too! I do not have much to contribute in this regard, instead, here is the transcript of a game I played with the open source &lt;a href="https://mistral.ai/news/announcing-mistral-7b/" rel="external"&gt;Mistral 7B model&lt;/a&gt; via &lt;a href="https://ollama.com/" rel="external"&gt;Ollama&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Stable Video Diffusion</title><link>https://myByways.com/post/stable-video-diffusion/</link><pubDate>Sun, 10 Mar 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/stable-video-diffusion/</guid><description>&lt;p&gt;More and more AI generated images are shared as short video clips. So, here a quick test of &lt;a href="https://stability.ai/news/stable-video-diffusion-open-ai-video-model" rel="external"&gt;Stable Video Diffusion&lt;/a&gt; - which was released back in November last year. Don’t know why I didn’t post this when I posted about &lt;a href="https://myByways.com/post/generating-animations-videos-with-sdxl-lcm"&gt;AnimateDiff and the Hotshot Motion model&lt;/a&gt; around the same time.&lt;/p&gt;</description></item><item><title>TripoSR image-to-3D-object</title><link>https://myByways.com/post/triposr-image-to-3d-object/</link><pubDate>Sat, 09 Mar 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/triposr-image-to-3d-object/</guid><description>&lt;p&gt;Do you want to convert a 2D image into a 3D model &lt;em&gt;auto-magically&lt;/em&gt;? On 5 March 2024, &lt;strong&gt;Stability AI&lt;/strong&gt; and &lt;strong&gt;Tripo AI&lt;/strong&gt; released &lt;a href="https://stability.ai/news/triposr-3d-generation" rel="external"&gt;TripoSR: Fast 3D Object Generation from Single Images&lt;/a&gt; that does exactly that!&lt;/p&gt;</description></item><item><title>Differential Diffusion for in-painting</title><link>https://myByways.com/post/differential-diffusion-for-in-painting/</link><pubDate>Tue, 05 Mar 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/differential-diffusion-for-in-painting/</guid><description>&lt;p&gt;&lt;a href="https://differential-diffusion.github.io/" rel="external"&gt;Differential Diffusion&lt;/a&gt; is the newest method (framework) of in-painting without an in-painting model. Instead, all that is needed is a &lt;strong&gt;mask&lt;/strong&gt; (map) where the lighter the area, the greater the re-painting applied.&lt;/p&gt;</description></item><item><title>Generate transparent images with Layer Diffusion</title><link>https://myByways.com/post/generate-transparent-images-with-layer-diffusion/</link><pubDate>Sun, 03 Mar 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/generate-transparent-images-with-layer-diffusion/</guid><description>&lt;p&gt;Ever wished you could generate &lt;a href="https://stability.ai/stable-image" rel="external"&gt;Stable Diffusion XL&lt;/a&gt; images with transparent backgrounds? Well, your wish has been answered by the smart people behind the &lt;a href="https://arxiv.org/html/2402.17113v1" rel="external"&gt;Transparent Image Layer Diffusion using Latent Transparency paper&lt;/a&gt;. They have made their code and models available, and what do you know, &lt;a href="https://github.com/huchenlei/ComfyUI-layerdiffusion" rel="external"&gt;Chenlei Hu&lt;/a&gt; has ported it to &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>SDXL-based 4-step models compared</title><link>https://myByways.com/post/sdxl-based-4-step-models-compared/</link><pubDate>Sat, 02 Mar 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/sdxl-based-4-step-models-compared/</guid><description>&lt;p&gt;With the advent of techniques like Adversarial Diffusion Distillation and Latent Consistency models, A.I. image synthesis based on &lt;a href="https://stability.ai/stable-image" rel="external"&gt;Stable Diffusion XL&lt;/a&gt; has been getting faster and faster. Here is just quick comparison of a few models at 4-steps, some of which are fine-tuned and trained for realism.&lt;/p&gt;</description></item><item><title>Consistent portraits revisisted: InstantID</title><link>https://myByways.com/post/consistent-portraits-revisisted-instantid/</link><pubDate>Sun, 25 Feb 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/consistent-portraits-revisisted-instantid/</guid><description>&lt;p&gt;Not long ago, in a attempt to obtain &lt;a href="https://myByways.com/post/consistent-portraits-using-ip-adapters-for-sdxl"&gt;Consistent portraits using IP-Adapters for SDXL&lt;/a&gt;, I &lt;a href="https://myByways.com/post/comparing-face-ip-adapters-for-sdxl"&gt;shared a comparison&lt;/a&gt; between &lt;a href="https://huggingface.co/h94/IP-Adapter" rel="external"&gt;IP-Adapter-Plus-Face&lt;/a&gt; and &lt;a href="https://huggingface.co/h94/IP-Adapter-FaceID" rel="external"&gt;IP-Adapter-FaceID&lt;/a&gt;. Today I’ll look at &lt;a href="https://huggingface.co/InstantX/InstantID" rel="external"&gt;InstantID&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>New Stable Cascase Checkpoints for ComfyUI</title><link>https://myByways.com/post/new-stable-cascase-checkpoints-for-comfyui/</link><pubDate>Sat, 24 Feb 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/new-stable-cascase-checkpoints-for-comfyui/</guid><description>&lt;p&gt;An update to my &lt;a href="https://myByways.com/post/stable-cascade-with-comfyui"&gt;previous post on Stable Cascade with ComfyUI&lt;/a&gt; - instead of requiring four separate model files, we now only need &lt;a href="https://huggingface.co/stabilityai/stable-cascade/tree/main/comfyui_checkpoints" rel="external"&gt;two checkpoints&lt;/a&gt;, and the &lt;a href="https://comfyanonymous.github.io/ComfyUI_examples/stable_cascade/" rel="external"&gt;ComfyUI workflow is now very straightfoward&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Stable Cascade with ComfyUI</title><link>https://myByways.com/post/stable-cascade-with-comfyui/</link><pubDate>Sun, 18 Feb 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/stable-cascade-with-comfyui/</guid><description>&lt;p&gt;On 12 Feb 2024, &lt;a href="https://stability.ai/" rel="external"&gt;Stability.ai&lt;/a&gt; released &lt;a href="https://stability.ai/news/introducing-stable-cascade" rel="external"&gt;Stable Cascade&lt;/a&gt; “research preview” (non-commercial license), and over the weekend, &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt; was updated to support this new model! Time to give it a go!&lt;/p&gt;</description></item><item><title>Convert animated WebP to WebM movie with Python</title><link>https://myByways.com/post/convert-animated-webp-to-webm-movie-with-python/</link><pubDate>Sun, 21 Jan 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/convert-animated-webp-to-webm-movie-with-python/</guid><description>&lt;p&gt;In &lt;a href="https://myByways.com/post/comparing-face-ip-adapters-for-sdxl"&gt;my last post&lt;/a&gt; I mentioned converting an animated &lt;a href="https://en.wikipedia.org/wiki/WebP" rel="external"&gt;WebP&lt;/a&gt; image format into a &lt;a href="https://en.wikipedia.org/wiki/WebM" rel="external"&gt;WebM&lt;/a&gt; movie format. This post expands on how I did it.&lt;/p&gt;</description></item><item><title>Comparing face IP-Adapters for SDXL</title><link>https://myByways.com/post/comparing-face-ip-adapters-for-sdxl/</link><pubDate>Sun, 14 Jan 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/comparing-face-ip-adapters-for-sdxl/</guid><description>&lt;p&gt;As a follow up to my last post regarding &lt;a href="https://myByways.com/post/consistent-portraits-using-ip-adapters-for-sdxl"&gt;Consistent portraits using IP-Adapters for SDXL&lt;/a&gt;, this is a short comparison of the two face IP-Adapters for SDXL by &lt;a href="https://huggingface.co/h94" rel="external"&gt;h94 / xiaohu&lt;/a&gt;: namely, &lt;a href="https://huggingface.co/h94/IP-Adapter" rel="external"&gt;ip-adapter-plus-face_sdxl_vit-h.bin&lt;/a&gt; and &lt;a href="https://huggingface.co/h94/IP-Adapter-FaceID" rel="external"&gt;ip-adapter-faceid_sdxl.bin&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Consistent portraits using IP-Adapters for SDXL</title><link>https://myByways.com/post/consistent-portraits-using-ip-adapters-for-sdxl/</link><pubDate>Sun, 07 Jan 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/consistent-portraits-using-ip-adapters-for-sdxl/</guid><description>&lt;p&gt;Getting consistent character portraits generated by SDXL has been a challenge&amp;hellip; until now! &lt;a href="https://github.com/cubiq/ComfyUI_IPAdapter_plus" rel="external"&gt;ComfyUI IPAdapter Plus&lt;/a&gt; (dated 30 Dec 2023) now supports both &lt;a href="https://huggingface.co/h94/IP-Adapter" rel="external"&gt;IP-Adapter&lt;/a&gt; and &lt;a href="https://huggingface.co/h94/IP-Adapter-FaceID" rel="external"&gt;IP-Adapter-FaceID&lt;/a&gt; (released 4 Jan 2024)!&lt;/p&gt;</description></item><item><title>Extracting images from PDF files</title><link>https://myByways.com/post/extracting-images-from-pdf-files/</link><pubDate>Sat, 06 Jan 2024 00:00:00 +0000</pubDate><guid>https://myByways.com/post/extracting-images-from-pdf-files/</guid><description>&lt;p&gt;Happy new year!&lt;/p&gt;
&lt;p&gt;Ever needed to extract images from PDFs and found both on-line and off-line tools lacking? Well, I certainly have, and here I present my Python code to extract JPGs/PNGs from PDFs, using &lt;a href="https://github.com/pymupdf/PyMuPDF" rel="external"&gt;PyMuPDF&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Go even faster with SDXL-Turbo!</title><link>https://myByways.com/post/go-even-faster-with-sdxl-turbo/</link><pubDate>Wed, 29 Nov 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/go-even-faster-with-sdxl-turbo/</guid><description>&lt;p&gt;In the span of a couple of weeks, we got &lt;a href="https://myByways.com/post/crazy-fast-image-generation-with-lcm-lora-for-sdxl"&gt;Crazy fast image generation with LCM LoRA for SDXL&lt;/a&gt;, which led me to ask if I could get &lt;a href="https://myByways.com/post/faster-stable-diffusion-on-mseries-macs"&gt;Faster Stable Diffusion on M-series macs?&lt;/a&gt;. A few hours ago, &lt;strong&gt;Stability.ai&lt;/strong&gt; gave us their response in the form of &lt;a href="https://huggingface.co/stabilityai/sdxl-turbo" rel="external"&gt;SDXL-Turbo&lt;/a&gt;&amp;hellip; and now we go even faster!&lt;/p&gt;</description></item><item><title>Faster Stable Diffusion on M-series macs?</title><link>https://myByways.com/post/faster-stable-diffusion-on-mseries-macs/</link><pubDate>Mon, 27 Nov 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/faster-stable-diffusion-on-mseries-macs/</guid><description>&lt;p&gt;All my recent &lt;a href="https://stability.ai/stable-diffusion" rel="external"&gt;Stable Diffusion XL&lt;/a&gt; experiments have been on my Windows PC instead of my M2 mac, because it has a faster Nvidia 2060 GPU with more memory. But today, I’m curious to see how much faster diffusion has gotten on a M-series mac (M2 specifically).&lt;/p&gt;</description></item><item><title>QR Code Monster for SDXL</title><link>https://myByways.com/post/qr-code-monster-for-sdxl/</link><pubDate>Tue, 14 Nov 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/qr-code-monster-for-sdxl/</guid><description>&lt;p&gt;Time to try another &lt;strong&gt;ControlNet&lt;/strong&gt; for Stable Diffusion XL - &lt;a href="https://huggingface.co/monster-labs/control_v1p_sdxl_qrcode_monster" rel="external"&gt;QR Code Monster v1&lt;/a&gt; in &lt;strong&gt;ComfyUI&lt;/strong&gt;. This ControlNet can influence SDXL such that the generated image “hides” a scan-able QR code, which at first glance, looks like a photo!&lt;/p&gt;</description></item><item><title>Generating animations / videos with SDXL LCM</title><link>https://myByways.com/post/generating-animations-videos-with-sdxl-lcm/</link><pubDate>Mon, 13 Nov 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/generating-animations-videos-with-sdxl-lcm/</guid><description>&lt;p&gt;I never tried generating video clips or animations with SDXL before, simply because my GPU is not powerful enough. But after testing out the &lt;a href="https://myByways.com/post/crazy-fast-image-generation-with-lcm-lora-for-sdxl"&gt;LCM LoRA for SDXL yesterday&lt;/a&gt;, I thought I’d try the &lt;a href="https://huggingface.co/blog/lcm_lora" rel="external"&gt;SDXL LCM LoRA&lt;/a&gt; with &lt;a href="https://github.com/hotshotco/Hotshot-XL" rel="external"&gt;Hotshot-XL&lt;/a&gt;, which is something akin to &lt;a href="https://animatediff.github.io/" rel="external"&gt;AnimateDiff&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Crazy fast image generation with LCM LoRA for SDXL</title><link>https://myByways.com/post/crazy-fast-image-generation-with-lcm-lora-for-sdxl/</link><pubDate>Sun, 12 Nov 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/crazy-fast-image-generation-with-lcm-lora-for-sdxl/</guid><description>&lt;p&gt;Stable Diffusion keeps improving at an astounding pace! This time, it’s the idea of &lt;em&gt;distilling&lt;/em&gt; a model into a &lt;strong&gt;Latent Consistency Model (LCM)&lt;/strong&gt; for very, very fast image generation with a quality trade-off. On 24 Oct 2023, the distilled &lt;a href="https://huggingface.co/segmind/SSD-1B" rel="external"&gt;Segmind Stable Diffusion 1B (SSD-1B) model&lt;/a&gt; was released, followed by a better implementation in the form of &lt;a href="https://huggingface.co/blog/lcm_lora" rel="external"&gt;Latent Consistency LoRAs for SDXL and SDD-1B&lt;/a&gt; released on 9 Nov 2023.&lt;/p&gt;</description></item><item><title>Fix Web Background Videos That Do Not Auto-play in Safari on iOS</title><link>https://myByways.com/post/fix-web-background-videos-that-do-not-auto-play-in-safari-on-ios/</link><pubDate>Sun, 10 Sep 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fix-web-background-videos-that-do-not-auto-play-in-safari-on-ios/</guid><description>&lt;p&gt;I recently encountered a situation where &lt;strong&gt;Safari&lt;/strong&gt; would not play &lt;strong&gt;background videos&lt;/strong&gt; in web pages! I initially assumed the page was broken&amp;hellip; until I realized mine was the only iPhone with this behaviour, yet I am on the latest iPhone and iOS version. I finally figured what was different with my setup, and how to solve this issue.&lt;/p&gt;</description></item><item><title>Using the SDXL-Inpainting 0.1 Model</title><link>https://myByways.com/post/using-the-sdxl-inpainting-01-model/</link><pubDate>Sun, 03 Sep 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/using-the-sdxl-inpainting-01-model/</guid><description>&lt;p&gt;Stability AI just released an new &lt;a href="https://huggingface.co/diffusers/stable-diffusion-xl-1.0-inpainting-0.1" rel="external"&gt;SD-XL Inpainting 0.1 model&lt;/a&gt;. Here is how to use it with &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Improving faces with Impact-Pack Detailers</title><link>https://myByways.com/post/improving-faces-with-impact-pack-detailers/</link><pubDate>Thu, 31 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/improving-faces-with-impact-pack-detailers/</guid><description>&lt;p&gt;&lt;a href="https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0" rel="external"&gt;Stable Diffusion XL&lt;/a&gt; has trouble producing accurately proportioned faces when they are too small. Today, I learn to use the &lt;strong&gt;FaceDetailer&lt;/strong&gt; and &lt;strong&gt;Detailer (SEGS)&lt;/strong&gt; nodes in the &lt;a href="https://github.com/ltdrdata/ComfyUI-Impact-Pack" rel="external"&gt;ComfyUI-Impact-Pack&lt;/a&gt; to fix small, ugly faces.&lt;/p&gt;</description></item><item><title>Improving poses with SDXL ControlNets</title><link>https://myByways.com/post/improving-poses-with-sdxl-controlnets/</link><pubDate>Sat, 26 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/improving-poses-with-sdxl-controlnets/</guid><description>&lt;p&gt;I previously &lt;a href="https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0" rel="external"&gt;tried Thibauld’s SDXL-controlnet: OpenPose (v2) ControlNet&lt;/a&gt; in &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt; with poses either downloaded from &lt;a href="https://openposes.com/" rel="external"&gt;OpenPoses.com&lt;/a&gt; or created with &lt;a href="https://github.com/space-nuko/ComfyUI-OpenPose-Editor" rel="external"&gt;OpenPose Editor&lt;/a&gt;. Here are a few more options for anyone looking to create custom poses.&lt;/p&gt;</description></item><item><title>SDXL Revision workflow in ComfyUI</title><link>https://myByways.com/post/sdxl-revision-workflow-in-comfyui/</link><pubDate>Sun, 20 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/sdxl-revision-workflow-in-comfyui/</guid><description>&lt;p&gt;Yesterday, I &lt;a href="https://myByways.com/post/stability-ai-control-loras"&gt;tried out Stability AI’s four Control-LoRAs&lt;/a&gt; but mentioned that I did not understand the output of the &lt;strong&gt;Revision&lt;/strong&gt; “image-mixing” workflow. I’ve since done a bit more experimentation&amp;hellip;&lt;/p&gt;</description></item><item><title>Stability AI Control LoRAs</title><link>https://myByways.com/post/stability-ai-control-loras/</link><pubDate>Sat, 19 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/stability-ai-control-loras/</guid><description>&lt;p&gt;Less than a week after my post testing &lt;a href="https://myByways.com/post/sdxl-1-0-with-sdxl-controlnet-canny"&gt;diffusers/controlnet-canny-sdxl-1.0&lt;/a&gt;, along comes Stability AI’s own &lt;strong&gt;ControlNets&lt;/strong&gt;, which they call &lt;a href="https://huggingface.co/stabilityai/control-lora" rel="external"&gt;Control-LoRAs&lt;/a&gt;! Not one but 4 of them - &lt;strong&gt;Canny&lt;/strong&gt;, &lt;strong&gt;Depth&lt;/strong&gt;, &lt;strong&gt;Recolor&lt;/strong&gt; and &lt;strong&gt;Sketch&lt;/strong&gt; models!&lt;/p&gt;</description></item><item><title>SDXL 1.0 with SDXL-ControlNet: OpenPose (v2)</title><link>https://myByways.com/post/sdxl-1-0-with-sdxl-controlnet-openpose-v2/</link><pubDate>Fri, 18 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/sdxl-1-0-with-sdxl-controlnet-openpose-v2/</guid><description>&lt;p&gt;As &lt;a href="https://myByways.com/post/fooocus-ksampler-custom-node-for-comfyui-sdxl"&gt;promised in my last post&lt;/a&gt;, today I am testing out &lt;strong&gt;Thibaud Zamora&lt;/strong&gt;’s &lt;a href="https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0" rel="external"&gt;SDXL-controlnet: OpenPose (v2) model&lt;/a&gt; using &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt;. I keep saying I’ll keep my posts short but never do&amp;hellip;&lt;/p&gt;</description></item><item><title>Fooocus KSampler Custom Node for ComfyUI SDXL</title><link>https://myByways.com/post/fooocus-ksampler-custom-node-for-comfyui-sdxl/</link><pubDate>Thu, 17 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fooocus-ksampler-custom-node-for-comfyui-sdxl/</guid><description>&lt;p&gt;Recently I tried &lt;a href="https://github.com/lllyasviel/Fooocus" rel="external"&gt;Fooocus by Lyumin Zhang (Illyasviel)&lt;/a&gt; which fulfills its promise to allow one to “Focus on prompting and generating” - it is certainly easy to use! But shortly after its release, someone has “ported” the code to &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt; as a &lt;strong&gt;Custom Node&lt;/strong&gt;! So of course it’s time to test it out&amp;hellip;&lt;/p&gt;</description></item><item><title>SDXL 1.0 with SDXL-ControlNet: Canny</title><link>https://myByways.com/post/sdxl-1-0-with-sdxl-controlnet-canny/</link><pubDate>Sun, 13 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/sdxl-1-0-with-sdxl-controlnet-canny/</guid><description>&lt;p&gt;The Stability AI documentation now has a pipeline supporting &lt;a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/controlnet_sdxl" rel="external"&gt;ControlNets with Stable Diffusion XL&lt;/a&gt;! Time to try it out with &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt; for Windows.&lt;/p&gt;</description></item><item><title>Scale and Composite Latents with SDXL</title><link>https://myByways.com/post/scale-and-composite-latents-with-sdxl/</link><pubDate>Sat, 05 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/scale-and-composite-latents-with-sdxl/</guid><description>&lt;p&gt;In this post, I experiment with &lt;strong&gt;latent scaling&lt;/strong&gt; and &lt;strong&gt;latent compositing&lt;/strong&gt; with &lt;a href="https://stability.ai/blog/stable-diffusion-sdxl-1-announcement" rel="external"&gt;SDXL 1.0&lt;/a&gt; using &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt;. That is to say, increasing / decreasing the size of the image, and combining multiple images into one à la green screen (chroma key) compositing.&lt;/p&gt;</description></item><item><title>Two Text Prompts (Text Encoders) in SDXL 1.0</title><link>https://myByways.com/post/two-text-prompts-text-encoders-in-sdxl-1-0/</link><pubDate>Thu, 03 Aug 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/two-text-prompts-text-encoders-in-sdxl-1-0/</guid><description>&lt;p&gt;&lt;a href="https://stability.ai/blog/stable-diffusion-sdxl-1-announcement" rel="external"&gt;SDXL 1.0&lt;/a&gt; uses &lt;em&gt;two text prompts&lt;/em&gt; used to guide image generation. In my first post, &lt;a href="https://myByways.com/post/stable-diffusion-sdxl-1-0-with-comfyui"&gt;SDXL 1.0 with ComfyUI&lt;/a&gt;, I referred to the second text prompt as a “style” but I wonder if I am correct. I have no idea! So let’s test out both prompts&amp;hellip;&lt;/p&gt;</description></item><item><title>CLIPSeg with SDXL in ComfyUI</title><link>https://myByways.com/post/clipseg-with-sdxl-in-comfyui/</link><pubDate>Mon, 31 Jul 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/clipseg-with-sdxl-in-comfyui/</guid><description>&lt;p&gt;Onward with &lt;a href="https://stability.ai/blog/stable-diffusion-sdxl-1-announcement" rel="external"&gt;SDXL&lt;/a&gt; and &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt;! Sometimes I want to tweak generated images by replacing selected parts that don’t look good while retaining the rest of the image that does look good. Rather than manually creating a mask, I’d like to leverage &lt;a href="https://github.com/timojl/clipseg" rel="external"&gt;CLIPSeg&lt;/a&gt; to generate a masks from a text prompt.&lt;/p&gt;</description></item><item><title>SDXL with Offset Example LoRA in ComfyUI for Windows</title><link>https://myByways.com/post/sdxl-with-offset-example-lora-in-comfyui-for-windows/</link><pubDate>Sun, 30 Jul 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/sdxl-with-offset-example-lora-in-comfyui-for-windows/</guid><description>&lt;p&gt;Yesterday I mentioned in passing that my &lt;a href="https://myByways.com/post/stable-diffusion-sdxl-1-0-with-comfyui"&gt;Nvidia RTX 2060 with 12GB could not run both SDXL 1.0 Base and Refiner models&lt;/a&gt; in a single &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt; workflow. Today, I show you my workaround and also experiment with adding the &lt;a href="https://stability.ai/blog/stable-diffusion-sdxl-1-announcement" rel="external"&gt;SDXL 1.0&lt;/a&gt; &lt;strong&gt;Official Offset Example LoRA&lt;/strong&gt; to the workflow.&lt;/p&gt;</description></item><item><title>Stable Diffusion SDXL 1.0 with ComfyUI</title><link>https://myByways.com/post/stable-diffusion-sdxl-1-0-with-comfyui/</link><pubDate>Sat, 29 Jul 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/stable-diffusion-sdxl-1-0-with-comfyui/</guid><description>&lt;p&gt;&lt;strong&gt;Stability.ai&lt;/strong&gt; has released &lt;a href="https://stability.ai/blog/stable-diffusion-sdxl-1-announcement" rel="external"&gt;Stable Diffusion XL (SDXL) 1.0&lt;/a&gt; (26 July 2023)! Time to test it out using a no-code GUI called &lt;a href="https://github.com/comfyanonymous/ComfyUI" rel="external"&gt;ComfyUI&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Configure a mouse for macOS trackpad-like gestures</title><link>https://myByways.com/post/configure-a-mouse-for-macos-trackpad-like-gestures/</link><pubDate>Sun, 16 Jul 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/configure-a-mouse-for-macos-trackpad-like-gestures/</guid><description>&lt;p&gt;A short post about setting up a mouse on macOS to mimic trackpad gestures.&lt;/p&gt;</description></item><item><title>My Blacktron Star Fighter MOC 40580</title><link>https://myByways.com/post/my-blacktron-star-fighter-moc-40580/</link><pubDate>Sat, 17 Jun 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-blacktron-star-fighter-moc-40580/</guid><description>&lt;p&gt;May I present to you: my second LEGO Space MOC, the &lt;strong&gt;Blacktron Star Fighter&lt;/strong&gt;! This is an alternate build using only parts from set &lt;a href="https://www.lego.com/en-us/product/blacktron-cruiser-40580" rel="external"&gt;40580: Blacktron Cruiser&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Running Steam in Game Porting Toolkit</title><link>https://myByways.com/post/running-steam-in-game-porting-toolkit/</link><pubDate>Wed, 14 Jun 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-steam-in-game-porting-toolkit/</guid><description>&lt;p&gt;In &lt;a href="https://myByways.com/post/apple-game-porting-toolkit-with-whisky"&gt;my previous post&lt;/a&gt;, I managed to get &lt;a href="https://github.com/IsaacMarovitz/Whisky" rel="external"&gt;Whisky&lt;/a&gt;, with Apple’s &lt;strong&gt;Game Porting Toolkit&lt;/strong&gt;, working on macOS Ventura without Homebrew. Here I manage to get &lt;a href="https://store.steampowered.com/about/" rel="external"&gt;Steam&lt;/a&gt; running after jumping through hoops.&lt;/p&gt;</description></item><item><title>Apple Game Porting Toolkit with Whisky</title><link>https://myByways.com/post/apple-game-porting-toolkit-with-whisky/</link><pubDate>Mon, 12 Jun 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/apple-game-porting-toolkit-with-whisky/</guid><description>&lt;p&gt;A long time ago, I compiled &lt;strong&gt;Wine&lt;/strong&gt; from scratch on 32-bit macOS Sierra. I lost interest because I never used it. Now after WWDC 2023, everyone is talking about the happy side effect of Apple’s &lt;strong&gt;Game Porting Toolkit&lt;/strong&gt; (GPTK) which uses Wine under the hood to run &lt;strong&gt;Windows 10&lt;/strong&gt; &lt;strong&gt;DirectX 12&lt;/strong&gt; games on macOS!&lt;/p&gt;</description></item><item><title>Run code in a macOS Sandbox</title><link>https://myByways.com/post/run-code-in-a-macos-sandbox/</link><pubDate>Sun, 11 Jun 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/run-code-in-a-macos-sandbox/</guid><description>&lt;p&gt;I sometimes test randomly downloaded code on macOS in a &lt;strong&gt;Sandbox&lt;/strong&gt; that has limited and network access. I posted about this way back in Jan 2017, &lt;a href="https://myByways.com/post/creating-a-macos-sandbox-to-run-kodi"&gt;Creating a macOS Sandbox to run Kodi&lt;/a&gt;, and this is a short refresher for me&amp;hellip;&lt;/p&gt;</description></item><item><title>Prevent macs from sleeping</title><link>https://myByways.com/post/prevent-macs-from-sleeping/</link><pubDate>Sat, 10 Jun 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/prevent-macs-from-sleeping/</guid><description>&lt;p&gt;The current macOS “System Settings” continues to confound me. Did you know you can prevent your mac from sleeping with a setting? I previously thought &lt;code&gt;caffeinate&lt;/code&gt; was the only way to achieve this.&lt;/p&gt;</description></item><item><title>Create an animated PNG</title><link>https://myByways.com/post/create-an-animated-png/</link><pubDate>Fri, 09 Jun 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/create-an-animated-png/</guid><description>&lt;p&gt;I recently wanted to create an animated PNG, but macOS does not include any built in tools to combine multiple &lt;a href="https://en.wikipedia.org/wiki/PNG" rel="external"&gt;PNG&lt;/a&gt;s into an &lt;a href="https://en.wikipedia.org/wiki/APNG" rel="external"&gt;APNG&lt;/a&gt; file. Here’s an option using &lt;strong&gt;Python&lt;/strong&gt; source code.&lt;/p&gt;</description></item><item><title>File Date Created = Photo / video metadata</title><link>https://myByways.com/post/file-date-created-to-photo-video-metadata/</link><pubDate>Sun, 04 Jun 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/file-date-created-to-photo-video-metadata/</guid><description>&lt;p&gt;When I export photos or videos from &lt;strong&gt;Photos.app&lt;/strong&gt;, I want the file’s &lt;strong&gt;Created Date&lt;/strong&gt; (&lt;strong&gt;Created Date&lt;/strong&gt; in Finder) to be the time the photo or video was taken. Alas, this is not the way Photos works, and setting the date turned out to be more challenging than expected.&lt;/p&gt;</description></item><item><title>“Delete” (Move) to Trash in macOS Shell</title><link>https://myByways.com/post/delete-move-to-trash-in-macos-shell/</link><pubDate>Mon, 08 May 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/delete-move-to-trash-in-macos-shell/</guid><description>&lt;p&gt;A short one today: here is a function to “delete” (read: move) a file to the macOS &lt;strong&gt;Trash&lt;/strong&gt; (Bin), as a safer alternative to &lt;code&gt;rm&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Bluetooth keyboard and trackpad battery level</title><link>https://myByways.com/post/bluetooth-keyboard-and-trackpad-battery-level/</link><pubDate>Sun, 30 Apr 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/bluetooth-keyboard-and-trackpad-battery-level/</guid><description>&lt;p&gt;Want to check your connected bluetooth device battery level on a mac? Here is one way: using &lt;a href="https://xbarapp.com/" rel="external"&gt;xbar&lt;/a&gt; (I am aware there are a bunch of other xbar plugins to do something similar, but I’ve been using my own script before I ever used xbar).&lt;/p&gt;</description></item><item><title>Enabling the macOS Metal Performance HUD</title><link>https://myByways.com/post/enabling-the-macos-metal-performance-hud/</link><pubDate>Fri, 28 Apr 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/enabling-the-macos-metal-performance-hud/</guid><description>&lt;p&gt;Did you know that macOS has a built-in game performance HUD with a frames per second (FPS) counter, similar using &lt;a href="https://myByways.com/post/cpu-and-gpu-monitoring-overlay-for-gaming"&gt;RivaTuner Statistics Server (RTSS)&lt;/a&gt; to display a GPU performance overlay in Windows? Here’s how to enable the &lt;a href="https://developer.apple.com/metal/" rel="external"&gt;Metal Performance HUD&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>The Art of Linda Bergkvist</title><link>https://myByways.com/post/the-art-of-linda-bergkvist/</link><pubDate>Sun, 23 Apr 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/the-art-of-linda-bergkvist/</guid><description>&lt;p&gt;Not long ago, I was reminded of one of my favourite digital artists, &lt;strong&gt;Linda Bergkvist&lt;/strong&gt; a.k.a. &lt;strong&gt;Enayla&lt;/strong&gt;. I love her macabre yet stunningly beautiful and evocative art, but alas, she’s not posted her art since around 2007. This post is a departure from my usual techie stuff &amp;ndash; it’s just appreciation post!&lt;/p&gt;</description></item><item><title>skhd RunAtLoad launch agent</title><link>https://myByways.com/post/skhd-runatload-launch-agent/</link><pubDate>Sat, 18 Mar 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/skhd-runatload-launch-agent/</guid><description>&lt;p&gt;Some time ago, I explained how I setup &lt;a href="https://myByways.com/post/global-hotkeys-for-macos-with-skhd"&gt;“Global hotkeys for macOS with skhd”&lt;/a&gt;. I mentioned running it automatically upon login via the macOS &lt;strong&gt;Launch Daemon&lt;/strong&gt; but did not detail the steps. So here they are&amp;hellip;&lt;/p&gt;</description></item><item><title>Using Rosetta in a UTM Linux VM with Docker on Apple Silicon</title><link>https://myByways.com/post/using-rosetta-in-a-utm-linux-vm-with-docker-on-apple-silicon/</link><pubDate>Sun, 12 Mar 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/using-rosetta-in-a-utm-linux-vm-with-docker-on-apple-silicon/</guid><description>&lt;p&gt;I have been using &lt;a href="https://getutm.app/" rel="external"&gt;UTM on M1/M2 macs&lt;/a&gt; for all my virtualization needs for a while, but never posted much because it practically works out of the box. Since around October 2022, &lt;strong&gt;UTM v4.0.9 on macOS Ventura&lt;/strong&gt; allows &lt;strong&gt;Apple Hypervisor Virtualization&lt;/strong&gt; Virtual Machines to use &lt;a href="https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment" rel="external"&gt;Rosetta 2&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Fast external storage for M1/M2 Macs</title><link>https://myByways.com/post/fast-external-storage-for-m1-m2-macs/</link><pubDate>Sun, 05 Mar 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fast-external-storage-for-m1-m2-macs/</guid><description>&lt;p&gt;I was recently researching external storage for my Mac, looking for the “fastest” and most “reliable”. There are so many options, and of course, so many different price points! It’s all very confusing: NGFF M.2? NVMe M.2? USB 3.1 Gen 1 (5 Mbps)? USB 3.1 Gen 2 (10 Gbps)? USB 3.1 Gen 2x2 (20 Gbps)? Thunderbolt 3? Thunderbolt 4? USB 4.0?&lt;/p&gt;</description></item><item><title>myByways Simple-SD v1.1 Python script using Safetensors</title><link>https://myByways.com/post/mybyways-simple-sd-v1-1-python-script-using-safetensors/</link><pubDate>Tue, 24 Jan 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/mybyways-simple-sd-v1-1-python-script-using-safetensors/</guid><description>&lt;p&gt;&lt;strong&gt;&lt;a href="https://huggingface.co/johnslegers/epic-diffusion" rel="external"&gt;Epic Diffusion&lt;/a&gt;&lt;/strong&gt; recently came to my attention, a high-quality merge of various models by John Slegers: “Epîc Diffusion is a general purpose model based on Stable Diffusion 1.x intended to replace the official SD releases as your default model. It is focused on providing high quality output in a wide range of different styles&amp;hellip;” Figured I’d give it a spin.&lt;/p&gt;</description></item><item><title>Lite XL text editor on MacOS</title><link>https://myByways.com/post/lite-xl-text-editor-on-macos/</link><pubDate>Sat, 31 Dec 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/lite-xl-text-editor-on-macos/</guid><description>&lt;p&gt;I recently tried &lt;a href="https://lite-xl.com/" rel="external"&gt;Lite XL v2.1.0&lt;/a&gt;, a forked and updated version of the original &lt;code&gt;rxi/lite&lt;/code&gt;, “A lightweight text editor written in Lua”, on MacOS ARM. Here are some findings.&lt;/p&gt;</description></item><item><title>Fast Stable Diffusion using Core ML on M1</title><link>https://myByways.com/post/fast-stable-diffusion-using-core-ml-on-m1/</link><pubDate>Sun, 18 Dec 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fast-stable-diffusion-using-core-ml-on-m1/</guid><description>&lt;p&gt;Recently (around 14 December 2022), Apple’s &lt;strong&gt;Machine Learning Research&lt;/strong&gt; team published &lt;a href="https://machinelearning.apple.com/research/stable-diffusion-coreml-apple-silicon" rel="external"&gt;“Stable Diffusion with Core ML on Apple Silicon”&lt;/a&gt; with Python and Swift source code optimized for Apple Silicon (M1/M2) on Github &lt;a href="https://github.com/apple/ml-stable-diffusion" rel="external"&gt;apple/ml-stable-diffusion&lt;/a&gt;. Here I’m trying it out on a MacBook (though the code also works on iPhones and iPads)&amp;hellip;&lt;/p&gt;</description></item><item><title>Lock Screen "Launcher" Widget with Scriptable</title><link>https://myByways.com/post/lock-screen-launcher-widget-with-scriptable/</link><pubDate>Fri, 02 Dec 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/lock-screen-launcher-widget-with-scriptable/</guid><description>&lt;p&gt;iOS 16 introduced new &lt;strong&gt;lock screen widgets&lt;/strong&gt;! Rather that installing various third party widdgets, I want to create my own using &lt;a href="https://scriptable.app/" rel="external"&gt;Scriptable&lt;/a&gt;. Here is a simple “universal” widget to launch an application or a &lt;strong&gt;Shortcut&lt;/strong&gt; (bonus: or even the home screen too!)&lt;/p&gt;</description></item><item><title>Disabling macOS Print Job History Files</title><link>https://myByways.com/post/disabling-macos-print-job-history-files/</link><pubDate>Fri, 11 Nov 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/disabling-macos-print-job-history-files/</guid><description>&lt;p&gt;Did you know the macOS Printer service (Common UNIX Printing System, or &lt;strong&gt;CUPS&lt;/strong&gt;) keeps a copy of every single print job ever? Here’s how to change this default behaviour.&lt;/p&gt;</description></item><item><title>myByways Simple-SD v1.0 Python script</title><link>https://myByways.com/post/mybyways-simple-sd-python-script/</link><pubDate>Sun, 09 Oct 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/mybyways-simple-sd-python-script/</guid><description>&lt;p&gt;I refactored my &lt;a href="https://myByways.com/post/adding-clipseg-automatic-masking-to-stable-diffusion"&gt;previous &lt;strong&gt;Stable Diffusion&lt;/strong&gt; code&lt;/a&gt;, to clean up, OO it a little, and add new features like tiling, upscaling, PNG metadata. As I mentioned before, I don’t understand AI/ML&amp;hellip; but I do understand programming! So here is my new, more elegant &lt;strong&gt;Simple-SD v1.0&lt;/strong&gt; Python script.&lt;/p&gt;</description></item><item><title>Adding CLIPSeg automatic masking to Stable Diffusion</title><link>https://myByways.com/post/adding-clipseg-automatic-masking-to-stable-diffusion/</link><pubDate>Wed, 28 Sep 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/adding-clipseg-automatic-masking-to-stable-diffusion/</guid><description>&lt;p&gt;I have more ideas for &lt;strong&gt;Stable Diffusion&lt;/strong&gt;. My nights and weekends are consumed! This time: For inpainting, why create a mask image manually, when A.I. can automatically build a mask from a text prompt? Someone much smarter has already &lt;a href="https://arxiv.org/abs/2112.10003" rel="external"&gt;published a paper (arXiv:2112.10003 [cs.CV])&lt;/a&gt;, with source code, to do just this!&lt;/p&gt;</description></item><item><title>Stable Diffusion script with inpainting mask</title><link>https://myByways.com/post/stable-diffusion-script-with-in-painting-mask/</link><pubDate>Mon, 26 Sep 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/stable-diffusion-script-with-in-painting-mask/</guid><description>&lt;p&gt;More &lt;strong&gt;Stable Diffusion!&lt;/strong&gt; This time &lt;em&gt;attempting&lt;/em&gt; to add inpainting / masking based on my previous code, to merge both &lt;code&gt;txt2img.py&lt;/code&gt; and &lt;code&gt;img2img.py&lt;/code&gt; capabilities, disregarding the out-of-box &lt;code&gt;inpainting.py&lt;/code&gt; code, which does not have parameters for positive or negative prompts. Keyword being &lt;em&gt;attempting&lt;/em&gt;&amp;hellip;&lt;/p&gt;</description></item><item><title>My simplified Stable Diffusion Python script</title><link>https://myByways.com/post/my-simplified-stable-diffusion-python-script/</link><pubDate>Wed, 21 Sep 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-simplified-stable-diffusion-python-script/</guid><description>&lt;p&gt;I’ve been playing around with the &lt;a href="https://github.com/CompVis/stable-diffusion" rel="external"&gt;Stable Diffusion&lt;/a&gt; scripts a little (to be exact, &lt;a href="https://github.com/bfirsh/stable-diffusion" rel="external"&gt;Ben Firshman’s version&lt;/a&gt;). To help me understand the script, I decided to re-write it the way I prefer to use it&amp;hellip; either breaking or optimizing it in the process :P&lt;/p&gt;</description></item><item><title>Stable Diffusion image-to-image mode</title><link>https://myByways.com/post/stable-diffusion-image-to-image-mode/</link><pubDate>Sat, 17 Sep 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/stable-diffusion-image-to-image-mode/</guid><description>&lt;p&gt;Following from my previous post, &lt;a href="https://myByways.com/post/ai-generated-images-with-stable-diffusion-on-an-m1-mac"&gt;AI-generated images with Stable Diffusion on an M1 mac&lt;/a&gt;: This time, using the image-to-image script, which takes an input “seed” image, in addition to the text prompt as inputs. In this case the model will use the shapes and colors in the input image as a base for the output AI-generated image.&lt;/p&gt;</description></item><item><title>AI-generated images with Stable Diffusion on an M1 mac</title><link>https://myByways.com/post/ai-generated-images-with-stable-diffusion-on-an-m1-mac/</link><pubDate>Fri, 16 Sep 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ai-generated-images-with-stable-diffusion-on-an-m1-mac/</guid><description>&lt;p&gt;There has been a lot of buzz about &lt;strong&gt;Stable Diffusion&lt;/strong&gt; for text-to-image synthesis, which saw its Public Release around 22 Aug 22. You can read more on the &lt;a href="https://stability.ai/blog/stable-diffusion-public-release" rel="external"&gt;Stability.AI blog&lt;/a&gt; and try it at &lt;a href="https://huggingface.co/spaces/stabilityai/stable-diffusion" rel="external"&gt;Hugging Face&lt;/a&gt;. What’s groundbreaking is is that is open source, with a pre-trained downloadable model and modest system requirements, so anyone can try it on their own computer&amp;hellip; anyone&amp;hellip; like me!&lt;/p&gt;</description></item><item><title>iOS 12.5.6 for 8-9 year old iPhones!</title><link>https://myByways.com/post/ios-12-5-6-for-8-9-year-old-iphones/</link><pubDate>Sun, 04 Sep 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ios-12-5-6-for-8-9-year-old-iphones/</guid><description>&lt;p&gt;Last Wednesday, August 31&lt;sup&gt;st&lt;/sup&gt; 2022, Apple released iOS 12.5.6. This &lt;a href="https://support.apple.com/en-us/HT201222" rel="external"&gt;Security Update&lt;/a&gt; fixes a WebKit vulnerability that “may have been actively exploited.” Users of newer devices will not care, but I cannot overstate how significant this is as a demonstrable commitment to security.&lt;/p&gt;</description></item><item><title>macOS Automator PDF Actions</title><link>https://myByways.com/post/macos-automator-pdf-actions/</link><pubDate>Wed, 31 Aug 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/macos-automator-pdf-actions/</guid><description>&lt;p&gt;Here is a &lt;strong&gt;macOS Automator&lt;/strong&gt; script to watermark a PDF, and also set metadata like author and title. Followed by a more advanced script to do all that an also set an &lt;strong&gt;owner password&lt;/strong&gt; and access permissions&amp;hellip; auto-magically.&lt;/p&gt;</description></item><item><title>My System Explorer MOC 70821 + 70841</title><link>https://myByways.com/post/my-system-explorer-moc-70821-70841/</link><pubDate>Sun, 28 Aug 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-system-explorer-moc-70821-70841/</guid><description>&lt;p&gt;Something totally different today&amp;hellip; As an AFOL, I created a simple Lego MOC, combining &lt;a href="https://www.lego.com/en-us/product/emmet-and-benny-s-build-and-fix-workshop-70821" rel="external"&gt;&lt;strong&gt;70821&lt;/strong&gt; “Emmet and Benny’s ‘Build and Fix’ Workshop!”&lt;/a&gt; and &lt;a href="https://www.lego.com/en-us/product/benny-s-space-squad-70841" rel="external"&gt;&lt;strong&gt;70841&lt;/strong&gt; “Benny’s Space Squad”&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Global hotkeys for macOS with skhd</title><link>https://myByways.com/post/global-hotkeys-for-macos-with-skhd/</link><pubDate>Fri, 26 Aug 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/global-hotkeys-for-macos-with-skhd/</guid><description>&lt;p&gt;I’m never quite satisfied with the various methods of creating keyboard shortcuts (hotkeys) on macOS&amp;hellip; Here I go again, this time using a small open source utility called &lt;a href="https://github.com/koekeishiya/skhd" rel="external"&gt;skhd - a simple hotkey daemon for macOS&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Running GFPGAN Face Restoration in a container</title><link>https://myByways.com/post/running-gfpgan-face-restoration-in-a-container/</link><pubDate>Mon, 01 Aug 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-gfpgan-face-restoration-in-a-container/</guid><description>&lt;p&gt;Almost a year ago, Tencent researchers released their &lt;a href="https://github.com/TencentARC/GFPGAN" rel="external"&gt;GFPGAN Face Restoration&lt;/a&gt;, an AI model which is trained specifically on faces, to better upscale and restore details in low-resolution or damaged portrait photos. I thought I’d give it a whirl.&lt;/p&gt;</description></item><item><title>Browser support for HTTP/3 QUIC</title><link>https://myByways.com/post/browser-support-for-http3-quic/</link><pubDate>Sun, 31 Jul 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/browser-support-for-http3-quic/</guid><description>&lt;p&gt;It’s been over a year (or two) since &lt;a href="https://en.wikipedia.org/wiki/HTTP/3" rel="external"&gt;three major browsers enabled HTTP/3 using the QUIC protocol over UDP&lt;/a&gt;. Chrome and Edge enabled HTTP/3 by default in April 2020 and Firefox followed “shortly after” in April 2021. I am not sure - does &lt;strong&gt;Safari in macOS Monterey 12.5&lt;/strong&gt;, released July 2022, enable HTTP/3 by default?&lt;/p&gt;</description></item><item><title>Running x86 docker images in Multipass on an ARM M1 mac</title><link>https://myByways.com/post/running-x86-docker-images-in-multipass-on-an-arm-m1-mac/</link><pubDate>Fri, 29 Jul 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-x86-docker-images-in-multipass-on-an-arm-m1-mac/</guid><description>&lt;p&gt;Did you know it is possible to run &lt;strong&gt;x86_64&lt;/strong&gt; Docker containers on an &lt;strong&gt;ARM-based M1&lt;/strong&gt; mac? It’s quite staightforward with &lt;strong&gt;Multipass&lt;/strong&gt; and &lt;strong&gt;Docker&lt;/strong&gt; (if you are new to Multipass, check out my &lt;a href="https://myByways.com/post/multipass-for-docker-containers-on-macos"&gt;Multipass for Docker containers on macOS post&lt;/a&gt; from a few months ago).&lt;/p&gt;</description></item><item><title>VS Code Snippet to insert formatted date and time</title><link>https://myByways.com/post/vs-code-snippet-to-insert-formatted-date-and-time/</link><pubDate>Thu, 07 Jul 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/vs-code-snippet-to-insert-formatted-date-and-time/</guid><description>&lt;p&gt;I’ve known that it is possible to &lt;a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets#_creating-your-own-snippets"&gt;create snippets in Visual Studio Code&lt;/a&gt;. Recently, I discovered a few tweaks to help me when taking notes. Here, I share a snippet for inserting the date and time in the format of my choosing in a &lt;strong&gt;Markdown&lt;/strong&gt; note.&lt;/p&gt;</description></item><item><title>Script to re-map MacBook Pro function keys</title><link>https://myByways.com/post/script-to-re-map-macbook-pro-function-keys/</link><pubDate>Sun, 19 Jun 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/script-to-re-map-macbook-pro-function-keys/</guid><description>&lt;p&gt;In &lt;a href="https://myByways.com/post/remapping-physical-function-keys-on-macbook-pros"&gt;my last post, “Re-mapping physical function keys on MacBook Pros”&lt;/a&gt; I used the &lt;code&gt;hidutil&lt;/code&gt; tool to re-map the function keys on a Mac without a touchbar. I’ve since created a script to more easily apply changes.&lt;/p&gt;</description></item><item><title>Re-mapping physical function keys on MacBook Pros</title><link>https://myByways.com/post/remapping-physical-function-keys-on-macbook-pros/</link><pubDate>Wed, 15 Jun 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/remapping-physical-function-keys-on-macbook-pros/</guid><description>&lt;p&gt;One common ask from &lt;strong&gt;M1&lt;/strong&gt; (Apple Silicon / ARM) &lt;strong&gt;MacBook Pro&lt;/strong&gt; users is to be able to re-define what the top row of physical function keys do, for example, to change the &lt;kbd&gt;Dictation (F5)&lt;/kbd&gt; key to decrease the keyboard backlight brightness and &lt;kbd&gt;DND (F6)&lt;/kbd&gt; to increase it, similar to other Macs. Here’s how to do that&amp;hellip; and more!&lt;/p&gt;</description></item><item><title>Simple fun: tty-solitaire</title><link>https://myByways.com/post/simple-fun-tty-solitaire/</link><pubDate>Sun, 12 Jun 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/simple-fun-tty-solitaire/</guid><description>&lt;p&gt;I’ve not posted anything in a long time, so I thought I’d dig up something from a long time ago. Once boring day, many moons ago, I stumbled upon a simple console-based Solitaire game, &lt;a href="https://github.com/mpereira/tty-solitaire/" rel="external"&gt;tty-solitaire&lt;/a&gt; by Murilo Pereira.&lt;/p&gt;</description></item><item><title>macOS PowerPoint custom font and colour theme</title><link>https://myByways.com/post/macos-powerpoint-custom-font-and-colour-theme/</link><pubDate>Sun, 20 Mar 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/macos-powerpoint-custom-font-and-colour-theme/</guid><description>&lt;p&gt;Ever wonder how to create a custom &lt;strong&gt;theme&lt;/strong&gt; for both fonts and colours (a.k.a. designs) in PowerPoint on macOS? In PowerPoint for Windows, is a GUI to do this, but this is lacking in the macOS version. However, it is still possible via custom XML configuration files.&lt;/p&gt;</description></item><item><title>Multipass for Docker containers on macOS</title><link>https://myByways.com/post/multipass-for-docker-containers-on-macos/</link><pubDate>Thu, 17 Mar 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/multipass-for-docker-containers-on-macos/</guid><description>&lt;p&gt;I previously setup &lt;a href="https://myByways.com/post/minuscule-lima-setup-to-replace-docker-on-macos"&gt;Lima as a replacement for Docker Desktop&lt;/a&gt; on macOS. A while ago I tried &lt;a href="https://multipass.run/" rel="external"&gt;Multipass&lt;/a&gt; by Canonical, which makes it really easy to spin up a Ubuntu VM (using Hyperkit) without all the setup and installation typically required with Virtual Box or QEMU.&lt;/p&gt;</description></item><item><title>Remove words from macOS spell check dictionary</title><link>https://myByways.com/post/remove-words-from-macos-spell-check-dictionary/</link><pubDate>Sun, 20 Feb 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/remove-words-from-macos-spell-check-dictionary/</guid><description>&lt;p&gt;I accidentally added an incorrectly spelt word to the macOS spelling dictionary via an &lt;kbd&gt;Add to Dictionary&lt;/kbd&gt; menu item. Surprisingly, there was no inverse “remove from dictionary” option to undo this! Additionally, I realized there is no &lt;strong&gt;System Preferences&lt;/strong&gt; page to to edit the custom dictionary. There are two ways to fix this with macOS (but none for iOS).&lt;/p&gt;</description></item><item><title>Shortcut to convert image format and paste - redux</title><link>https://myByways.com/post/shortcut-to-convert-image-format-and-paste-redux/</link><pubDate>Fri, 11 Feb 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/shortcut-to-convert-image-format-and-paste-redux/</guid><description>&lt;p&gt;I was not satisfied with my last &lt;a href="https://myByways.com/post/shortcut-to-convert-image-format-and-paste"&gt;macOS Shortcut to convert image format and paste&lt;/a&gt;. The simple version forced me to choose between PNG and JPEG, and the complex version was too slow - specifically, the &lt;kbd&gt;Find All Windows&lt;/kbd&gt; action. So here we go again&amp;hellip;&lt;/p&gt;</description></item><item><title>Modifying the Grav Feeds Plugin Output</title><link>https://myByways.com/post/modifying-the-grav-feeds-plugin-output/</link><pubDate>Sat, 05 Feb 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/modifying-the-grav-feeds-plugin-output/</guid><description>&lt;p&gt;There are a couple of things I don’t like with the feeds produced by the standard &lt;a href="https://github.com/getgrav/grav-plugin-feed" rel="external"&gt;Grav Syndication Feed Plugin&lt;/a&gt;. Fortunately, the feeds are generated via &lt;a href="https://learn.getgrav.org/17/themes/twig-primer" rel="external"&gt;Twig templates&lt;/a&gt; that can easily be customized!&lt;/p&gt;</description></item><item><title>Compiling emf2svg</title><link>https://myByways.com/post/compiling-emf2svg/</link><pubDate>Fri, 04 Feb 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/compiling-emf2svg/</guid><description>&lt;p&gt;I recently wanted to convert an &lt;a href="https://en.wikipedia.org/wiki/Windows_Metafile" rel="external"&gt;Windows Enhanced Metafile (EMF)&lt;/a&gt; to &lt;a href="https://en.wikipedia.org/wiki/Scalable_Vector_Graphics" rel="external"&gt;SVG&lt;/a&gt;. I used an open source conversion library called &lt;a href="https://github.com/kakwa/libemf2svg" rel="external"&gt;libemf2svg by Carpentier Pierre-Francois (Kakwa)&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Remove address bar in Firefox child windows</title><link>https://myByways.com/post/remove-address-bar-in-firefox-windows/</link><pubDate>Fri, 21 Jan 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/remove-address-bar-in-firefox-windows/</guid><description>&lt;p&gt;I use JavaScript bookmarklets in &lt;a href="https://www.mozilla.org/en-US/firefox/new/" rel="external"&gt;Mozilla Firefox&lt;/a&gt; to open my email, calendar, chat, etc. in pop-up child windows without a toolbar or menu bar. I do this in order to save screen real-estate, and to prevent me from using those windows for browsing and keep them visible all the time. I’ve been wondering how to have pop-up windows without the address bar&amp;hellip;.&lt;/p&gt;</description></item><item><title>Amazing CSS icons at css.gg</title><link>https://myByways.com/post/amazing-css-icons-at-css-gg/</link><pubDate>Tue, 11 Jan 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/amazing-css-icons-at-css-gg/</guid><description>&lt;p&gt;I recently stumbled upon a collection of amazing icons “drawn” with nothing more than CSS! Visit &lt;a href="https://css.gg" rel="external"&gt;css.gg&lt;/a&gt; and browse through 700+ incredible icons created (coded) by Astrit.&lt;/p&gt;</description></item><item><title>New look for the new year 2022</title><link>https://myByways.com/post/new-look-for-the-new-year-2022/</link><pubDate>Sat, 01 Jan 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/new-look-for-the-new-year-2022/</guid><description>&lt;p&gt;&lt;span class="has-text-danger"&gt;Happy New Year!&lt;/span&gt; A big welcome to 2022! I’ve finally updated the look of my blog with a new theme. Well, not really&amp;hellip; you see, I’m not very creative, and so, my theme pretty much remains the same&amp;hellip; just more purple.&lt;/p&gt;</description></item><item><title>My macOS Shortcut to Tile Windows</title><link>https://myByways.com/post/my-macos-shortcut-to-tile-windows/</link><pubDate>Fri, 19 Nov 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-macos-shortcut-to-tile-windows/</guid><description>&lt;p&gt;In the macOS Monterey &lt;strong&gt;Shortcuts&lt;/strong&gt; Gallery, there are Shortcuts to “Tile Last 2 Windows”, “Tile Last 3 Windows” and “Tile Last 4 Windows”. This is my single combined version for any window (not just the last &lt;em&gt;x&lt;/em&gt;).&lt;/p&gt;</description></item><item><title>AirPlay Receiver on an unsupported mac with Monterey</title><link>https://myByways.com/post/airplay-receiver-on-an-unsupported-mac-with-monterey/</link><pubDate>Wed, 17 Nov 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/airplay-receiver-on-an-unsupported-mac-with-monterey/</guid><description>&lt;p&gt;While waiting for macOS Universal Control, I wanted to try &lt;strong&gt;AirPlay Receiver&lt;/strong&gt;. Unfortunately, it is not supported (“locked”) on my older macBook. But recently I stumbled upon &lt;a href="https://www.youtube.com/watch?v=sO0yc3_hOE8" rel="external"&gt;Mr. Macintosh’s “Airplay BLOCKED on Monterey? How to unlock it!” video on YouTube&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Shortcut to convert image format and paste</title><link>https://myByways.com/post/shortcut-to-convert-image-format-and-paste/</link><pubDate>Sat, 13 Nov 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/shortcut-to-convert-image-format-and-paste/</guid><description>&lt;p&gt;I have a hangup about &lt;strong&gt;Microsoft Office&lt;/strong&gt; on macOS - it often elects to paste images from the clipboard in &lt;a href="https://en.wikipedia.org/wiki/Image_file_formats" rel="external"&gt;TIFF format, instead of PNG or JPG&lt;/a&gt;, which results in massive files, be it PowerPoint .PPTX presentations, Word .DOCX documents or Excel .XLSX spreadsheets. Enter: A new &lt;strong&gt;macOS Shortcut&lt;/strong&gt; to convert clipboard images to (lossless) PNG or (lossy) JPG.&lt;/p&gt;</description></item><item><title>Shortcuts on macOS: A review</title><link>https://myByways.com/post/shortcuts-on-macos-a-review/</link><pubDate>Sat, 06 Nov 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/shortcuts-on-macos-a-review/</guid><description>&lt;p&gt;This is an opinion piece on &lt;strong&gt;Shortcuts v5.0 (1144.2) for macOS Monterey v12.0.1&lt;/strong&gt;. Readers of my blog know I use Automator, AppleScripts, and shell scripts to get stuff done. So I was curious to see if I could replace all these with just &lt;strong&gt;Shortcuts&lt;/strong&gt;. &lt;em&gt;TL;DR:&lt;/em&gt; no, no I can’t.&lt;/p&gt;</description></item><item><title>Extract Text from a Screenshot with Shortcuts</title><link>https://myByways.com/post/extract-text-from-a-screenshot-with-shortcuts/</link><pubDate>Tue, 02 Nov 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/extract-text-from-a-screenshot-with-shortcuts/</guid><description>&lt;p&gt;Here is a &lt;strong&gt;macOS Shortcut&lt;/strong&gt; to take a screenshot and extract text from it using Optical Character Recognition (OCR). I find this useful to copy text from e.g. a presentation or video during a virtual call, etc.&lt;/p&gt;</description></item><item><title>Sending keystrokes to an application using Shortcuts for macOS Monterey</title><link>https://myByways.com/post/sending-keystrokes-to-an-application-using-shortcuts-for-macos-monterey/</link><pubDate>Fri, 29 Oct 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/sending-keystrokes-to-an-application-using-shortcuts-for-macos-monterey/</guid><description>&lt;p&gt;I’ve been trying out &lt;a href="https://developer.apple.com/videos/play/wwdc2021/10232/" rel="external"&gt;Shortcuts on macOS 12 Monterey&lt;/a&gt;! I have written about &lt;strong&gt;Shortcuts on iOS/iPadOS&lt;/strong&gt; in the past, so was keen to migrate my automation scripts from &lt;strong&gt;Automator&lt;/strong&gt; or &lt;code&gt;osascript&lt;/code&gt; to Shortcuts. Here is the first one: A Shortcut plus global hotkey to an application, leveraging AppleScript/JXA.&lt;/p&gt;</description></item><item><title>Enable the Globe key on external keyboards for iPad</title><link>https://myByways.com/post/enable-the-globe-key-on-external-keyboards-for-ipad/</link><pubDate>Sat, 16 Oct 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/enable-the-globe-key-on-external-keyboards-for-ipad/</guid><description>&lt;p&gt;If you use an external keyboard on iPad, this is the most important thing to do - remap a key like the &lt;kbd&gt;fn&lt;/kbd&gt; key to the globe &lt;kbd&gt;🌐&lt;/kbd&gt; key. Here is how I do it for an older &lt;a href="https://en.wikipedia.org/wiki/Apple_Wireless_Keyboard" rel="external"&gt;Apple wireless keyboard&lt;/a&gt; like the second generation A1255 or third generation A1314.&lt;/p&gt;</description></item><item><title>Minuscule Lima setup to replace Docker on macOS</title><link>https://myByways.com/post/minuscule-lima-setup-to-replace-docker-on-macos/</link><pubDate>Thu, 07 Oct 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/minuscule-lima-setup-to-replace-docker-on-macos/</guid><description>&lt;p&gt;Today’s post will be a long one - recently, &lt;a href="https://www.docker.com/blog/updating-product-subscriptions/" rel="external"&gt;Docker announced some changes to the Docker Desktop license,&lt;/a&gt; so I figured I’d check out the &lt;a href="https://github.com/lima-vm/lima" rel="external"&gt;Lima&lt;/a&gt; for macOS instead. As always, I end up complicating things by doing everything my way&amp;hellip;&lt;/p&gt;</description></item><item><title>New SF Symbols for VS Code Touch Bar</title><link>https://myByways.com/post/new-sf-symbols-for-vscode-touch-bar/</link><pubDate>Fri, 24 Sep 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/new-sf-symbols-for-vscode-touch-bar/</guid><description>&lt;p&gt;A few posts back, I described &lt;a href="https://myByways.com/post/a-zero-code-vs-code-touch-bar-extension-for-markdown"&gt;my no-code approach to customizing my MacBook touch bar in Visual Studio Code&lt;/a&gt;, where I used &lt;a href="https://developer.apple.com/design/resources/#sf-symbols" rel="external"&gt;Apple’s SF Symbols 3 Beta&lt;/a&gt; icon library. Now, Apple has release a new beta of &lt;strong&gt;SF Symbols&lt;/strong&gt; that makes the process easier!&lt;/p&gt;</description></item><item><title>Viewing man pages in Preview or VS Code</title><link>https://myByways.com/post/viewing-man-pages-in-preview-or-vs-code/</link><pubDate>Mon, 06 Sep 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/viewing-man-pages-in-preview-or-vs-code/</guid><description>&lt;p&gt;I stumbled upon a post entitled &lt;a href="https://ericasadun.com/2021/08/19/piping-stdout-and-stderr-to-preview/" rel="external"&gt;“Piping stdout and stderr to Preview” by Erica Sadun&lt;/a&gt; - the cool bit that caught my attention was about redirecting &lt;code&gt;man&lt;/code&gt; pages (UNIX help) to Preview on macOS. But this got me thinking&amp;hellip; to redirect the output to &lt;a href="https://code.visualstudio.com/" rel="external"&gt;Visual Studio Code&lt;/a&gt; instead!&lt;/p&gt;</description></item><item><title>Extracting embedded ZIPs from Office documents</title><link>https://myByways.com/post/extracting-embedded-zips-from-office-documents/</link><pubDate>Tue, 10 Aug 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/extracting-embedded-zips-from-office-documents/</guid><description>&lt;p&gt;I have a plethora of &lt;strong&gt;Bash&lt;/strong&gt; scripts littered throughout my filesystem, many written for one specific purpose and promptly forgotten about (often, just named &lt;code&gt;go.sh&lt;/code&gt;!) I thought I share one today - a script to extract embedded ZIP files from Microsoft Office documents created in Windows.&lt;/p&gt;</description></item><item><title>Padding VS Code Touch Bar Extension Icons</title><link>https://myByways.com/post/padding-vs-code-touch-bar-extension-icons/</link><pubDate>Sat, 07 Aug 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/padding-vs-code-touch-bar-extension-icons/</guid><description>&lt;p&gt;A couple of posts ago, in my (rather unique, if I may say so myself) &lt;a href="https://myByways.com/post/a-zero-code-vs-code-touch-bar-extension-for-markdown"&gt;zero-code VS Code Touch Bar Extension for Markdown&lt;/a&gt;, I used the standard Apple icons in the &lt;a href="https://developer.apple.com/design/resources/#sf-symbols" rel="external"&gt;SF Symbols set&lt;/a&gt;. I found them a bit too large for the touchbar, and wated to shirink them slightly by padding them with extra pixels around the image.&lt;/p&gt;</description></item><item><title>The correct way to create a VS Code Touch Bar Extension</title><link>https://myByways.com/post/the-correct-way-to-create-a-vs-code-touch-bar-extension/</link><pubDate>Sat, 24 Jul 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/the-correct-way-to-create-a-vs-code-touch-bar-extension/</guid><description>&lt;p&gt;This is part two, deploying a &lt;a href="https://code.visualstudio.com/" rel="external"&gt;Visual Studio Code&lt;/a&gt; touchbar extension for Markdown notes, using the normal “correct” development method. I’d suggest referring to &lt;a href="https://myByways.com/post/creating-a-vs-code-touch-bar-extension-for-markdown"&gt;part one, for my much simpler, zero-code method&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>A zero-code VS Code Touch Bar Extension for Markdown</title><link>https://myByways.com/post/a-zero-code-vs-code-touch-bar-extension-for-markdown/</link><pubDate>Fri, 23 Jul 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/a-zero-code-vs-code-touch-bar-extension-for-markdown/</guid><description>&lt;p&gt;This is the first part of a two part series on deploying your own touchbar extension for &lt;a href="https://code.visualstudio.com/" rel="external"&gt;Visual Studio Code&lt;/a&gt;, designed mainly to work with Markdown notes. This post gives you a shortcut method with &lt;strong&gt;zero code&lt;/strong&gt;! The next post will details a more “correct” method. If you don’t already realize - this applies to MacBooks with Touch bars running macOS only.&lt;/p&gt;</description></item><item><title>Customizing VS Code for Markdown note-taking</title><link>https://myByways.com/post/customizing-vs-code-for-markdown-note-taking/</link><pubDate>Sun, 18 Jul 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/customizing-vs-code-for-markdown-note-taking/</guid><description>&lt;p&gt;I’ve been using &lt;a href="https://code.visualstudio.com/" rel="external"&gt;Visual Studio Code&lt;/a&gt; for all my notes. I have used &lt;a href="https://typora.io/" rel="external"&gt;Typora&lt;/a&gt;, &lt;a href="https://obsidian.md/" rel="external"&gt;Obsidian&lt;/a&gt;, and &lt;a href="https://www.zettlr.com/" rel="external"&gt;Zetlr&lt;/a&gt;, but I keep coming back to VS Code, because of its extensibility, customizability and integrated terminal. Here is how I set it up for note-taking.&lt;/p&gt;</description></item><item><title>Shell script to move duplicate files</title><link>https://myByways.com/post/shell-script-to-move-duplicate-files/</link><pubDate>Fri, 09 Jul 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/shell-script-to-move-duplicate-files/</guid><description>&lt;p&gt;I setup &lt;strong&gt;Firefox&lt;/strong&gt; on macOS to automatically download files to my “Downloads” folder without prompting (under &lt;kbd&gt;Preferences&amp;hellip;&lt;/kbd&gt; &amp;gt; &lt;kbd&gt;Downloads&lt;/kbd&gt;, and select &lt;strong&gt;Save files to&amp;hellip;&lt;/strong&gt; instead of &lt;strong&gt;Always ask you where to save files&lt;/strong&gt;). If there is an existing file with the same name, Firefox appends &lt;code&gt;(1)&lt;/code&gt; to the filename (then &lt;code&gt;(2)&lt;/code&gt;, &lt;code&gt;(3)&lt;/code&gt; and so on). Over time, I land up with files with similar file names, which may or may not be identical. This shell script finds and moves duplicate files to a different folder&amp;hellip; for subsequent manual deletion.&lt;/p&gt;</description></item><item><title>Enabling AMD Ryzen 5600X fTPM for Windows 10</title><link>https://myByways.com/post/enabling-amd-ryzen-5600x-ftpm-for-windows-10/</link><pubDate>Fri, 25 Jun 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/enabling-amd-ryzen-5600x-ftpm-for-windows-10/</guid><description>&lt;p&gt;You might have read that Microsoft’s upcoming &lt;a href="https://docs.microsoft.com/en-us/windows/compatibility/windows-11/" rel="external"&gt;Windows 11 requires a Trusted Platform Module (TPM)&lt;/a&gt;. More recent AMD CPUs support &lt;strong&gt;Firmware TPM&lt;/strong&gt; (fTPM) which implements TPM in software on the CPU instead of requiring a dedicated (discrete) chip. This is how I enabled fTPM.&lt;/p&gt;</description></item><item><title>CoreSimulator Crash Loop</title><link>https://myByways.com/post/coresimulator-crash-loop/</link><pubDate>Sat, 19 Jun 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/coresimulator-crash-loop/</guid><description>&lt;p&gt;Last month, one morning, my MacBook (still running &lt;strong&gt;Catalina&lt;/strong&gt;) started behaving strangely - though I was not running anything, it was sluggish as the CPU was too busy and the fans were on high. I traced it to the iOS Simulator service that comes with &lt;strong&gt;XCode&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>VS Code Override Terminal Color Theme</title><link>https://myByways.com/post/vs-code-override-terminal-color-theme/</link><pubDate>Thu, 17 Jun 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/vs-code-override-terminal-color-theme/</guid><description>&lt;p&gt;I have been too very quiet! I wanted a mash-up of a two &lt;a href="https://code.visualstudio.com/" rel="external"&gt;Visual Studio Code&lt;/a&gt; themes - a light color theme for the main editor area, and a dark theme for the terminal, which I usually keep open. Here is an easy way to achieve this.&lt;/p&gt;</description></item><item><title>3600 MHz RAM on AMD B550</title><link>https://myByways.com/post/3600-mhz-ram-on-amd-b550/</link><pubDate>Tue, 11 May 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/3600-mhz-ram-on-amd-b550/</guid><description>&lt;p&gt;Up until a couple of weekends ago, I’d been running my &lt;a href="https://www.corsair.com/us/en/Categories/Products/Memory/VENGEANCE-LPX/p/CMK16GX4M2Z3600C18" rel="external"&gt;Corsair Vengeance LPX 2x8 GB RAM&lt;/a&gt; at &lt;strong&gt;3600 MHz&lt;/strong&gt; on my &lt;a href="https://www.asrock.com/" rel="external"&gt;ASRock B550M Steel Legend&lt;/a&gt; and &lt;a href="https://www.amd.com/en/products/cpu/amd-ryzen-5-5600x" rel="external"&gt;AMD Ryzen 5 5600X&lt;/a&gt;. In fact, I did even better than XMP settings, with a stable system even though I pushed RAM timings by reducing CAS 18 to CAS 16. Then, I upgraded my motherboard BIOS to AMD &lt;strong&gt;AGESA AM4 v2 1.2.0.2&lt;/strong&gt;&amp;hellip; and now I can no longer run at 3600 MHz!&lt;/p&gt;</description></item><item><title>AppleScript to change clipboard image format</title><link>https://myByways.com/post/applescript-to-change-clipboard-image-format/</link><pubDate>Sat, 24 Apr 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/applescript-to-change-clipboard-image-format/</guid><description>&lt;p&gt;For the longest time, I’ve struggled to get the macOS version of &lt;strong&gt;Microsoft Office&lt;/strong&gt; (Word, PowerPoint, Excel) to paste images as &lt;strong&gt;PNG&lt;/strong&gt; or &lt;strong&gt;JPEG&lt;/strong&gt;, instead of the default &lt;strong&gt;TIFF&lt;/strong&gt;. TIFFs make the files far larger than they need to be! I’ve resorted to macros, shell scripts, Quick Actions&amp;hellip; all paste PNGs (lossless) into MS Office! But I just found another method with &lt;a href="https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html" rel="external"&gt;AppleScript&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>A few of my bookmarklets</title><link>https://myByways.com/post/a-few-of-my-bookmarklets/</link><pubDate>Sun, 18 Apr 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/a-few-of-my-bookmarklets/</guid><description>&lt;p&gt;I have a few Javascript &lt;strong&gt;bookmarklets&lt;/strong&gt; that I thought I’d share. &lt;a href="https://support.mozilla.org/en-US/kb/bookmarklets-perform-common-web-page-tasks" rel="external"&gt;Bookmarklets&lt;/a&gt; are short snippets of JavaScript code that run in the context of the current web page in the browser. I prefer them over extensions since I can see what the code does. There are plenty on the web, here are a few of mine.&lt;/p&gt;</description></item><item><title>Of mice and... keyboards</title><link>https://myByways.com/post/of-mice-and-keyboards/</link><pubDate>Sat, 10 Apr 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/of-mice-and-keyboards/</guid><description>&lt;p&gt;I have a desktop PC and a notebook, both sharing a mechanical RGB keyboard, RGB mouse, and “air mouse” (which I use as a media remote control). This post describes my setup.&lt;/p&gt;</description></item><item><title>Visual Studio Code key bindings for curly quotes</title><link>https://myByways.com/post/visual-studio-code-key-bindings-for-curly-quotes/</link><pubDate>Sat, 27 Mar 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/visual-studio-code-key-bindings-for-curly-quotes/</guid><description>&lt;p&gt;When I write, I want proper &lt;strong&gt;curly quotes&lt;/strong&gt;, with the correct opening and closing ‘single’ and “double” quote marks. However, the standard QWERTY keyboard doesn’t have these keys, having only straight &amp;lsquo;single&amp;rsquo; and &amp;ldquo;double&amp;rdquo; quotes. Microsoft Office and Apple Pages “Smart Quotes” will automatically fix this, but since I write this blog in &lt;a href="https://code.visualstudio.com/" rel="external"&gt;Visual Studio Code&lt;/a&gt;, here is how I setup my keyboard.&lt;/p&gt;</description></item><item><title>What I learnt shopping for decent computer speakers</title><link>https://myByways.com/post/what-i-learnt-shopping-for-decent-computer-speakers/</link><pubDate>Sun, 21 Mar 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/what-i-learnt-shopping-for-decent-computer-speakers/</guid><description>&lt;p&gt;I was looking for “decent” budget computer speakers&amp;hellip; I’ll be the first to admit that I know nuts about this topic, but, after some research, I landed up getting the &lt;a href="https://www.edifier.com/us/en/speakers/r1280dbs" rel="external"&gt;Edifier R1280DBs&lt;/a&gt; launched sometime H1 2020. Here are some things I learnt while researching my purchase.&lt;/p&gt;</description></item><item><title>Tweaks and Hacks to Configure Windows 10</title><link>https://myByways.com/post/tweaks-and-hacks-to-configure-windows-10/</link><pubDate>Sat, 13 Mar 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/tweaks-and-hacks-to-configure-windows-10/</guid><description>&lt;p&gt;I’ve been meaning to post this from the time I built my Windows desktop. But I keep adding to the list of things I need to configure to get &lt;strong&gt;Windows 10&lt;/strong&gt; into a ”usable” state for me. Unlike with macOS - for which the default installation is well configured, secure, and pretty much good-to-go - the installation and setup of Windows is extremely painful and a terrible experience. I have to spend hours trying different methods to remove junk, disable telemetry, and secure Windows (and still fail)&amp;hellip;&lt;/p&gt;</description></item><item><title>Command to turn off monitor in Windows 10</title><link>https://myByways.com/post/command-to-turn-off-monitor-in-windows-10/</link><pubDate>Fri, 12 Mar 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/command-to-turn-off-monitor-in-windows-10/</guid><description>&lt;p&gt;I wanted to turn off my monitor in Windows 10, while listening to music, rather than wait for the &lt;strong&gt;Power plan&lt;/strong&gt; “Turn off the display” timer to kick in. Hmmm, seems Windows has never improved, because I recall having this requirement back-in-the-day - haha, that was during my first project ever, when I was involved in some Win32 development&amp;hellip;&lt;/p&gt;</description></item><item><title>Migrating from bash shell scripts to Python</title><link>https://myByways.com/post/migrating-from-bash-shell-scripts-to-python/</link><pubDate>Thu, 11 Mar 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/migrating-from-bash-shell-scripts-to-python/</guid><description>&lt;p&gt;I recently wanted to migrate from a &lt;strong&gt;Bash 3&lt;/strong&gt; shell script to &lt;strong&gt;Python 3&lt;/strong&gt;. This is nothing but a brain dump comparing a few bits and bobs.&lt;/p&gt;</description></item><item><title>North Bayou H80 Monitor Mount Review</title><link>https://myByways.com/post/north-bayou-h80-monitor-mount-review/</link><pubDate>Sun, 21 Feb 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/north-bayou-h80-monitor-mount-review/</guid><description>&lt;p&gt;Since building my &lt;a href="https://myByways.com/post/my-first-pc-build-with-an-amd-ryzen-5-5600x"&gt;Ryzen-based Windows desktop&lt;/a&gt;, I have had a bad case of G.A.S. or &lt;a href="https://en.wikipedia.org/wiki/Compulsive_buying_disorder#Gear_Acquisition_Syndrome_%28G.A.S.%29" rel="external"&gt;Gear Acquisition Syndrome&lt;/a&gt;. This time I wanted an adjustable monitor mount to fit my old-fashioned computer table. I couldn’t find well written reviews nor a comparison with a similar model, so here is my opinion of the H80 and F80 monitor mounts / arms by &lt;a href="http://www.new-nb.com/en/Monitor-Desk-Mounts/" rel="external"&gt;North Bayou&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Configuring Windows Subsystem for Linux (WSL2)</title><link>https://myByways.com/post/configuring-windows-subsystem-for-linux-wsl2/</link><pubDate>Sat, 13 Feb 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/configuring-windows-subsystem-for-linux-wsl2/</guid><description>&lt;p&gt;Here is how I configure &lt;strong&gt;Windows Subsystem for Linux&lt;/strong&gt; (WSL). I do things a bit strangely: by changing the mounts, by running a GUI Desktop, and by running Docker in WSL2 and not on the Host&amp;hellip;&lt;/p&gt;</description></item><item><title>DNS settings to fix emails being marked as spam</title><link>https://myByways.com/post/dns-settings-to-fix-emails-being-marked-as-spam/</link><pubDate>Sun, 07 Feb 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/dns-settings-to-fix-emails-being-marked-as-spam/</guid><description>&lt;p&gt;Recently a number of emails sent from one of our domains was getting tagged as spam by the receipent. Here are some things I learnt trying to fix this problem&amp;hellip;&lt;/p&gt;</description></item><item><title>Monitoring MacBook temperature</title><link>https://myByways.com/post/monitoring-macbook-temperature/</link><pubDate>Sat, 06 Feb 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/monitoring-macbook-temperature/</guid><description>&lt;p&gt;I have been having issues with my Intel Core i7 MacBook Pro - as the notebook heats up, the LCD display starts to die. Initially the display would glitch - black bars or lines of dead pixels would appear at the bottom of the display,. Then these dead portions start to “jump” causing the display to flicker. The glitches progressively affect a larger and larger portion of display, until the display gives up and just just goes blank! Perhaps the &lt;strong&gt;flexgate design flaw&lt;/strong&gt; with the ribbon cable between the motherboard and display&amp;hellip;&lt;/p&gt;</description></item><item><title>Testing Grav 1.7 in a container</title><link>https://myByways.com/post/testing-grav-1-7-in-a-container/</link><pubDate>Fri, 22 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/testing-grav-1-7-in-a-container/</guid><description>&lt;p&gt;When I first used &lt;a href="https://getgrav.org/" rel="external"&gt;Grav&lt;/a&gt;, “a modern open source flat-file CMS,” to host this site, I setup a local development environment using macOS’s built-in &lt;strong&gt;Apache&lt;/strong&gt; and &lt;strong&gt;PHP&lt;/strong&gt;. But this is getting harder with each macOS release, so it’s time to use a &lt;a href="https://www.docker.com/products/docker-desktop" rel="external"&gt;Docker container&lt;/a&gt; instead.&lt;/p&gt;</description></item><item><title>Custom icons in Windows Start Menu Medium Tiles</title><link>https://myByways.com/post/custom-icons-in-windows-start-menu-medium-tiles/</link><pubDate>Thu, 21 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/custom-icons-in-windows-start-menu-medium-tiles/</guid><description>&lt;p&gt;In the Windows 10 &lt;strong&gt;Start Menu&lt;/strong&gt;, I used &lt;strong&gt;Pin To Start&lt;/strong&gt; to a medium sized tile for Firefox - and the icon is nice and large - but is not the case for other shortcuts. I was wondered why&amp;hellip; and how to make all the icons have a more consistent look.&lt;/p&gt;</description></item><item><title>Running Linux GUI applications in a Docker container using Xpra</title><link>https://myByways.com/post/running-linux-gui-applications-in-a-docker-container-using-xpra/</link><pubDate>Sun, 17 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-linux-gui-applications-in-a-docker-container-using-xpra/</guid><description>&lt;p&gt;There are multiple ways to run Linux GUI applications in a Docker container, but today I’ll highlight a method that I found interesting: using &lt;strong&gt;&lt;a href="https://xpra.org/" rel="external"&gt;Xpra&lt;/a&gt;&lt;/strong&gt; to forward X11 screens from containers to a web browser. This post is based on &lt;a href="https://github.com/JAremko/docker-x11-bridge" rel="external"&gt;Eugene Yaremenko’s docker-x11-bridge&lt;/a&gt;, which I simplified.&lt;/p&gt;</description></item><item><title>Bulma customisation with Sass</title><link>https://myByways.com/post/bulma-customisation-with-sass/</link><pubDate>Fri, 08 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/bulma-customisation-with-sass/</guid><description>&lt;p&gt;I’ve been putting of this post for too long. I use &lt;a href="https://bulma.io/" rel="external"&gt;Bulma&lt;/a&gt; as the CSS framework for this site. I previously used &lt;a href="https://bulma-customizer.bstash.io/" rel="external"&gt;Bulma Customizer&lt;/a&gt; to customize some settings but this does not seem to work anymore. So here is how to customize Bulma CSS yourself.&lt;/p&gt;</description></item><item><title>Setting up a Wireless Repeater using DD-WRT v3.0</title><link>https://myByways.com/post/setting-up-a-wireless-repeater-using-dd-wrt-v3-0/</link><pubDate>Mon, 28 Dec 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/setting-up-a-wireless-repeater-using-dd-wrt-v3-0/</guid><description>&lt;p&gt;I wanted to re-purpose an old &lt;strong&gt;Linksys WRT54GL&lt;/strong&gt; by overwriting its firmware with the open source &lt;a href="https://dd-wrt.com/" rel="external"&gt;DD-WRT&lt;/a&gt; firmware, because the original Linksys firmware does not support a wireless repeater setup. A &lt;strong&gt;Wireless Repeater&lt;/strong&gt; is used to “extend” the range of a &lt;em&gt;primary&lt;/em&gt; wireless router by connecting a &lt;em&gt;secondary&lt;/em&gt; wireless router (i.e. bridging), and routing Internet-bound traffic via the primary router. Here is how I got it working.&lt;/p&gt;</description></item><item><title>RTSS layout for Cyberpunk 2077</title><link>https://myByways.com/post/rtss-layout-for-cyberpunk-2077/</link><pubDate>Sun, 13 Dec 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/rtss-layout-for-cyberpunk-2077/</guid><description>&lt;p&gt;I recently posted about configuring RTSS to overlay &lt;a href="https://myByways.com/pages/blog/cpu-and-gpu-monitoring-overlay-for-gaming"&gt;CPU and GPU information&lt;/a&gt; on games in Windows 10. Here is my setup for Cyberpunk 2077, so that I can &lt;a href="https://myByways.com/post/cyberpunk-2077-settings-for-rtx-2060-1080p"&gt;keep an eye on my framerates (when testing the plethora of graphics settings)&lt;/a&gt;, CPU / GPU / RAM utilization and temperatures.&lt;/p&gt;</description></item><item><title>Cyberpunk 2077 settings for RTX 2060 @ 1080p</title><link>https://myByways.com/post/cyberpunk-2077-settings-for-rtx-2060-1080p/</link><pubDate>Sat, 12 Dec 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/cyberpunk-2077-settings-for-rtx-2060-1080p/</guid><description>&lt;p&gt;I though I’d quickly post my &lt;a href="https://www.cyberpunk.net/" rel="external"&gt;Cyberpunk 20774&lt;/a&gt; settings running on a Nvidia RTX 2060 at 1080p (920×1080). The default Cyberpunk &lt;strong&gt;Ray Tracing&lt;/strong&gt; Medium preset results in low frame rates and rather blur graphics, although all effects are enabled.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Originally written with v1.04, but updated for version 1.05+&lt;/em&gt;&lt;/p&gt;</description></item><item><title>1stPlayer DK keyboard and mouse review</title><link>https://myByways.com/post/1stplayer-dk-keyboard-and-mouse-review/</link><pubDate>Sun, 06 Dec 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/1stplayer-dk-keyboard-and-mouse-review/</guid><description>&lt;p&gt;I bought a cheap-ish mechanical keyboard from &lt;a href="https://www.1stplayer.com/" rel="external"&gt;1stPlayer&lt;/a&gt;, the &lt;a href="https://www.1stplayer.com/productdetails/id/38.html" rel="external"&gt;DK 5.0 Lite 87&lt;/a&gt; along with the &lt;a href="https://www.1stplayer.com/productdetails/id/34.html" rel="external"&gt;DK 3.0 mouse&lt;/a&gt;. &lt;a href="https://myByways.com/post/my-first-pc-build-with-an-amd-ryzen-5-5600x"&gt;I called this purchase “a mistake”&lt;/a&gt; as I am not quite satisfied with the physical build and the very poorly designed software. So, I figured I might as well do a short review that may help prospective buyers.&lt;/p&gt;</description></item><item><title>Fix mechanical keyboard keys 1678923450</title><link>https://myByways.com/post/fix-mechanical-keyboard-keys-1678923450/</link><pubDate>Sun, 06 Dec 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fix-mechanical-keyboard-keys-1678923450/</guid><description>&lt;p&gt;I suddenly experienced a strange issue today - the row of number keys on my &lt;a href="https://www.1stplayer.com/productdetails/id/38.html" rel="external"&gt;1stPlayer DK 5.0 Lite&lt;/a&gt; mechanical keyboard, i.e. the keys from &lt;code&gt;2&lt;/code&gt; to &lt;code&gt;9&lt;/code&gt;, would output the wrong number! Specifically, hitting all numeric keys in order would output &lt;code&gt;1678923450&lt;/code&gt; instead of &lt;code&gt;1234567890&lt;/code&gt;. This happened while gaming and I have no idea what caused it.&lt;/p&gt;</description></item><item><title>Creating Windows and macOS VMs</title><link>https://myByways.com/post/creating-windows-and-macos-vms/</link><pubDate>Sun, 29 Nov 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/creating-windows-and-macos-vms/</guid><description>&lt;p&gt;Just a bunch of un-related findings that may help when creating Windows and macOS VMs using &lt;a href="https://www.virtualbox.org/" rel="external"&gt;VirtualBox&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>CPU and GPU Monitoring Overlay for Gaming</title><link>https://myByways.com/post/cpu-and-gpu-monitoring-overlay-for-gaming/</link><pubDate>Thu, 26 Nov 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/cpu-and-gpu-monitoring-overlay-for-gaming/</guid><description>&lt;p&gt;On my &lt;a href="https://myByways.com/post/my-first-pc-build-with-an-amd-ryzen-5-5600x"&gt;new Windows 10 desktop&lt;/a&gt; I wanted an on-screen display (OSD) of system performance overlay while gaming - similar those benchmarking videos one finds on YouTube. While I don’t overclock my CPU or GPU, I still do want to know the utilization and temperatures, as these give me a hint as to whether the system is thermal throttled or bottlenecked.&lt;/p&gt;</description></item><item><title>VirtualBox very slow on Windows 10</title><link>https://myByways.com/post/virtualbox-very-slow-on-windows-10/</link><pubDate>Mon, 23 Nov 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/virtualbox-very-slow-on-windows-10/</guid><description>&lt;p&gt;I found that &lt;strong&gt;Oracle VM VirtualBox 6.1&lt;/strong&gt; was running very slowly on my &lt;a href="https://myByways.com/post/my-first-pc-build-with-an-amd-ryzen-5-5600x"&gt;brand new Windows 10 PC&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Initially I thought it was to do with VirtualBox, e.g. insufficient cores or memory, the display controller (VBoxSVGA), insufficient video memory, etc. And then I thought it might be an AMD thing, so had a look at BIOS, e.g. nested AMD-V, etc.&lt;/p&gt;</description></item><item><title>Quite the year... for silicon</title><link>https://myByways.com/post/quite-the-year-for-silicon/</link><pubDate>Sun, 22 Nov 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/quite-the-year-for-silicon/</guid><description>&lt;p&gt;We will remember 2020 for all the wrong reasons, but on a lighter note, 2020 has been quite the year… for silicon!&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The incredible performance of &lt;strong&gt;Apple&lt;/strong&gt;’s M1 and A14 (@ 5m).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AMD&lt;/strong&gt; crushing Intel with its Ryzen 5000 series CPUs (@ 7nm).&lt;/li&gt;
&lt;li&gt;The neck-and-neck race between the &lt;strong&gt;AMD&lt;/strong&gt; Radeon (@ 7nm) and &lt;strong&gt;Nvidia&lt;/strong&gt; RTX.&lt;/li&gt;
&lt;li&gt;The launch of next-gen consoles from &lt;strong&gt;Microsoft&lt;/strong&gt; and &lt;strong&gt;Sony&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>My first PC build with an AMD Ryzen 5 5600X</title><link>https://myByways.com/post/my-first-pc-build-with-an-amd-ryzen-5-5600x/</link><pubDate>Sat, 14 Nov 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-first-pc-build-with-an-amd-ryzen-5-5600x/</guid><description>&lt;p&gt;I just got myself a new desktop PC! I am not much of a Windows user, but am looking forward to Cyberpunk 2077! I have never built a PC before, so I did the research and learnt a lot. Here is what I bought and why.&lt;/p&gt;</description></item><item><title>iOS Shortcut to Join Cisco WebEx</title><link>https://myByways.com/post/ios-shortcut-to-join-cisco-webex/</link><pubDate>Sun, 01 Nov 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ios-shortcut-to-join-cisco-webex/</guid><description>&lt;p&gt;Here is a quick &lt;strong&gt;iOS Shortcut&lt;/strong&gt; to join &lt;a href="https://www.webex.com" rel="external"&gt;Cisco WebEx&lt;/a&gt; personal rooms by email name. In my organization, once logged in to Cisco WebEx, we can join a colleague’s personal meeting room just by his or her email name. Here is a shortcut to either:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch WebEx for the contact from the Contacts App share sheet,&lt;/li&gt;
&lt;li&gt;Or just run the shortcut to select email to launch WebEx.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Hide Firefox Toolbar and Tabs in Fullscreen</title><link>https://myByways.com/post/hide-firefox-toolbar-and-tabs-in-fullscreen/</link><pubDate>Thu, 15 Oct 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/hide-firefox-toolbar-and-tabs-in-fullscreen/</guid><description>&lt;p&gt;I use macOS spaces (virtual desktops) to arrange the various apps I frequently use. I have one space setup with two Firefox windows, in &lt;strong&gt;fullscreen Split View&lt;/strong&gt; mode. But by default, Firefox windows are not really “full screen” for me, in that the tabs, toolbar and bookmarks bar will still be displayed. Here is my workaround to force the browser to full screen.&lt;/p&gt;</description></item><item><title>An interesting Open Source Directory for developers</title><link>https://myByways.com/post/an-interesting-open-source-directoy-for-developers/</link><pubDate>Sat, 26 Sep 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/an-interesting-open-source-directoy-for-developers/</guid><description>&lt;p&gt;I’m always eager to learn about the open source tools or frameworks developers use. I found this list a good “read” :P&lt;/p&gt;</description></item><item><title>Local Grav PHP ZIP Extension workaround on macOS Catalina</title><link>https://myByways.com/post/local-grav-php-zip-extension-workaround-on-macos-catalina/</link><pubDate>Tue, 28 Jul 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/local-grav-php-zip-extension-workaround-on-macos-catalina/</guid><description>&lt;p&gt;The Apache and PHP bundled with macOS Catalina 10.15 does not include the PHP ZIP extension. &lt;a href="https://getgrav.org/" rel="external"&gt;Grav&lt;/a&gt; (specifically, the &lt;a href="https://github.com/getgrav/grav-plugin-problems" rel="external"&gt;Problems Plugin&lt;/a&gt;) detects this issue, and Grav will not run! Here is a workaround.&lt;/p&gt;</description></item><item><title>Running Sass in a container</title><link>https://myByways.com/post/running-sass-in-a-container/</link><pubDate>Wed, 17 Jun 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-sass-in-a-container/</guid><description>&lt;p&gt;Here is how to create a &lt;a href="https://www.docker.com/products/docker-desktop" rel="external"&gt;Docker&lt;/a&gt; container on macOS to “compile” &lt;a href="https://sass-lang.com/" rel="external"&gt;Sass stylesheets&lt;/a&gt; to CSS. In my case, I wanted to (re)compile my &lt;a href="https://bulma.io/" rel="external"&gt;Bulma&lt;/a&gt;-based theme with the latest version 0.9.0 with my variable overrides.&lt;/p&gt;</description></item><item><title>Fixing issues with VirtualBox Guest Additions for Ubuntu 20.04</title><link>https://myByways.com/post/fixing-issues-with-virtualbox-guest-additions-for-ubuntu-20-04/</link><pubDate>Sun, 31 May 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fixing-issues-with-virtualbox-guest-additions-for-ubuntu-20-04/</guid><description>&lt;p&gt;I recently installed &lt;a href="https://releases.ubuntu.com/20.04/" rel="external"&gt;Ubuntu 20.04 LTS (Focal Fossa)&lt;/a&gt; (dated 23 April 2020), with the intention of creating a VM using &lt;a href="https://www.virtualbox.org/wiki/Changelog-6.0" rel="external"&gt;VirtualBox 6.0.22&lt;/a&gt; (released 15 May 2020). I had issues with VirtualBox guest additions, and this is how I solved it.&lt;/p&gt;</description></item><item><title>How to download videos from YouTube</title><link>https://myByways.com/post/how-to-download-videos-from-youtube/</link><pubDate>Sat, 30 May 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/how-to-download-videos-from-youtube/</guid><description>&lt;p&gt;Wondering how to download a video from &lt;strong&gt;YouTube&lt;/strong&gt;, with audio and subtitles intact? Here are a couple of methods I’m documenting in case I ever need to use them.&lt;/p&gt;</description></item><item><title>Fixing high-DPI (retina) screenshot metadata</title><link>https://myByways.com/post/fixing-high-dpi-retina-screenshot-metadata/</link><pubDate>Sun, 10 May 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fixing-high-dpi-retina-screenshot-metadata/</guid><description>&lt;p&gt;On my MacBook Pro with retina display, when I take a screenshot, the image is saved with a DPI of 144. But, using &lt;a href="https://imageoptim.com/mac" rel="external"&gt;ImageOptim&lt;/a&gt; to compress the image with &lt;strong&gt;Strip JPEG/PNG Metadata&lt;/strong&gt; enabled will remove (or reset) the DPI setting to 72 DPI - resulting in a double sized image when displayed in Preview and Quick Look. Here is how I correct this.&lt;/p&gt;</description></item><item><title>macOS zsh configuration</title><link>https://myByways.com/post/macos-zsh-configuration/</link><pubDate>Thu, 07 May 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/macos-zsh-configuration/</guid><description>&lt;p&gt;From &lt;strong&gt;macOS Catalina 10.5&lt;/strong&gt; onwards, &lt;code&gt;zsh&lt;/code&gt; is the default shell, instead of &lt;code&gt;bash&lt;/code&gt;. I have a lot to learn about this shell, and so far, this is how I configured &lt;a href="http://zsh.sourceforge.net/" rel="external"&gt;zsh&lt;/a&gt;&amp;hellip; There is an overload of snippets on-line, but I’ve not seen a post doing what I do, so hopefully this helps someone!&lt;/p&gt;</description></item><item><title>De-bounce butterfly keyboard double keypress with Karabiner-Elements</title><link>https://myByways.com/post/de-bounce-butterfly-keyboard-double-keypress-with-karabiner-elements/</link><pubDate>Fri, 24 Apr 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/de-bounce-butterfly-keyboard-double-keypress-with-karabiner-elements/</guid><description>&lt;p&gt;Grrr, to no one’s surprise, my MacBook Pro with butterfly keyboard is experiencing keyboard issues. In my case, a keypress on “j” is often triggered twice, resulting in “jj”. And with the lockdowns, I don’t want to risk a repair! So, here is a quick workaround using &lt;a href="https://karabiner-elements.pqrs.org" rel="external"&gt;Karabiner-Elements v12.9.0&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>CSS tips to avoid Javascript</title><link>https://myByways.com/post/css-tips-to-avoid-javascript/</link><pubDate>Fri, 03 Apr 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/css-tips-to-avoid-javascript/</guid><description>&lt;p&gt;Recently I’ve been building a few web sites without JavaScript where possible, relying instead on modern browser support for CSS.&lt;/p&gt;
&lt;p&gt;Here are some things I’ve figured out, including toggling the NavBar burger dropdown, smooth scrolling, showing and hiding modal dialogs with transitions!&lt;/p&gt;</description></item><item><title>Static domain name resolution for Kubernetes pods</title><link>https://myByways.com/post/static-domain-name-resolution-for-kubernetes-pods/</link><pubDate>Tue, 31 Mar 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/static-domain-name-resolution-for-kubernetes-pods/</guid><description>&lt;p&gt;I recently needed to setup a Kubernetes cluster without an external DNS and without Internet access. In the old days, static IPs could be mapped to FQDNs by creating entries in the &lt;code&gt;hosts&lt;/code&gt; file, but that won’t work with Kubernetes. With Internet access, the typical solution would be to use a wildcard DNS like &lt;a href="http://xip.io/" rel="external"&gt;xip.io&lt;/a&gt; or &lt;a href="https://nip.io/" rel="external"&gt;nip.io&lt;/a&gt;. Instead, the workaround is by hardcoding the mapping in the &lt;a href="https://coredns.io" rel="external"&gt;CoreDNS&lt;/a&gt; configuration.&lt;/p&gt;</description></item><item><title>Fixing Grav Admin Panel URL redirect on a local computer</title><link>https://myByways.com/post/fixing-grav-admin-panel-url-redirect-on-a-local-computer/</link><pubDate>Tue, 17 Mar 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fixing-grav-admin-panel-url-redirect-on-a-local-computer/</guid><description>&lt;p&gt;While testing out Grav, it’s quite easy to &lt;a href="https://learn.getgrav.org/16/basics/requirements" rel="external"&gt;setup a local instance&lt;/a&gt; on a macOS computer, since macOS already comes with a suitable web server (Apache 2.4.x and PHP 7.x). I never realized I didn’t actually describe how I set it up, but just wanted to point out one important change.&lt;/p&gt;</description></item><item><title>Choice of home screen icon with DuckDuckGo</title><link>https://myByways.com/post/choice-of-home-screen-icon-with-duckduckgo/</link><pubDate>Sun, 02 Feb 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/choice-of-home-screen-icon-with-duckduckgo/</guid><description>&lt;p&gt;Ah, just as I &lt;a href="https://myByways.com/post/shortcuts-on-iphone-home-screen"&gt;post my method of creating a shortcut with an icon of my choice on the iPhone home screen&lt;/a&gt; - which I demonstrated with Firefox - along comes a browser that allows a choice of icons out-of-the-box!&lt;/p&gt;</description></item><item><title>Shortcuts on iPhone home screen</title><link>https://myByways.com/post/shortcuts-on-iphone-home-screen/</link><pubDate>Thu, 23 Jan 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/shortcuts-on-iphone-home-screen/</guid><description>&lt;p&gt;Here’s how I “changed” an app’s home screen icon on iPhone. I’m so OCD that I want my home screen dock icons (the tray at the bottom) to be all of the same colour! Actually, changing an icon is not possible, but creating a new shortcut with an icon of my choice is!&lt;/p&gt;</description></item><item><title>Fixing Windows 10 100% disk by stopping SysMain</title><link>https://myByways.com/post/fixing-windows-10-100-disk-by-stopping-sysmain/</link><pubDate>Tue, 21 Jan 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fixing-windows-10-100-disk-by-stopping-sysmain/</guid><description>&lt;p&gt;I just spent hours trying to figure out and fix a &lt;strong&gt;Windows 10&lt;/strong&gt; machine that was taking 100% disk, 100% RAM and about 50% CPU with absolutely nothing running. Of course, I initially blamed the user&amp;hellip; then, a misbehaving (hidden, background) app&amp;hellip; then, malware / virus&amp;hellip; the, a runaway Windows Defender&amp;hellip; then, a hard disk / hardware failure&amp;hellip; but ultimately discovering the culprit is - &lt;em&gt;drum roll&lt;/em&gt; - Microsoft Windows itself! As usual!&lt;/p&gt;</description></item><item><title>PowerShell Pipeline to Rename Files</title><link>https://myByways.com/post/powershell-pipeline-to-rename-files/</link><pubDate>Mon, 30 Dec 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/powershell-pipeline-to-rename-files/</guid><description>&lt;p&gt;For me, Microsoft &lt;strong&gt;PowerShell&lt;/strong&gt; is hard! I can’t wrap my mind around &lt;a href="https://docs.microsoft.com/en-us/powershell/scripting/learn/understanding-the-powershell-pipeline?view=powershell-6" rel="external"&gt;data pipelines&lt;/a&gt; (&lt;code&gt;|&lt;/code&gt;). Instead, I keep reverting to if/then, loops and other traditional programming paradigms, similar to what I’d do in UNIX shell!&lt;/p&gt;</description></item><item><title>OCRmyPDF: searchable text from images</title><link>https://myByways.com/post/ocrmypdf-searchable-text-from-images/</link><pubDate>Mon, 16 Dec 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ocrmypdf-searchable-text-from-images/</guid><description>&lt;p&gt;I recently had a bunch of screen shots that I wanted to OCR, so that I could search for text content in the future. I found an open source solution called &lt;a href="https://github.com/jbarlow83/OCRmyPDF" rel="external"&gt;OCRmyPDF&lt;/a&gt; (created by &lt;strong&gt;jbarlow83&lt;/strong&gt; over on GitHub) to be very simple to use. It’s also &lt;a href="http://ocrmypdf.readthedocs.io/" rel="external"&gt;very well documented&lt;/a&gt; with many usage examples, including my preferred option - from a &lt;a href="https://www.docker.com" rel="external"&gt;Docker&lt;/a&gt; container.&lt;/p&gt;</description></item><item><title>RIP Grab.app in macOS Catalina 10.15</title><link>https://myByways.com/post/rip-grab-app-in-macos-catalina-10-15/</link><pubDate>Mon, 04 Nov 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/rip-grab-app-in-macos-catalina-10-15/</guid><description>&lt;p&gt;I previously kept &lt;strong&gt;Grab.app&lt;/strong&gt; on Mojave 10.14 by simply &lt;a href="https://myByways.com/post/mojaves-screenshot-app-and-the-previous-dark-menu-bar-and-dock-feature"&gt;copying it over from High Sierra 10.13&lt;/a&gt;. I prefer the simplicity of Grab over the new &lt;strong&gt;Screenshot.app&lt;/strong&gt;, and I hate that Screenshot adds a drop shadow.&lt;/p&gt;</description></item><item><title>Enabling PHP in Apache on macOS Catalina 10.15</title><link>https://myByways.com/post/enabling-php-in-apache-on-macos-catalina-10-15/</link><pubDate>Sun, 03 Nov 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/enabling-php-in-apache-on-macos-catalina-10-15/</guid><description>&lt;p&gt;Every time Apple releases a new version of macOS, I have to go in and re-configure &lt;strong&gt;Apache&lt;/strong&gt; with &lt;strong&gt;PHP&lt;/strong&gt; the way I want it. So this time, I thought I’d automate the configuration changes with a single command.&lt;/p&gt;</description></item><item><title>Single Page Bulma template with Smooth Scroll and Scroll Spy JavaScript</title><link>https://myByways.com/post/single-page-bulma-template-with-smooth-scroll-and-scroll-spy-javascript/</link><pubDate>Wed, 30 Oct 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/single-page-bulma-template-with-smooth-scroll-and-scroll-spy-javascript/</guid><description>&lt;p&gt;I was building a single page website using &lt;a href="https://bulma.io" rel="external"&gt;Bulma&lt;/a&gt;, and I wanted to achieve effects similar to what I was familiar with using &lt;a href="https://startbootstrap.com/themes/creative" rel="external"&gt;Bootstrap’s Creative one page theme&lt;/a&gt;. As you know, Bulma (mostly) does not provide any &lt;strong&gt;JavaScript&lt;/strong&gt; code, so I had to code the &lt;strong&gt;Smooth Scrolling&lt;/strong&gt; and &lt;strong&gt;Scroll Spy&lt;/strong&gt; features I missed. I intentionally avoided &lt;a href="https://jquery.com/" rel="external"&gt;jQuery&lt;/a&gt;! So I present my solution using plain-old JavaScript.&lt;/p&gt;</description></item><item><title>Running Db2 Data Server Manager in a container</title><link>https://myByways.com/post/running-db2-data-server-manager-in-a-container/</link><pubDate>Sun, 20 Oct 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-db2-data-server-manager-in-a-container/</guid><description>&lt;p&gt;I previously played around with &lt;a href="https://myByways.com/post/wiring-up-node-js-and-mongodb-containers"&gt;MongoDB in a few containers&lt;/a&gt;. Recently, I tried &lt;a href="https://www.ibm.com/products/db2-database" rel="external"&gt;IBM Db2 Community Edition&lt;/a&gt; and learnt a few new things about containers along the way. The challenge was rolling my own &lt;a href="https://www.ibm.com/marketplace/data-server-manager" rel="external"&gt;Db2 Data Server Manager&lt;/a&gt; container, working around the background process that the startup script kicks off.&lt;/p&gt;</description></item><item><title>Word Macro to paste MS Office Drawing / TIFF image as PNG</title><link>https://myByways.com/post/word-macro-to-paste-ms-office-drawing-tiff-image-as-png/</link><pubDate>Sun, 13 Oct 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/word-macro-to-paste-ms-office-drawing-tiff-image-as-png/</guid><description>&lt;p&gt;I really don’t know how to explain today’s post. In short: I want to copy drawings and images out of &lt;strong&gt;Microsoft Office&lt;/strong&gt; in PNG format. On macOS, copy-and-paste seems to prefer the TIFF format, resulting in large Office files. I’d rather the images be converted to PNG, preserving transparency but providing high compression. However, this is more complicated than it seems, because of limitations in Office and &lt;strong&gt;PowerPoint&lt;/strong&gt; in particular&amp;hellip;&lt;/p&gt;</description></item><item><title>Touch Bar Quick Action Scripts</title><link>https://myByways.com/post/touch-bar-quick-action-scripts/</link><pubDate>Wed, 18 Sep 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/touch-bar-quick-action-scripts/</guid><description>&lt;p&gt;Just sharing some &lt;strong&gt;Automator&lt;/strong&gt; scripts I use for &lt;strong&gt;Touch Bar Quick Actions&lt;/strong&gt; showcasing three different methods - using pre-defined &lt;strong&gt;Actions&lt;/strong&gt;, using &lt;strong&gt;AppleScripts&lt;/strong&gt; and using &lt;strong&gt;Shell&lt;/strong&gt; scripts.&lt;/p&gt;</description></item><item><title>Automatically setup a development stack with Appsody</title><link>https://myByways.com/post/automatically-setup-a-development-stack-with-appsody/</link><pubDate>Thu, 05 Sep 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/automatically-setup-a-development-stack-with-appsody/</guid><description>&lt;p&gt;In a previous series of posts, I described how I &lt;a href="https://myByways.com/post/setting-up-node-js-in-a-docker-container"&gt;set up Node.js in a Docker container&lt;/a&gt; for development on my macBook. It’s quite a lot of steps!&lt;/p&gt;
&lt;p&gt;Well, there is a much simpler way - introducing &lt;a href="https://appsody.dev" rel="external"&gt;Appsody&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>About the Windows Sandbox</title><link>https://myByways.com/post/about-the-windows-sandbox/</link><pubDate>Sun, 01 Sep 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/about-the-windows-sandbox/</guid><description>&lt;p&gt;Starting with &lt;strong&gt;Windows 10 May 2019 update&lt;/strong&gt;, there is a new &lt;strong&gt;Windows Sandbox&lt;/strong&gt; feature, which, despite its name, is based on &lt;strong&gt;Windows Containers&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>The Impossible Burger</title><link>https://myByways.com/post/the-impossible-burger/</link><pubDate>Wed, 28 Aug 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/the-impossible-burger/</guid><description>&lt;p&gt;This isn’t a food blog, but I can’t help myself. Just last week, I had &lt;strong&gt;&lt;em&gt;The&lt;/em&gt; Impossible™ Burger&lt;/strong&gt; (emphasis on &lt;em&gt;The&lt;/em&gt;)!&lt;/p&gt;</description></item><item><title>Useful (but less well-known) Mac Keyboard Shortcuts</title><link>https://myByways.com/post/useful-but-less-known-mac-keyboard-shortcuts/</link><pubDate>Tue, 20 Aug 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/useful-but-less-known-mac-keyboard-shortcuts/</guid><description>&lt;p&gt;Most Mac users would use at least a few keyboard shortcuts (if not, check out &lt;a href="https://support.apple.com/en-us/HT201236" rel="external"&gt;Apple’s Mac Keyboard Shortcuts list&lt;/a&gt;), but here are a few additional key combinations that I find useful. These are less well-known and many are not in Apple’s list.&lt;/p&gt;</description></item><item><title>Forcing Dark Mode with prefs-color-scheme Media Query</title><link>https://myByways.com/post/forcing-dark-mode-with-prefs-color-scheme-media-query/</link><pubDate>Sun, 11 Aug 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/forcing-dark-mode-with-prefs-color-scheme-media-query/</guid><description>&lt;p&gt;A few posts ago, I described how to set &lt;a href="https://myByways.com/post/dark-mode-with-prefers-color-sheme-media-query"&gt;Dark Mode with the &lt;code&gt;prefs-color-scheme&lt;/code&gt; Media Query&lt;/a&gt;. The browser will detect the OS Dark Mode setting (set in the &lt;strong&gt;Windows Control Panel&lt;/strong&gt; or &lt;strong&gt;macOS System Preferences&lt;/strong&gt;) and use the appropriate CSS Media Query rule. But what if you want to programmatically set either Dark or Light mode irrespective of the OS setting?&lt;/p&gt;</description></item><item><title>Three Ways to Quickly Toggle Dark Mode</title><link>https://myByways.com/post/three-ways-to-quickly-toggle-dark-mode/</link><pubDate>Sun, 04 Aug 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/three-ways-to-quickly-toggle-dark-mode/</guid><description>&lt;p&gt;Here’s are a few short tips - to toggle &lt;strong&gt;Dark Mode&lt;/strong&gt; on macOS without opening &lt;strong&gt;System Preferences&lt;/strong&gt;. Useful when designing your &lt;a href="https://myByways.com/post/dark-mode-with-prefers-color-sheme-media-query"&gt;Dark Mode enabled web site using &lt;code&gt;prefers-color-sheme&lt;/code&gt; &lt;strong&gt;Media Query&lt;/strong&gt;, like I did&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Building and packaging Wine 4.12.1 (32-bit and 64-bit) automatically</title><link>https://myByways.com/post/building-and-packaging-wine-4-12-1-32-bit-and-64-bit-automatically/</link><pubDate>Wed, 31 Jul 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/building-and-packaging-wine-4-12-1-32-bit-and-64-bit-automatically/</guid><description>&lt;p&gt;For a while now, I’ve been posting about compiling &lt;a href="https://www.winehq.org/" rel="external"&gt;Wine&lt;/a&gt; on macOS, starting with &lt;a href="https://myByways.com/post/compiling-wine-from-scratch-on-macos-with-retina-mode"&gt;Wine 1.9 in October 2016&lt;/a&gt;, then automating the compile for &lt;a href="https://myByways.com/post/automated-script-to-compile-wine-2-9-from-scratch"&gt;Wine 2.9 32-bit in May 2017&lt;/a&gt;. Now it’s July 2019, and this is probably my last post on the subject - a fully automated script to download and compile Wine 4.12.1 (released 7 July 2019) 32-bit and 64-bit on macOS.&lt;/p&gt;</description></item><item><title>Dark Mode with prefers-color-sheme Media Query</title><link>https://myByways.com/post/dark-mode-with-prefers-color-sheme-media-query/</link><pubDate>Wed, 03 Jul 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/dark-mode-with-prefers-color-sheme-media-query/</guid><description>&lt;p&gt;&lt;strong&gt;Dark Mode&lt;/strong&gt; is all the rage with desktop and mobile OS’es right now. Interestingly, modern browsers can detect the OS dark mode preference, and use a different set of CSS styles respectively for light or dark modes! Here’s how I updated &lt;a href="https://myByways.com/post/my-custom-grav-theme"&gt;My custom Grav theme&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Creating a container with an entrypoint to run code</title><link>https://myByways.com/post/creating-a-container-with-an-entrypoint-to-run-code/</link><pubDate>Tue, 28 May 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/creating-a-container-with-an-entrypoint-to-run-code/</guid><description>&lt;p&gt;I recently wanted to test a web app written in &lt;a href="https://nodejs.org" rel="external"&gt;Node.js&lt;/a&gt; and exposed via fixed port. The instructions asked me to install &lt;strong&gt;Node.js&lt;/strong&gt; locally, which I resist! So, here is how I built my &lt;a href="https://docs.docker.com/install/" rel="external"&gt;Docker&lt;/a&gt; container to run the code.&lt;/p&gt;</description></item><item><title>My custom Grav theme</title><link>https://myByways.com/post/my-custom-grav-theme/</link><pubDate>Mon, 20 May 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-custom-grav-theme/</guid><description>&lt;p&gt;I re-designed my blog template using a new CSS framework called &lt;strong&gt;Bluma&lt;/strong&gt;, re-developed all &lt;strong&gt;JavaScript&lt;/strong&gt; without &lt;strong&gt;jQuery&lt;/strong&gt; and customized some plugins. This was quite a journey, so this post is going to be quite long too!&lt;/p&gt;</description></item><item><title>Installing IBM Cloud Private in VirtualBox</title><link>https://myByways.com/post/installing-ibm-cloud-private-in-virtualbox/</link><pubDate>Thu, 18 Apr 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/installing-ibm-cloud-private-in-virtualbox/</guid><description>&lt;p&gt;If you&amp;rsquo;ve had fun with &lt;strong&gt;Docker&lt;/strong&gt; containers, I now introduce you to &lt;a href="https://kubernetes.io/" rel="external"&gt;Kubernetes&lt;/a&gt; and wish you the best of luck. I&amp;rsquo;m still learning myself! I decided to install &lt;a href="https://www.ibm.com/cloud/private/get-started" rel="external"&gt;IBM Cloud Private Community Edition&lt;/a&gt;
following the &lt;a href="https://www.ibm.com/support/knowledgecenter/en/SSBS6K_3.1.2/installing/install_containers.html" rel="external"&gt;Installation guide at IBM&amp;rsquo;s Knowledge Center&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Prototyping with a Node-RED container</title><link>https://myByways.com/post/prototyping-with-a-node-red-container/</link><pubDate>Tue, 16 Apr 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/prototyping-with-a-node-red-container/</guid><description>&lt;p&gt;If the preceding posts on &lt;strong&gt;Node.js&lt;/strong&gt; and &lt;strong&gt;MongoDB&lt;/strong&gt; have been too complex for you, let me introduce you to a simpler drag-and-drop “flow-editor,” &lt;a href="https://nodered.org/" rel="external"&gt;Node-RED.&lt;/a&gt;. It was developed and open-sourced by IBM, and is now hosted by the &lt;a href="https://js.foundation/" rel="external"&gt;OpenJS Foundation&lt;/a&gt; (the same foundation that hosts projects like &lt;strong&gt;jQuery&lt;/strong&gt;, and &lt;strong&gt;Dojo&lt;/strong&gt;). I’ve used &lt;strong&gt;Node-RED&lt;/strong&gt; for quick prototypes and demos, as it’s easy to explain each step of the flow. It saves a lot of coding effort and reduces errors buy providing built-in and pre-built third-party “nodes”.&lt;/p&gt;</description></item><item><title>Wiring up Node.js and MongoDB containers</title><link>https://myByways.com/post/wiring-up-node-js-and-mongodb-containers/</link><pubDate>Sat, 13 Apr 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/wiring-up-node-js-and-mongodb-containers/</guid><description>&lt;p&gt;&lt;a href="https://myByways.com/post/setting-up-node-js-in-a-docker-container"&gt;Previously, I described my development environment setup&lt;/a&gt; using &lt;a href="https://www.docker.com/" rel="external"&gt;Docker containers&lt;/a&gt;. I do it in a totally different way from most tutorials, which I don’t believe leverage containers and complicate things by having to build images for development.&lt;/p&gt;
&lt;p&gt;Here I explain how I wire up (i.e. network) a few containers - a &lt;a href="https://www.mongodb.com/" rel="external"&gt;MongoDB database&lt;/a&gt;, a &lt;a href="https://github.com/mongo-express/mongo-express" rel="external"&gt;Mongo Express&lt;/a&gt; User Interface to manage the database, and a &lt;a href="https://nodejs.org/" rel="external"&gt;Node.js&lt;/a&gt; container using &lt;a href="https://en.wikipedia.org/wiki/JSON_Web_Token" rel="external"&gt;JSON Web Tokens (JWT)&lt;/a&gt; to authenticate users against the database.&lt;/p&gt;</description></item><item><title>Setting up Node.js in a Docker container</title><link>https://myByways.com/post/setting-up-node-js-in-a-docker-container/</link><pubDate>Fri, 12 Apr 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/setting-up-node-js-in-a-docker-container/</guid><description>&lt;p&gt;In this post I share with you how I set up a simple &lt;a href="https://www.docker.com/" rel="external"&gt;Docker&lt;/a&gt; &lt;strong&gt;container&lt;/strong&gt; for &lt;a href="https://nodejs.org/" rel="external"&gt;Node.js&lt;/a&gt; development. I’ve never found a simple tutorial for beginners that meets my needs!&lt;/p&gt;
&lt;p&gt;My requirement is to do all development debugging in a container, so I am assured of consistent behaviour in any environment. I do not want to install &lt;strong&gt;Node.js&lt;/strong&gt; or &lt;strong&gt;npm&lt;/strong&gt; locally on my mac! I cannot be bothered to use a &lt;strong&gt;Makefile&lt;/strong&gt; or &lt;strong&gt;Dockerfile&lt;/strong&gt; to build images - this is only required in the final stage for production!&lt;/p&gt;</description></item><item><title>Optimizing Grav page speed</title><link>https://myByways.com/post/optimizing-grav-page-speed/</link><pubDate>Thu, 04 Apr 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/optimizing-grav-page-speed/</guid><description>&lt;p&gt;I’m usually quite pedantic when it comes to minimizing code and optimizing web page performance. I was a bit surprised to find that this blog’s page speed was far from ideal! &lt;a href="https://developers.google.com/speed/pagespeed/insights/" rel="external"&gt;Google PageSpeed Insights&lt;/a&gt; returned a very low score for this blog. Back when I started this blow, I must’ve neglected optimization, as I was too busy learning Grav, modifying my template, etc.&lt;/p&gt;</description></item><item><title>Do NOT update Parallels Desktop Lite - it's no longer free</title><link>https://myByways.com/post/do-not-update-parallels-desktop-lite/</link><pubDate>Tue, 22 Jan 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/do-not-update-parallels-desktop-lite/</guid><description>&lt;p&gt;If, like me, you use &lt;strong&gt;Parallels Desktop Lite&lt;/strong&gt;, then I have bad news for you. It&amp;rsquo;s no longer free to run macOS or Linux, so DON&amp;rsquo;T update it if you still want to use it!&lt;/p&gt;</description></item><item><title>How to remove a background service in macOS</title><link>https://myByways.com/post/how-to-remove-a-background-service-in-macos/</link><pubDate>Fri, 11 Jan 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/how-to-remove-a-background-service-in-macos/</guid><description>&lt;p&gt;Want to remove macOS services (a.k.a. daemons)?&lt;/p&gt;</description></item><item><title>Launch an application from a keyboard shortcut</title><link>https://myByways.com/post/launch-an-application-from-a-keyboard-shortcut/</link><pubDate>Wed, 09 Jan 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/launch-an-application-from-a-keyboard-shortcut/</guid><description>&lt;p&gt;Recently, I posted about my &lt;a href="https://pqrs.org/osx/karabiner" rel="external"&gt;Karabiner-Elements&lt;/a&gt; &lt;strong&gt;Complex Modification&lt;/strong&gt; Rule to map a key to &lt;strong&gt;Escape&lt;/strong&gt;. Here, I make a small tweak to use it to launch an application too!&lt;/p&gt;</description></item><item><title>Windows Permission Problems Copying From NTFS HDD</title><link>https://myByways.com/post/windows-permission-problems-copying-from-ntfs-hdd/</link><pubDate>Wed, 26 Dec 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/windows-permission-problems-copying-from-ntfs-hdd/</guid><description>&lt;p&gt;Today I tried to copy files and folders off a USB hard disk (NTFS formatted) on my Windows 7 desktop. I encountered multiple files with permission problems. The manual method to change permissions is very tedious, so I created a script (DOS batch file) to do the same.&lt;/p&gt;</description></item><item><title>Enabling Apache and PHP7 on macOS Mojave 10.14</title><link>https://myByways.com/post/enabling-apache-and-php7-on-macos-mojave-10-14/</link><pubDate>Wed, 19 Dec 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/enabling-apache-and-php7-on-macos-mojave-10-14/</guid><description>&lt;p&gt;As in my previous guides for &lt;a href="https://myByways.com/post/reenable-apache-and-php-after-macos-sierra-update"&gt;enabling Apache and PHP on Sierra 10.12&lt;/a&gt; and &lt;a href="https://myByways.com/post/enabling-apache-and-php-on-osx-1011"&gt;El Capitan 10.11 before that&lt;/a&gt;, this post will update the instructions for &lt;strong&gt;macOS Mojave 10.14.2&lt;/strong&gt; which comes with &lt;strong&gt;Apache 2.4.34&lt;/strong&gt; and &lt;strong&gt;PHP 7.1.19&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Mapping a Physical Escape Key on a MacBook Pro with Touch Bar</title><link>https://myByways.com/post/mapping-a-physical-escape-key-on-a-macbook-pro-with-touch-bar/</link><pubDate>Tue, 18 Dec 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/mapping-a-physical-escape-key-on-a-macbook-pro-with-touch-bar/</guid><description>&lt;p&gt;So you miss the physical &lt;strong&gt;Escape&lt;/strong&gt; key on your brand new &lt;strong&gt;MacBook Pro with Touch Bar&lt;/strong&gt;? Here&amp;rsquo;s my fix to re-map a seldom used key to &lt;strong&gt;Escape&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Mojave's Screenshot.App and the previous "Dark Menu Bar and Dock" feature</title><link>https://myByways.com/post/mojaves-screenshot-app-and-the-previous-dark-menu-bar-and-dock-feature/</link><pubDate>Mon, 19 Nov 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/mojaves-screenshot-app-and-the-previous-dark-menu-bar-and-dock-feature/</guid><description>&lt;p&gt;I know this is very late, but I wanted to post two things I noticed with macOS Mojave regarding the new &lt;strong&gt;Screenshot.App&lt;/strong&gt; tool and &lt;strong&gt;Dark Mode&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Installing Mojave in Parallels, and UI glitches running Electron Apps</title><link>https://myByways.com/post/mojave-in-parallels-and-electron-apps-with-ui-glitches/</link><pubDate>Sun, 18 Nov 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/mojave-in-parallels-and-electron-apps-with-ui-glitches/</guid><description>&lt;p&gt;I got macOS Mojave 10.14 / 10.14.1 installed in &lt;strong&gt;Parallels&lt;/strong&gt; very easily! But encountered some graphics issues with certain apps&amp;hellip; and managed to find a workaround.&lt;/p&gt;</description></item><item><title>Compressing PDF Images with macOS</title><link>https://myByways.com/post/compressing-pdf-images-with-macos/</link><pubDate>Mon, 17 Sep 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/compressing-pdf-images-with-macos/</guid><description>&lt;p&gt;Did you know you can (sometimes) shrink the size PDF files by apply &lt;strong&gt;lossy compression&lt;/strong&gt; to images? This is a built-in capability with macOS - no third party tools required. Read on&amp;hellip;&lt;/p&gt;</description></item><item><title>Batch file to list deleted files</title><link>https://myByways.com/post/batch-file-to-list-deleted-files/</link><pubDate>Thu, 12 Jul 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/batch-file-to-list-deleted-files/</guid><description>&lt;p&gt;Well, it turns out that after creating a &lt;a href="https://myByways.com/post/powershell-to-list-deleted-files"&gt;PowerShell script to list deleted files&lt;/a&gt; (part 1) and another &lt;a href="https://myByways.com/post/powershell-to-monitor-for-deleted-renamed-or-moved-files"&gt;PowerShell script to monitor for deleted, renamed or moved files&lt;/a&gt; (part 2), I&amp;rsquo;ve decided to revert to a simple, batch file instead because running a &lt;strong&gt;batch file&lt;/strong&gt; is so much easier than &lt;strong&gt;PowerShell&lt;/strong&gt;!&lt;/p&gt;</description></item><item><title>PowerShell to monitor for deleted, renamed or moved files (part 2)</title><link>https://myByways.com/post/powershell-to-monitor-for-deleted-renamed-or-moved-files/</link><pubDate>Sun, 17 Jun 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/powershell-to-monitor-for-deleted-renamed-or-moved-files/</guid><description>&lt;p&gt;This is part 2, of my attempt to &amp;ldquo;sync&amp;rdquo; photos I deleted on my desktop to my SD card (you can &lt;a href="https://myByways.com/post/powershell-to-list-deleted-files"&gt;read part 1 first&lt;/a&gt;). In this post, I try to use &lt;strong&gt;PowerShell&lt;/strong&gt; with .NET framework to (try) monitor for file system changes, and output to a batch file that &amp;ldquo;replicates&amp;rdquo; the &lt;code&gt;ren&lt;/code&gt; (rename) and &lt;code&gt;del&lt;/code&gt; (delete) to files and folders.&lt;/p&gt;</description></item><item><title>PowerShell to list deleted files (part 1)</title><link>https://myByways.com/post/powershell-to-list-deleted-files/</link><pubDate>Sat, 16 Jun 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/powershell-to-list-deleted-files/</guid><description>&lt;p&gt;I have an unusual workflow when copying photos from my camera&amp;rsquo;s SD card to my Windows desktop. For any photos I my desktop, I want to also delete on the SD card. In this post (part 1 of 2), I describe my &lt;strong&gt;PowerShell&lt;/strong&gt; script to &amp;ldquo;repeat&amp;rdquo; what I deleted on the desktop on the SD card. In &lt;a href="https://myByways.com/post/powershell-to-monitor-for-deleted-renamed-or-moved-files"&gt;my next post, part 2&lt;/a&gt;, I expand the &lt;strong&gt;PowerShell&lt;/strong&gt; script to (try) monitor for file system changes instead.&lt;/p&gt;</description></item><item><title>Fujifilm X-E3 customization table</title><link>https://myByways.com/post/fujifilm-x-e3-customization-table/</link><pubDate>Fri, 15 Jun 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fujifilm-x-e3-customization-table/</guid><description>&lt;p&gt;I recently bought a &lt;a href="https://www.dpreview.com/reviews/fujifilm-x-e3-review" rel="external"&gt;Fujifilm X-E3&lt;/a&gt; interchangeable lens camera to &amp;ldquo;replace&amp;rdquo; my &lt;a href="https://www.dpreview.com/reviews/sony-alpha-nex-6" rel="external"&gt;Sony NEX-6&lt;/a&gt; (links to DPReview). I&amp;rsquo;m very happy with the camera and impressed at the plethora of customization options. Here is a table I created to familiarize myself&amp;hellip; obviously I like tables!&lt;/p&gt;</description></item><item><title>Chart.js - it's easy!</title><link>https://myByways.com/post/chart-js-its-easy/</link><pubDate>Sun, 20 May 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/chart-js-its-easy/</guid><description>&lt;p&gt;In &lt;a href="https://myByways.com/post/crunch-png-optimization"&gt;my post yesterday&lt;/a&gt;, I inserted a chart using &lt;a href="http://www.chartjs.org/" rel="external"&gt;Chart.js&lt;/a&gt;. I didn&amp;rsquo;t plan to, but after 5 minutes reading the documentation, I was convinced to try - and it turned out to be easy! Here&amp;rsquo;s how it&amp;rsquo;s done.&lt;/p&gt;</description></item><item><title>A bash script to search a CSV file</title><link>https://myByways.com/post/bash_script_to_search_csv_file/</link><pubDate>Sat, 19 May 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/bash_script_to_search_csv_file/</guid><description>&lt;p&gt;I sometimes need to search a huge CSV file (13 MB), containing 21,000 rows and roundabout 40 columns, which &lt;strong&gt;Numbers&lt;/strong&gt; takes half a minute to open. All I need to do is search and display the results of a few columns only&amp;hellip; so I wrote a &lt;strong&gt;bash&lt;/strong&gt; script to do this for me - and I was quite specific in that I wanted the results in &lt;strong&gt;color!&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Crunch PNG optimization</title><link>https://myByways.com/post/crunch-png-optimization/</link><pubDate>Sat, 19 May 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/crunch-png-optimization/</guid><description>&lt;p&gt;I recently tried &lt;a href="https://github.com/chrissimpkins/Crunch" rel="external"&gt;Crunch&lt;/a&gt;, an open-source tool for PNG image file optimization, currently on version 2.0.2 at the time of writing.&lt;/p&gt;</description></item><item><title>Grav with PHP 5.6 ini_set() fix</title><link>https://myByways.com/post/grav-with-php-5-6-ini_set-fix/</link><pubDate>Sun, 01 Apr 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/grav-with-php-5-6-ini_set-fix/</guid><description>&lt;p&gt;On my hosting provider, there is a slight tweak needed to get &lt;a href="http://getgrav.org/" rel="external"&gt;Grav&lt;/a&gt; to run on &lt;strong&gt;PHP 5.6&lt;/strong&gt;. Here&amp;rsquo;s the solution:&lt;/p&gt;</description></item><item><title>iOS 11.3 and Accessibility customization on my iPhone 6</title><link>https://myByways.com/post/ios-11-3-and-accessibility-cusomization-on-my-iphone-6/</link><pubDate>Sat, 31 Mar 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ios-11-3-and-accessibility-cusomization-on-my-iphone-6/</guid><description>&lt;p&gt;I had put off updating my iPhone 6 to &lt;strong&gt;iOS 11&lt;/strong&gt;, primarily due to the poor performance reported by Netizens. But, with the release of iOS 11.3 - reported to be focused on improving performance, and more transparent power management (throttling) - I decided to go ahead!&lt;/p&gt;</description></item><item><title>Using an exFAT drive for Time Machine backups</title><link>https://myByways.com/post/using-an-exfat-drive-for-time-machine-backups/</link><pubDate>Thu, 22 Mar 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/using-an-exfat-drive-for-time-machine-backups/</guid><description>&lt;p&gt;I got a new 2 TB external disk - &lt;em&gt;&amp;ldquo;yay&amp;rdquo;&lt;/em&gt; - and wanted to use it for both on my Windows desktop and for &lt;strong&gt;Time Machine&lt;/strong&gt; backups. Immediately thought to format it as &lt;a href="https://en.wikipedia.org/wiki/ExFAT" rel="external"&gt;exFAT&lt;/a&gt; but quickly came to realize Time Machine does not support exFAT! Fortunately, there is a workaround&amp;hellip;&lt;/p&gt;</description></item><item><title>Fixing PowerPoint Slide Show on External Monitor</title><link>https://myByways.com/post/fixing-powerpoint-slide-show-on-external-monitor/</link><pubDate>Sat, 27 Jan 2018 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fixing-powerpoint-slide-show-on-external-monitor/</guid><description>&lt;p&gt;I&amp;rsquo;ve been experiencing this problem for a while - when presenting using &lt;strong&gt;Microsoft PowerPoint for Mac 2016&lt;/strong&gt; (version 15) on an external monitor (or LCD projector), PowerPoint used to both the presentation slide show &lt;em&gt;and&lt;/em&gt; the &lt;strong&gt;Presenter View&lt;/strong&gt; on my notebook display, instead of &lt;strong&gt;Presenter View&lt;/strong&gt; on the notebook and the full-screen slide show on the external monitor. Recently, I found the solution!&lt;/p&gt;</description></item><item><title>Converting JSON into CSV</title><link>https://myByways.com/post/converting-json-into-csv/</link><pubDate>Fri, 29 Dec 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/converting-json-into-csv/</guid><description>&lt;p&gt;Recently I needed to analyze some JSON data. Now, I&amp;rsquo;m no data scientist, so I wanted to convert my JSON data to comma separated (CSV) and &amp;ldquo;flatten&amp;rdquo; the data&amp;hellip; just so I could use the data in &lt;strong&gt;Excel&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;And Merry Christmas and Happy New Year!&lt;/p&gt;</description></item><item><title>Installing High Sierra in a Parallels VM</title><link>https://myByways.com/post/installing-high-sierra-in-a-parallels-vm/</link><pubDate>Fri, 20 Oct 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/installing-high-sierra-in-a-parallels-vm/</guid><description>&lt;p&gt;When &lt;strong&gt;macOS High Sierra&lt;/strong&gt; was released around 25&lt;sup&gt;th&lt;/sup&gt; September, I tried to install it in &lt;a href="https://itunes.apple.com/app/parallels-desktop-lite/id1085114709" rel="external"&gt;Parallels Desktop Lite&lt;/a&gt;. However, both a clean install in a Parallels Virtual Machine (VM), nor an in-place update did not work (the High Sierra VM would refuse to boot). I discovered the High Sierra installer converts the VM file system to &lt;a href="https://en.wikipedia.org/wiki/Apple_File_System" rel="external"&gt;Apple File System (APFS)&lt;/a&gt;. However, Parallels does not support APFS, so here&amp;rsquo;s how to disable the conversion and get High Sierra running in a Parallels.&lt;/p&gt;</description></item><item><title>iOS 11 "likes" and "not likes"</title><link>https://myByways.com/post/ios-11-likes-and-not-likes/</link><pubDate>Wed, 27 Sep 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ios-11-likes-and-not-likes/</guid><description>&lt;p&gt;I admit, my title is misleading. This is a list of mostly &lt;svg class="icon is-small"&gt;&lt;use xlink:href="#thumbs-down"/&gt;&lt;/svg&gt; &amp;ldquo;not likes&amp;rdquo; with &lt;strong&gt;iOS 11&lt;/strong&gt;. Why few &amp;ldquo;likes&amp;rdquo;? Because there is enough written elsewhere singing the praises of iOS 11 and detailing &amp;ldquo;what&amp;rsquo;s new&amp;rdquo;. Maybe my dislikes will help you decide if (when) you want to upgrade&amp;hellip;&lt;/p&gt;</description></item><item><title>Verse contacts missing and sync not working in iOS 11</title><link>https://myByways.com/post/verse-contacts-missing-and-not-syncing-with-ios-11/</link><pubDate>Tue, 26 Sep 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/verse-contacts-missing-and-not-syncing-with-ios-11/</guid><description>&lt;p&gt;I upgraded my iPad to &lt;strong&gt;iOS 11.0.0&lt;/strong&gt; last night - and this morning realized that my &lt;strong&gt;IBM Verse&lt;/strong&gt; contacts had &lt;strong&gt;disappeared from my iPhone&lt;/strong&gt;! I didn&amp;rsquo;t update my iPhone, nor did I make any changes of significance lately. Most upsetting! Here&amp;rsquo;s a guide to restoring your contacts.&lt;/p&gt;</description></item><item><title>Convert SVG to PNG using your browser</title><link>https://myByways.com/post/convert-svg-to-png-using-your-browser/</link><pubDate>Sat, 23 Sep 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/convert-svg-to-png-using-your-browser/</guid><description>&lt;p&gt;Lots of web pages now rely on &lt;strong&gt;SVG&lt;/strong&gt; instead of &lt;strong&gt;PNG&lt;/strong&gt; or &lt;strong&gt;JPG&lt;/strong&gt; images. SVG stands for &lt;a href="https://en.wikipedia.org/wiki/SVG" rel="external"&gt;Scalable Vector Graphics&lt;/a&gt;, an XML-based vector image format that scales well, unlike bitmap images (bitmaps become pixelated when up-sized). I recently wanted a quick way to convert a SVG to PNG, and discovered modern browsers (read: &lt;strong&gt;Chrome&lt;/strong&gt; and &lt;strong&gt;Firefox&lt;/strong&gt;) can do this with a simple bit of code.&lt;/p&gt;</description></item><item><title>Fixing PowerPoint TIFF images and fonts</title><link>https://myByways.com/post/fixing-powerpoint-tiff-images-and-fonts/</link><pubDate>Fri, 25 Aug 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/fixing-powerpoint-tiff-images-and-fonts/</guid><description>&lt;p&gt;&lt;strong&gt;Microsoft PowerPoint 2016 for Mac&lt;/strong&gt; (aka version 15) has a strange quirk - when I copy and paste images from &lt;strong&gt;Preview&lt;/strong&gt; or most other applications, the image gets copied in &lt;a href="https://en.wikipedia.org/wiki/TIFF" rel="external"&gt;Tagged Image File Format (TIFF)&lt;/a&gt;. The image is practically uncompressed (or possibly minimally compressed), resulting in very, very huge PPTX files! &lt;strong&gt;Plus:&lt;/strong&gt; Removing unwanted font references.&lt;/p&gt;</description></item><item><title>Text Manipulation Cheat Sheet</title><link>https://myByways.com/post/text-manipulation-cheat-sheet/</link><pubDate>Mon, 26 Jun 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/text-manipulation-cheat-sheet/</guid><description>&lt;p&gt;I recently had the &amp;ldquo;opportunity&amp;rdquo; to perform some text manipulation to get data from a huge log file into a spreadsheet. I had done this sort of work a long time ago as a developer, but had forgotten over the years. So I decided to compile a &lt;strong&gt;text manipulation cheat-sheet&lt;/strong&gt; for macOS.&lt;/p&gt;</description></item><item><title>Installing MySQL on macOS</title><link>https://myByways.com/post/installing-mysql-on-macos/</link><pubDate>Sun, 18 Jun 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/installing-mysql-on-macos/</guid><description>&lt;p&gt;There are many open source packages that require the &lt;a href="https://en.wikipedia.org/wiki/List_of_Apache%e2%80%93MySQL%e2%80%93PHP_packages" rel="external"&gt;&amp;ldquo;AMP&amp;rdquo; stack&lt;/a&gt; comprising Apache, MySQL and PHP (hence &amp;ldquo;WAMP&amp;rdquo; for Windows-Apache-MySQL-PHP and &amp;ldquo;MAMP&amp;rdquo; for macOS-Apache-MySQL-PHP). Since macOS 10.12 Sierra already includes &lt;strong&gt;Apache&lt;/strong&gt; 2.4 and &lt;strong&gt;PHP&lt;/strong&gt; 5.6, here&amp;rsquo;s how to add &lt;strong&gt;MySQL 5.7&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>macOS launchd Service Management</title><link>https://myByways.com/post/macos-launchd-service-management/</link><pubDate>Thu, 15 Jun 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/macos-launchd-service-management/</guid><description>&lt;p&gt;Some time ago, I posted about &lt;a href="https://myByways.com/post/reenable-apache-and-php-after-macos-sierra-update"&gt;starting Apache automatically when macOS 10.12 Sierra starts&lt;/a&gt;, using the &lt;code&gt;launchctl&lt;/code&gt; command to add Apache to the &lt;code&gt;launchd&lt;/code&gt; &lt;strong&gt;Launch Daemon/Agent Manager&lt;/strong&gt;. For those familiar with Windows, this is akin to managing &lt;strong&gt;Windows Services&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Automated script to compile Wine 2.9 from scratch</title><link>https://myByways.com/post/automated-script-to-compile-wine-2-9-from-scratch/</link><pubDate>Sun, 28 May 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/automated-script-to-compile-wine-2-9-from-scratch/</guid><description>&lt;p&gt;Following up on my posts, &lt;a href="https://myByways.com/post/compiling-wine-from-scratch-on-macos-with-retina-mode"&gt;Compiling Wine 1.9 from scratch on macOS with Retina mode&lt;/a&gt; and &lt;a href="https://myByways.com/post/creating-a-wine-app-bundle-manually"&gt;Creating a wine.app bundle manually&lt;/a&gt;, here&amp;rsquo;s my script to automatically download and compile pre-requisite libraries, then download and compile &lt;strong&gt;Wine 2.9 32-bit&lt;/strong&gt;, build the &lt;strong&gt;.app&lt;/strong&gt; bundle, and even include a registry tweak to enable &lt;strong&gt;Retina Mode&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Further ways to lockdown apps like Kodi and VLC</title><link>https://myByways.com/post/further-ways-to-lockdown-apps-like-kodi-and-vlc/</link><pubDate>Fri, 26 May 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/further-ways-to-lockdown-apps-like-kodi-and-vlc/</guid><description>&lt;p&gt;You have have read that &lt;a href="http://blog.checkpoint.com/2017/05/23/hacked-in-translation/" rel="external"&gt;CheckPoint&lt;/a&gt;, a cyber security research company, has identified vulnerabilities that may allow an attacker to compromise your computer using malicious subtitle files downloaded by popular media players including Kodi and VLC. It&amp;rsquo;s not clear if this affects macOS too, but in light of this threat, here is a summary of how I further &lt;em&gt;&amp;ldquo;lockdown&amp;rdquo;&lt;/em&gt; any apps I&amp;rsquo;m unsure of&amp;hellip;&lt;/p&gt;</description></item><item><title>Verifying downloads with a SHA-256 checksum</title><link>https://myByways.com/post/verifying-downloads-with-a-sha-256-checksum/</link><pubDate>Wed, 24 May 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/verifying-downloads-with-a-sha-256-checksum/</guid><description>&lt;p&gt;I recently downloaded an update to &lt;a href="http://www.videolan.org/" rel="external"&gt;VLC&lt;/a&gt;, an open-source media player. The VLC download page, displayed it&amp;rsquo;s &lt;strong&gt;SHA-256&lt;/strong&gt; checksum - here&amp;rsquo;s how to quickly validate your download by comparing the checksum using the built-in macOS tools.&lt;/p&gt;</description></item><item><title>Setting printer defaults in macOS CUPS</title><link>https://myByways.com/post/setting-printer-defaults-in-macos-cups/</link><pubDate>Tue, 23 May 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/setting-printer-defaults-in-macos-cups/</guid><description>&lt;p&gt;I have experienced a couple of issues printing with the Ricoh printer drivers for macOS - at one location, I &lt;a href="https://myByways.com/post/ricoh-aficio-mp-driver-does-not-work-on-os-x"&gt;simply couldn&amp;rsquo;t print&lt;/a&gt;, and at another, I couldn&amp;rsquo;t get it to print &amp;ldquo;two-sided&amp;rdquo; (despite the correct duplex settings). In both cases, I reverted to the standard macOS driver, i.e. &lt;strong&gt;&amp;ldquo;Generic PostScript Printer&amp;rdquo;&lt;/strong&gt; or &lt;strong&gt;&amp;ldquo;Generic PCL Laser Printer&amp;rdquo;&lt;/strong&gt;. This post details the steps to set printer defaults like duplex via CUPS.&lt;/p&gt;</description></item><item><title>Workaround for YouTube PiP using iOS Safari with a Workflow.is Action Extension</title><link>https://myByways.com/post/workaround-for-youtube-pip-using-ios-safari-with-a-workflow-is-action-extension/</link><pubDate>Sat, 29 Apr 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/workaround-for-youtube-pip-using-ios-safari-with-a-workflow-is-action-extension/</guid><description>&lt;p&gt;It&amp;rsquo;s pretty easy to get &lt;strong&gt;Picture in Picture (PiP)&lt;/strong&gt; in Safari on &lt;strong&gt;macOS&lt;/strong&gt; - just a right-click twice - and if that didn&amp;rsquo;t work, I described simple workaround by &lt;a href="https://myByways.com/post/disable_javascript_to_enable_picture-in-picture_on_macos_safari"&gt;disabling JavaScript&lt;/a&gt;. Here I have a &lt;a href="http://workflow.is/" rel="external"&gt;Workflow.is App&lt;/a&gt; based workaround to enable PiP in &lt;strong&gt;YouTube&lt;/strong&gt; in Safari on &lt;strong&gt;iOS&lt;/strong&gt;. This allows me to surf (or work) while having a video running in a tiny floating window on my iPad.&lt;/p&gt;</description></item><item><title>Setup a virtual macOS with Parallels Desktop Lite</title><link>https://myByways.com/post/setup-a-virtual-macos-with-parallels-desktop-lite/</link><pubDate>Mon, 24 Apr 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/setup-a-virtual-macos-with-parallels-desktop-lite/</guid><description>&lt;p&gt;If you are a developer or someone who likes to try lots of software, head over to the App Store and get &lt;a href="https://itunes.apple.com/app/parallels-desktop-lite/id1085114709" rel="external"&gt;Parallels Desktop Lite&lt;/a&gt;. It&amp;rsquo;s free for &lt;strong&gt;macOS&lt;/strong&gt; and &lt;strong&gt;Linux&lt;/strong&gt; guests! (Windows support is an IAP)&lt;/p&gt;</description></item><item><title>Workflow is a great start to learning to code</title><link>https://myByways.com/post/workflow-is-a-great-start-to-learning-to-code/</link><pubDate>Sun, 23 Apr 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/workflow-is-a-great-start-to-learning-to-code/</guid><description>&lt;p&gt;&lt;a href="http://fortune.com/2016/08/05/jeff-immelt-new-hire-coding/" rel="external"&gt;In August 2016, GE&amp;rsquo;s CEO said he wanted every new hire to learn to code&lt;/a&gt;. And I must say, I do agree! In today&amp;rsquo;s digital, data-driven, self-service world, everyone should learn to code. But, to clarify, I&amp;rsquo;m not necessarily referring to programming in C# or Swift (like I do), but rather &amp;ldquo;coding&amp;rdquo; for automation.&lt;/p&gt;</description></item><item><title>macOS FileVault and Sierra Update get stuck when running concurrently</title><link>https://myByways.com/post/macos-filevault-and-sierra-update-get-stuck-when-running-concurrently/</link><pubDate>Sat, 22 Apr 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/macos-filevault-and-sierra-update-get-stuck-when-running-concurrently/</guid><description>&lt;p&gt;So I got a new MacBook for work and I didn&amp;rsquo;t realize upon next reboot, the enterprise profile had mandated &lt;strong&gt;FileVault&lt;/strong&gt; encrypt the start up disk, and Apple had recommended an upgrade to macOS Sierra at the same time! You can imagine triggering both simultaneously upon reboot didn&amp;rsquo;t go well at all!&lt;/p&gt;</description></item><item><title>Using Google Maps in Workflow</title><link>https://myByways.com/post/using-google-maps-in-workflow/</link><pubDate>Mon, 10 Apr 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/using-google-maps-in-workflow/</guid><description>&lt;p&gt;By now you have realized that the latest version of the &lt;a href="http://workflow.is" rel="external"&gt;Workflow App&lt;/a&gt; no longer has deep integration to &lt;strong&gt;Google Maps&lt;/strong&gt;. That&amp;rsquo;s not too big a deal, since you can make do with the Workflow &lt;kbd&gt;Open URLs&lt;/kbd&gt; function. Here&amp;rsquo;s how&amp;hellip;&lt;/p&gt;</description></item><item><title>New iCloud Settings in iOS 10.3 fixes iCloud for Numbers</title><link>https://myByways.com/post/new-icloud-settings-in-ios-10-3-fixes-icloud-for-numbers/</link><pubDate>Sun, 09 Apr 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/new-icloud-settings-in-ios-10-3-fixes-icloud-for-numbers/</guid><description>&lt;p&gt;Apple has noted that a number of users may experience an issue with iCloud setting being &lt;em&gt;enabled&lt;/em&gt; after upgrading to iOS 10.3. For me, I had quite the opposite experience, as iOS 10.3 finally &lt;strong&gt;enabled&lt;/strong&gt; some iCloud applications that I had never gotten working for a long time!&lt;/p&gt;</description></item><item><title>Workflow Action to add cheap IDD call prefix</title><link>https://myByways.com/post/workflow-action-to-add-cheap-idd-call-prefix/</link><pubDate>Sun, 09 Apr 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/workflow-action-to-add-cheap-idd-call-prefix/</guid><description>&lt;p&gt;Does your service provider differentiate between standard or &lt;em&gt;&amp;ldquo;premium&amp;rdquo;&lt;/em&gt; IDD and &lt;em&gt;&amp;ldquo;budget&amp;rdquo;&lt;/em&gt; IDD like mine does? Typically, the standard &lt;code&gt;+&lt;/code&gt; international call prefix will default to the premium option, but to use the the cheaper option, usually via voice-over-IP (VoIP), one has to specific a different carrier-defined prefix, e.g. 12300 (I just made this up, check with your telco). I can&amp;rsquo;t find a built-in way to do this on iOS&amp;hellip; enter the &lt;a href="http://workflow.is" rel="external"&gt;Workflow App&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Numbers has a new STOCK trick</title><link>https://myByways.com/post/numbers-has-a-new-stock-trick/</link><pubDate>Tue, 28 Mar 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/numbers-has-a-new-stock-trick/</guid><description>&lt;p&gt;Remember the time I waxed lyrical about using &lt;a href="https://myByways.com/post/stock-portfolio-tracking-with-google-sheets"&gt;Google Sheets to track my stock portfolio&lt;/a&gt;? Well, it&amp;rsquo;s going to be a &amp;ldquo;standard feature&amp;rdquo; of spreadsheets soon, with the introduction of the capability to retrieve stock data with today&amp;rsquo;s update of &lt;strong&gt;Numbers&lt;/strong&gt; on iOS (3.1) and macOS (4.1).&lt;/p&gt;</description></item><item><title>Retrieving an Exchange Rate with Workflow</title><link>https://myByways.com/post/retrieving-an-exchange-rate-with-workflow/</link><pubDate>Tue, 28 Mar 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/retrieving-an-exchange-rate-with-workflow/</guid><description>&lt;p&gt;Here&amp;rsquo;s how to retrieve and display the latest exchange rate for two currencies with the &lt;strong&gt;Workflow&lt;/strong&gt; App (though one could just &lt;a href="https://myByways.com/post/numbers-has-a-new-stock-trick"&gt;use Numbers on iOS or macOS too&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>Scanning a Contact via QR Code using Workflow</title><link>https://myByways.com/post/scanning-a-contact-via-qr-code-using-workflow/</link><pubDate>Mon, 27 Mar 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/scanning-a-contact-via-qr-code-using-workflow/</guid><description>&lt;p&gt;I&amp;rsquo;ve been playing with the &lt;a href="http://workflow.is" rel="external"&gt;Workflow.is&lt;/a&gt; App recently, and this one is pretty cool - using &lt;strong&gt;Workflow&lt;/strong&gt; to scan and generate a &lt;strong&gt;QR Code&lt;/strong&gt; with Contact information.&lt;/p&gt;</description></item><item><title>iOS Dictionary Lookup via Workflow App</title><link>https://myByways.com/post/dictionary-definitions-via-workflow-app/</link><pubDate>Sun, 26 Mar 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/dictionary-definitions-via-workflow-app/</guid><description>&lt;p&gt;I love that iOS includes the &lt;strong&gt;Oxford Dictionary&lt;/strong&gt;. I dislike that iOS has not provided a simple way for me to lookup a word, unlike on macOS, which has &lt;strong&gt;Dictionary&lt;/strong&gt;. Here&amp;rsquo;s the fix with the &lt;a href="http://workflow.is" rel="external"&gt;Workflow.is&lt;/a&gt; app!&lt;/p&gt;</description></item><item><title>Using Workflow App to Track Travel Expenses</title><link>https://myByways.com/post/using-workflow-app-to-track-travel-expenses/</link><pubDate>Thu, 23 Mar 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/using-workflow-app-to-track-travel-expenses/</guid><description>&lt;p&gt;&lt;a href="https://techcrunch.com/2017/03/22/apple-has-acquired-workflow-a-powerful-automation-tool-for-ipad-and-iphone/" rel="external"&gt;Apple acquired Workflow&lt;/a&gt; today, and &lt;a href="https://itunes.apple.com/app/workflow-powerful-automation-made-simple/id915249334" rel="external"&gt;Workflow is now free in the App Store!&lt;/a&gt; &lt;strong&gt;Workflow&lt;/strong&gt; (&lt;a href="http://workflow.is" rel="external"&gt;http://workflow.is&lt;/a&gt;)is a powerful yet simple rule-based automation tool. One pre-built workflow is to lookup your next calendar meeting, retrieve the location if there is one, and pop up directions in Maps - all this from a single button click.&lt;/p&gt;
&lt;p&gt;If you are new to &lt;strong&gt;Workflow&lt;/strong&gt;, here is a short tutorial to use Workflow to track travel expenses.&lt;/p&gt;</description></item><item><title>Creating a macOS Sandbox to run Kodi</title><link>https://myByways.com/post/creating-a-macos-sandbox-to-run-kodi/</link><pubDate>Mon, 30 Jan 2017 00:00:00 +0000</pubDate><guid>https://myByways.com/post/creating-a-macos-sandbox-to-run-kodi/</guid><description>&lt;p&gt;Since 2012, all apps on the Mac App Store must run in an &lt;a href="https://developer.apple.com/app-sandboxing/" rel="external"&gt;app sandbox&lt;/a&gt;, which restricts access to system resources unless &lt;strong&gt;explicitly&lt;/strong&gt; required. The secure sandbox isolates the app and defines access controls, protecting users from malicious code with undesired behaviour.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s how to setup a sandbox for an app downloaded from outside the Mac App Store.&lt;/p&gt;</description></item><item><title>Legacy HP computer info</title><link>https://myByways.com/post/legacy-hp-computer-info/</link><pubDate>Sat, 31 Dec 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/legacy-hp-computer-info/</guid><description>&lt;p&gt;It&amp;rsquo;s the last day of 2016&amp;hellip; Time for a bit of nostalgia! Over the years, I posted bits and pieces on Blogger, myByways.net (Microsoft), Google Pages and others. For posterity, I&amp;rsquo;ve transferred selected information about a HP notebook and desktop I used to have, but I doubt any of this information is relevant any more.&lt;/p&gt;</description></item><item><title>Extract files from a macOS installer .pkg</title><link>https://myByways.com/post/extract-files-from-a-macos-installer-pkg/</link><pubDate>Sun, 06 Nov 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/extract-files-from-a-macos-installer-pkg/</guid><description>&lt;p&gt;Want to extract files from a macOS installer package with a &lt;code&gt;.pkg&lt;/code&gt; extension?&lt;/p&gt;</description></item><item><title>Problem compiling Wine second time around</title><link>https://myByways.com/post/problem-compiling-wine-second-time-around/</link><pubDate>Sun, 30 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/problem-compiling-wine-second-time-around/</guid><description>&lt;p&gt;&lt;strong&gt;Wine 1.9.22 development&lt;/strong&gt; (dated Oct 28, 2016) has been released! See the &lt;a href="https://www.winehq.org/announce/1.9.22" rel="external"&gt;release notes&lt;/a&gt; for changes. Alas, I encountered errors trying to compile it &amp;ldquo;on top&amp;rdquo; of the Wine 1.9.21 installation, following the steps from my post &lt;a href="https://myByways.com/post/compiling-wine-from-scratch-on-macos-with-retina-mode"&gt;Compiling Wine from scratch&lt;/a&gt;. I spent a whole day searching for the problem, and resolved it as below.&lt;/p&gt;</description></item><item><title>Creating a wine.app bundle manually</title><link>https://myByways.com/post/creating-a-wine-app-bundle-manually/</link><pubDate>Wed, 26 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/creating-a-wine-app-bundle-manually/</guid><description>&lt;p&gt;So a couple of days ago, I documented how I &lt;a href="https://myByways.com/post/compiling-wine-from-scratch-on-macos-with-retina-mode"&gt;compiled Wine 1.9.21 with Retina Mode from scratch on macOS Sierra&lt;/a&gt;. After that I though I might as well figure out how to bundle all these files into a &lt;code&gt;.app&lt;/code&gt; &lt;a href="https://developer.apple.com/library/content/documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html" rel="external"&gt;bundle&lt;/a&gt;, which &lt;strong&gt;Finder&lt;/strong&gt; presents as if it were a single file.&lt;/p&gt;</description></item><item><title>Compiling Wine 1.9 from scratch on macOS with Retina mode</title><link>https://myByways.com/post/compiling-wine-from-scratch-on-macos-with-retina-mode/</link><pubDate>Fri, 21 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/compiling-wine-from-scratch-on-macos-with-retina-mode/</guid><description>&lt;p&gt;I have been using &lt;a href="http://winebottler.kronenberg.org" rel="external"&gt;WineBottler&lt;/a&gt; to run my favorite &lt;strong&gt;Windows&lt;/strong&gt; applications in &lt;strong&gt;macOS&lt;/strong&gt;. Here, I describe how I compiled &lt;a href="http://winehq.org" rel="external"&gt;Wine&lt;/a&gt; from scratch and configure for my MacBook Pro&amp;rsquo;s &lt;strong&gt;Retina Display&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>My list of great free apps for macOS</title><link>https://myByways.com/post/my-list-of-great-free-apps-for-macos/</link><pubDate>Sat, 15 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-list-of-great-free-apps-for-macos/</guid><description>&lt;p&gt;Here is my list of &lt;strong&gt;free&lt;/strong&gt;, macOS apps that I have installed and use often. Many are also &lt;strong&gt;open source&lt;/strong&gt;! When I first got my Mac I searched the internet for lists of useful apps but found most outdated. I decided to compile this list as part of a cleanup and &amp;ldquo;audit&amp;rdquo; of what&amp;rsquo;s useful IMHO.&lt;/p&gt;</description></item><item><title>Exclude folders to speed up Time Machine backup</title><link>https://myByways.com/post/exclude-folders-to-speed-up-time-machine-backup/</link><pubDate>Wed, 12 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/exclude-folders-to-speed-up-time-machine-backup/</guid><description>&lt;p&gt;My &lt;strong&gt;Time Machine&lt;/strong&gt; backups have started to take longer and longer to process and complete. I realized that excluding folders containing temporary, frequently changing and large files would quite dramatically speed it up.&lt;/p&gt;</description></item><item><title>Re-enable Apache and PHP after macOS Sierra update</title><link>https://myByways.com/post/reenable-apache-and-php-after-macos-sierra-update/</link><pubDate>Wed, 12 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/reenable-apache-and-php-after-macos-sierra-update/</guid><description>&lt;p&gt;Recently I realized that the latest &lt;strong&gt;macOS Sierra 10.12&lt;/strong&gt; upgrade also updated Apache and PHP to newer revisions (2.4.23 and 5.6.24 respectively), but reverted to the default configurations. My previous post on &lt;a href="https://myByways.com/post/enabling-apache-and-php-on-osx-1011"&gt;Enabling Apache and PHP on OS X 10.11&lt;/a&gt; needed a slight change too.&lt;/p&gt;</description></item><item><title>Trying out KeeWeb and MiniKeePass password manager</title><link>https://myByways.com/post/trying-out-keeweb-and-minikeepass-password-manager/</link><pubDate>Mon, 10 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/trying-out-keeweb-and-minikeepass-password-manager/</guid><description>&lt;p&gt;I&amp;rsquo;ve been a long time iOS &lt;strong&gt;1Password&lt;/strong&gt; user, but recently started looking at alternatives. I discovered &lt;strong&gt;KeePass&lt;/strong&gt;, &lt;strong&gt;KeeWeb&lt;/strong&gt; and &lt;strong&gt;MiniKeePass&lt;/strong&gt;, all open source.&lt;/p&gt;</description></item><item><title>Streaming from desktop with NVIDIA GameStream to iOS and macOS</title><link>https://myByways.com/post/streaming-from-desktop-with-nvidia-gamestream-to-ios-and-macos/</link><pubDate>Fri, 07 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/streaming-from-desktop-with-nvidia-gamestream-to-ios-and-macos/</guid><description>&lt;p&gt;I recently discovered an alternative to remote control my Windows 7/10 desktop PC, instead of using Microsoft Remote Desktop. This method requires a computer with a modern NVIDIA graphics card with &lt;strong&gt;GameStream&lt;/strong&gt; and works with iOS and macOS using a client called &lt;strong&gt;Moonlight&lt;/strong&gt;!&lt;/p&gt;</description></item><item><title>Disable JavaScript to enable Picture-in-Picture on macOS Safari</title><link>https://myByways.com/post/disable_javascript_to_enable_picture-in-picture_on_macos_safari/</link><pubDate>Tue, 04 Oct 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/disable_javascript_to_enable_picture-in-picture_on_macos_safari/</guid><description>&lt;p&gt;Safari 10 on macOS Sierra has a useful &lt;strong&gt;Picture-in-Picture&lt;/strong&gt; (PiP) feature to playback HTML5 videos in a small &amp;ldquo;always-on-top&amp;rdquo; window, just like on iPads with iOS 9+. To activate, just right-click a playing video and select &lt;strong&gt;Enter Picture-in-Picture&lt;/strong&gt;. However, not all web videos seem to allow this, as they pop up their own menus without the PiP option. Here are two ways to try to enable PiP.&lt;/p&gt;</description></item><item><title>macOS Sierra - a half-hearted update</title><link>https://myByways.com/post/macos-sierra-a-half-hearted-update/</link><pubDate>Wed, 21 Sep 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/macos-sierra-a-half-hearted-update/</guid><description>&lt;p&gt;I&amp;rsquo;ve updated my &lt;strong&gt;MacBook&lt;/strong&gt; to &lt;strong&gt;macOS Sierra&lt;/strong&gt;, and it&amp;rsquo;s rather underwhelming and half-hearted IMHO. And yes, dear eagle-eyed reader, Apple capitalizes the &lt;em&gt;Mac&lt;/em&gt; in &lt;strong&gt;Mac&lt;/strong&gt;Book but not the &lt;em&gt;Mac&lt;/em&gt; in &lt;strong&gt;mac&lt;/strong&gt;OS - what a confusing naming (lack-of-)convention. Still, macOS is a better name than OS X (can you say OS 10 10.X instead?)&lt;/p&gt;</description></item><item><title>Horrible Spotlight "Suggestions in Look up" feature in iOS 10</title><link>https://myByways.com/post/horrible-spotlight-suggestions-in-look-up-feature-in-ios10/</link><pubDate>Thu, 15 Sep 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/horrible-spotlight-suggestions-in-look-up-feature-in-ios10/</guid><description>&lt;p&gt;I&amp;rsquo;ve stumbled on another &amp;ldquo;feature&amp;rdquo; that iOS 10 has mangled - &lt;strong&gt;Spotlight&lt;/strong&gt; &lt;strong&gt;Suggestions in Look up&lt;/strong&gt;. What does this double speak even mean? Worse, I can&amp;rsquo;t even get rid of &amp;ldquo;Look Up&amp;rdquo; and revert my beloved &amp;ldquo;Define&amp;rdquo;.&lt;/p&gt;</description></item><item><title>Triple-Click Accessibility Shortcuts with Magnifier in iOS 10</title><link>https://myByways.com/post/triple-click-accessibility-shortcuts-with-magnifier-in-ios-10/</link><pubDate>Thu, 15 Sep 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/triple-click-accessibility-shortcuts-with-magnifier-in-ios-10/</guid><description>&lt;p&gt;The &lt;strong&gt;Magnifier&lt;/strong&gt; seems like it&amp;rsquo;d be useful. Here&amp;rsquo;s how to setup the Home button Triple-click with multiple Accessibility Shortcuts and to avoid physically triple-clicking the Home button with the AssistiveTouch floating Home button.&lt;/p&gt;</description></item><item><title>iOS 10 on iPhone 6 - the cons</title><link>https://myByways.com/post/ios-10-on-iphone-6-the-cons/</link><pubDate>Wed, 14 Sep 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ios-10-on-iphone-6-the-cons/</guid><description>&lt;p&gt;I have updated to &lt;strong&gt;iOS 10&lt;/strong&gt;, and so far, I&amp;rsquo;m really not impressed, since it brings so few features that I care about that work on my iPhone 6 and in my region.&lt;/p&gt;</description></item><item><title>Enable Mac Full Keyboard Access, but beware!</title><link>https://myByways.com/post/enable-mac-full-keyboard-access-but-beware/</link><pubDate>Wed, 24 Aug 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/enable-mac-full-keyboard-access-but-beware/</guid><description>&lt;p&gt;On my Mac, by default, the keyboard cannot be used to navigate and trigger dialog box buttons. To &lt;em&gt;“fix”&lt;/em&gt; this shortcoming - enable &lt;strong&gt;Full Keyboard Access&lt;/strong&gt; to use the &lt;kbd&gt;tab&lt;/kbd&gt; key to navigate controls! But beware of downsides too&amp;hellip;&lt;/p&gt;</description></item><item><title>Ricoh Aficio MP driver does not work on OS X</title><link>https://myByways.com/post/ricoh-aficio-mp-driver-does-not-work-on-os-x/</link><pubDate>Mon, 25 Jul 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ricoh-aficio-mp-driver-does-not-work-on-os-x/</guid><description>&lt;p&gt;I was recently at an office using a Ricoh Aficio multi-function printer. I downloaded the PPD Installer version 2.2.0.0 (dated 17/09/2014) for OS X 10.11 from the &lt;a href="http://support.ricoh.com/bb/html/dr_ut_e/ra/model/mp25/mp25en.htm" rel="external"&gt;Ricoh Aficio MP 2510/3010/2590/3090 driver page&lt;/a&gt;. But no matter what I tried, the printer either could not be found or would print blank or garbled pages&amp;hellip;&lt;/p&gt;</description></item><item><title>Grav updated to 1.1.1</title><link>https://myByways.com/post/grav-updated-to-1-1-1/</link><pubDate>Sun, 17 Jul 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/grav-updated-to-1-1-1/</guid><description>&lt;p&gt;I just updated Grav to 1.1.1!&lt;/p&gt;</description></item><item><title>Stock portfolio tracking with Google Sheets</title><link>https://myByways.com/post/stock-portfolio-tracking-with-google-sheets/</link><pubDate>Tue, 28 Jun 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/stock-portfolio-tracking-with-google-sheets/</guid><description>&lt;p&gt;I wanted a simple stock portfolio monitoring tool. I failed to find a simple and free app, but happily discovered that &lt;a href="https://sheets.google.com" rel="external"&gt;Google Sheets&lt;/a&gt; does what I need perfectly!&lt;/p&gt;</description></item><item><title>New limitations imposed on free Apple Developer account</title><link>https://myByways.com/post/new-limitations-imposed-on-free-apple-developer-account/</link><pubDate>Mon, 27 Jun 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/new-limitations-imposed-on-free-apple-developer-account/</guid><description>&lt;p&gt;About a month ago, I discovered Apple had imposed new limitations on the free Apple Developer account. This limits the period that an app can run on your phone to 7 days (due to &lt;strong&gt;Provisioning Profiles&lt;/strong&gt;) and the number of changes you can make to the project (not the source code, but &lt;strong&gt;Capabilities&lt;/strong&gt; like &lt;strong&gt;App Groups&lt;/strong&gt;).&lt;/p&gt;</description></item><item><title>Finding application files in OS X</title><link>https://myByways.com/post/finding-application-files-in-osx/</link><pubDate>Wed, 15 Jun 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/finding-application-files-in-osx/</guid><description>&lt;p&gt;Apps, even after being removed from the &lt;strong&gt;Launchpad&lt;/strong&gt; or &lt;strong&gt;Applications&lt;/strong&gt; sidebar in &lt;strong&gt;Finder&lt;/strong&gt;, do leave preferences and other files scattered around. Where are they, typically, and how does one find them?&lt;/p&gt;</description></item><item><title>OS X Terminal color prompt</title><link>https://myByways.com/post/os-x-terminal-color-prompt/</link><pubDate>Thu, 28 Apr 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/os-x-terminal-color-prompt/</guid><description>&lt;p&gt;My previous &lt;a href="http://mybyways.com/blog/osx-terminal-tweaks" rel="external"&gt;Terminal Tweaks post&lt;/a&gt; had an incorrect prompt (PS1) setting, that caused lines to wrap on themselves! This is now corrected, with more details on the color options&amp;hellip;&lt;/p&gt;</description></item><item><title>Where is Xcode's FileMerge?</title><link>https://myByways.com/post/where-is-xcodes-filemerge/</link><pubDate>Fri, 01 Apr 2016 00:00:00 +0000</pubDate><guid>https://myByways.com/post/where-is-xcodes-filemerge/</guid><description>&lt;p&gt;I discovered that Xcode includes a &lt;strong&gt;diff&lt;/strong&gt; tool called &lt;strong&gt;FileMerge&lt;/strong&gt;. Where is it and how do you launch it?&lt;/p&gt;</description></item><item><title>Macs are so Expensive (Relatively Speaking)</title><link>https://myByways.com/post/macs-are-so-expensive-relatively-speaking/</link><pubDate>Fri, 11 Dec 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/macs-are-so-expensive-relatively-speaking/</guid><description>&lt;p&gt;I just bought a MacBook Pro! Prior to this, I&amp;rsquo;ve only been exposed to Windows and a smattering of UNIX/Linux&amp;hellip; until now. What really struck me was the price! Total &lt;strong&gt;sticker shock&lt;/strong&gt;, and that was before Apple raised prices on 14 Oct 2015!&lt;/p&gt;</description></item><item><title>AssistiveTouch Customisation on iOS 9</title><link>https://myByways.com/post/assistivetouch-customisation-on-ios9/</link><pubDate>Wed, 11 Nov 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/assistivetouch-customisation-on-ios9/</guid><description>&lt;p&gt;I, like many other iPhone users, turn on &lt;strong&gt;AssistiveTouch&lt;/strong&gt; so that I don&amp;rsquo;t have to press the Home button. Historically, this button has been quick to fail, so using the on-screen icon will save some wear-and-tear. And with iOS 9, AssistiveTouch has become &lt;strong&gt;customizable&lt;/strong&gt;! Shocking (for Apple, not much is customizable)!&lt;/p&gt;</description></item><item><title>Clean Install Windows 10 with Product Key and Tokens.dat</title><link>https://myByways.com/post/clean-install-windows-10-with-product-key-and-tokens-dat/</link><pubDate>Sun, 25 Oct 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/clean-install-windows-10-with-product-key-and-tokens-dat/</guid><description>&lt;p&gt;To clean install Windows 10, you need more than the product key from an upgraded instance of Windows 7/8. You&amp;rsquo;ll need a file called &lt;code&gt;tokens.dat&lt;/code&gt; created during the upgrade process.&lt;/p&gt;</description></item><item><title>Free tools for OS X developers</title><link>https://myByways.com/post/free-tools-for-osx-developers/</link><pubDate>Mon, 19 Oct 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/free-tools-for-osx-developers/</guid><description>&lt;p&gt;A short list of free tools I find useful for blogging and web development! Includes Microsoft &lt;strong&gt;Visual Studio Code&lt;/strong&gt;, &lt;strong&gt;ImageOptim&lt;/strong&gt;, &lt;strong&gt;ForkLift 2&lt;/strong&gt; and &lt;strong&gt;Commander One&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Screen capture script for retina display with PNG optimization</title><link>https://myByways.com/post/screen-capture-script-for-retina-display-with-png-optimization/</link><pubDate>Mon, 19 Oct 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/screen-capture-script-for-retina-display-with-png-optimization/</guid><description>&lt;p&gt;Forget the complex or manual steps, or costly tools to get screen shots scaled down from a retina display. I have a &lt;strong&gt;shell script&lt;/strong&gt; that triggers an interactive window screen capture, saves the screen shot (assumed to be 2x retina display), re-sizes it to 1x and compresses the PNG further! Best of all, it does not require paid software or Automator.&lt;/p&gt;</description></item><item><title>Installing Grav on OS X and cPanel Hosting</title><link>https://myByways.com/post/installing-grav-on-osx-and-cpanel-hosting/</link><pubDate>Fri, 16 Oct 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/installing-grav-on-osx-and-cpanel-hosting/</guid><description>&lt;p&gt;I opted to install Grav via the ZIP package, as &lt;a href="http://learn.getgrav.org/basics/installation" rel="external"&gt;documented here&lt;/a&gt;. My hosting provider does not give me shell access, so I would not be using git or the &lt;a href="http://learn.getgrav.org/advanced/grav-gpm" rel="external"&gt;Grav Package Manager (GPM)&lt;/a&gt;, but limiting myself to FTP or the cPanel File Manager.&lt;/p&gt;</description></item><item><title>OS X Terminal Tweaks</title><link>https://myByways.com/post/osx-terminal-tweaks/</link><pubDate>Fri, 16 Oct 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/osx-terminal-tweaks/</guid><description>&lt;p&gt;Some tweaks to my OS X shell (&lt;kbd&gt;Terminal&lt;/kbd&gt;.app) that I&amp;rsquo;ve found useful.&lt;/p&gt;</description></item><item><title>Enabling Apache and PHP on OS X 10.11</title><link>https://myByways.com/post/enabling-apache-and-php-on-osx-1011/</link><pubDate>Thu, 15 Oct 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/enabling-apache-and-php-on-osx-1011/</guid><description>&lt;p&gt;Apache and PHP 5.5.27 are installed already in OS X 10.11 El Capitan, so just a little enabling is required.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Updated 12 Oct 2016:&lt;/strong&gt; See the &lt;a href="https://myByways.com/post/reenable-apache-and-php-after-macos-sierra-update"&gt;slightly updated guide for macOS 10.12 Sierra&lt;/a&gt;, which has been updated to Apache 2.4.23 and PHP 5.6.24.&lt;/p&gt;</description></item><item><title>Why I chose Grav CMS</title><link>https://myByways.com/post/why-i-chose-grav/</link><pubDate>Tue, 13 Oct 2015 00:00:00 +0000</pubDate><guid>https://myByways.com/post/why-i-chose-grav/</guid><description>&lt;p&gt;In starting this blog, I installed and tested various Blogging and Content Management Systems (CMS), finally settling on &lt;a href="http://getgrav.org/" rel="external"&gt;Grav&lt;/a&gt;. Here&amp;rsquo;s why I like Grav.&lt;/p&gt;</description></item></channel></rss>