WSLg Acceleration in Enterprise Linux
How to ensure your graphics
First, install the OVF Tool. Then, run the tool. The syntax looks like this:
1 |
/Applications/VMware\ OVF\ Tool/ovftool --acceptAllEulas /path/to/file.ovf /Users/username/Documents/Virtual\ Machines.localized/vmname.vmwarevm/vmname.vmx |
If you see errors about virtual hardware not being supported, you can add the –lax parameter to the command line.
1 |
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout key.pem -out cert.pem -sha256 |
AirPrint is a cool technology, but what if you have printers that aren’t officially supported? Here’s how to make it work. Note that this was done on FreeBSD 10.1. This may work on other operating systems, but package installation and filesystem paths will be different.
I was trying to set up a fail2ban jail for wordpress inside a FreeBSD jail, but I just couldn’t get the rules to match. The fail2ban instance was running on the host machine, checking a log inside the jail. Turns out the time zone in the jail was incorrect, and fail2ban was not matching log …
When fail2ban just won’t match… check the time and time zone. Read More »
If you are running a transparent HTTP proxy on your network, you may have trouble with running Internet Recovery and Apple Hardware Test on Macs that support it. You’ll see a “-4403D” or “-4403F” error. For some reason, Apple’s servers return a 403 when they see the “via” header that many proxy servers send. Here’s …
I’ve been trying to install Mountain Lion in as a guest in Parallels 7, and I kept getting stuck at the initial grey Apple logo. To fix it, I just changed the number of CPUs to 2, and it booted right up. Other documents I’ve seen have indicated that you need to increase the video …
Mountain Lion Installation Does Not Start in Parallels 7 Read More »
Eclipse Juno looks terrible in Linux Mint 13 with the MATE desktop environment. Here’s an example of part of the screen: Everything is big and bulky, the tool bar’s style doesn’t really match the theme’s style. Here are the steps I’ve taken so far to correct this: Create a file called gtkrc, I’ve created …
Make Eclipse Less Ugly in Linux Mint 13 with MATE Read More »
I needed to return all the members of an object as an XML document in Python. I used the ElementTree library to do this. The class in question is pretty basic: It has a constructor, member variables, getters and setters for the member variables, and now this new function. Every Python class has a built-in …
Often times, in your Squid proxy, you may have a redirector configured – such as SquidGuard:
1 |
redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squid/squidGuard.conf |
I ran into a problem tonight with my Roku box where SquidGuard was seeing Roku’s NetFlix access as a security threat. So, to make Squid bypass the redirector, add an ACL and a redirector-access rule:
1 2 |
acl netflix dstdomain .netflix.com redirector_access deny netflix |
There you …