I have a Puppet profile which collects some virtual resources. It typically collects 3-4 resources, that part works well. For some servers, it returns empty. Again, this works well. I can do the following: MyResource <| |> -> file { '/etc/myfile.conf': ensure: 'present', content: 'some conf', } This code, if it […]
Blog
I have the problem that xwininfo shows Depth: 24 for any window, including the X root window. If I understand correctly, this prevents showing transparent parts of windows, such as rounded corners of tooltips, GTK+ 3.0 apps with client-side decorations etc. compton automatically starts up via rc.lua script. xdpyinfo shows […]
I have a situation in Excel where I want to use conditional formatting to change the text color based on cells values so the lowest values become red, and they get progressively bluer as the values increase. I’d like to use the “Format cells based on their values” option in […]
I have Mamp 7.4, and I want to install my magento 2 on a URL like magento.dev (specifically I want it to be eduk.dev). MAMP version is 7.4. I update the hosts file with 127.0.0.1 eduk.dev, then I set this in appache httpd.conf file : Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf and I set […]
I am deploying everything correctly using php -d memory_limit=2G bin/magento setup:static-content:deploy -f but Magento 2 is somehow still not picking up on the css styles from the theme, and also the images, so it looks without any style. This happens on both frontend and admin side. What is the issue […]
I’ve kept on using Mojave for a very long time but had to upgrade my hardware and am now hit with the full list of annoyances of the new era of macOS. Is there any option, unlisted preference or something I can do to hide the annoying “Loading” overlay on […]
I’m trying to run the docker getting started server with this command docker run -d -p 8080:80 docker/welcome-to-docker But when I connect to localhost:8080, I get a timeout error. I have Windows 11. My %systemroot%System32driversetchosts looks like this: # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample […]
I wrote a simple bash script that invokes fswatch to monitor a specific file for changes. When a change is detected, another script writes a line to a log file. The script looks like this: #!/usr/bash fswatch -0 watched | xargs -0 -n 1 -I {} script.sh script.sh is: #!/bin/bash […]
I upgraded yesterday to 24.04 from the previous Pop!_OSLTS. My Jupyter notebook and pip are broken now. Any ideas on how to repair? Traceback (most recent call last): File "/home/at/.local/bin/jupyter", line 5, in <module> from jupyter_core.command import main ModuleNotFoundError: No module named 'jupyter_core' I think the issue is that 24.04 […]