Sharing notes on NixOS issues and solutions I run into.
Wayland scaling:
Help -> VM Options -Dawt.toolkit.name=WLToolkit
Dont use nix plugin manager, too out of date and slow
| # Installs Home Assistant on VirtualBox following https://www.home-assistant.io/installation/linux | |
| # Install VirtualBox | |
| sudo apt-get -y install virtualbox | |
| # Remove KVM if installed: | |
| sudo apt-get purge libvirt* kvm qemu* | |
| # Create a new VM | |
| VBoxManage createvm --name homeassistant --register |
| # Installs Home Assistant on VirtualBox following https://www.home-assistant.io/installation/linux | |
| # Install VirtualBox | |
| sudo apt-get -y install virtualbox | |
| # Create a new VM | |
| VBoxManage createvm --name homeassistant --register | |
| # Select OS type "Other Linux (64-bit)" | |
| VBoxManage modifyvm homeassistant --ostype Linux_64 | |
| # Set RAM to 6GB (modify to your needs, TODO: make this an option, default value 2GB), video memory to 16MB (TODO: make this an option, default value 16MB) | |
| VBoxManage modifyvm homeassistant --memory 6144 --vram 16 | |
| # 2 vCPUs (TODO: make this an option, default value 2) |
| void main() { | |
| int i = 1; | |
| return; | |
| } |
| meta: | |
| id: diskcopy42 | |
| file-extension: img | |
| endian: be | |
| bit-endian: be | |
| doc-ref: https://web.archive.org/web/20201028142058/https://wiki.68kmla.org/DiskCopy_4.2_format_specification | |
| seq: | |
| - id: name | |
| type: pstring | |
| - id: padding |
FTDI chip and OS X 10.10 Hi All, Yesterday I got a FTDI (UART to USB) board from unknown manufacturer. I plugged in to the iMac and without a surprise, it was not working. I have tried all the possible combinations, but no luck. Then after some digging in Apple documentation and Google about kext, FTDI and related, I finally made it. Here are the steps:
cd /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns sudo mv AppleUSBFTDI.kext AppleUSBFTDI.disabled
I hereby claim:
To claim this, I am signing this object:
| 12:18:57: Executing task 'bootRun --stacktrace'... | |
| :compileJava NO-SOURCE | |
| :compileGroovy FAILED | |
| FAILURE: Build failed with an exception. | |
| * What went wrong: | |
| Execution failed for task ':compileGroovy'. | |
| > BUG! exception in phase 'semantic analysis' in source unit '/Users/erichelgeson/source/grails3mnclient/mnclientGrails3/src/main/groovy/clients/RecaptchaClient.groovy' null |
| const formData = new FormData() | |
| formData.append('username', 'foo@bar.com'); | |
| formData.append('password', 'password'); | |
| const data = new URLSearchParams(formData); | |
| fetch('/login/authenticate', { | |
| method: "POST", | |
| headers: { | |
| "X-Requested-With": "XMLHttpRequest", | |
| "Content-Type": "application/x-www-form-urlencoded", |