Office 365 online no equation editor

As title, it wasted me an hour to figure that out. The information online is very confusing. In particular, they describe how to insert equations for office 365. And never even footnote that the “web-version” does not have that feature. https://beebom.com/microsoft-office-web-vs-desktop-apps-difference/

xformers for stable-baseline for 22.04

xformers 0.13 does not seem to work for stable-baseline (at least AUTOMATIC1111) distribution. But 0.14.dev does work. We can fix it by cd stable-diffusion-webui python3 -m venv venv source venv/bin/activate pip install https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/linux/xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl deactivate    

remote desktop with Ubuntu

It becomes quite easy to do remote desktop now. First, install openssh-server and x11vnc at the host by sudo apt install openssh-server x11vnc For the client, simply login with ssh and then run x11vnc after login. Then can connect to remotely with vnc clients such as remmina Login without password At client side, create key-pair…

Natural scrolling in Ubuntu 22.04

A quick workaround. Install synaptics and reboot sudo apt install xserver-xorg-input-synaptics then synclient VertScrollDelta=-111    Autoload the configuration   Add a file 20-natural-scrolling-touchpads.conf under /usr/share/X11/xorg.conf.d with the following content Section “InputClass” Identifier “Natural Scrolling Touchpads” MatchIsTouchpad “on” MatchDevicePath “/dev/input/event*” Option “VertScrollDelta” “-111” Option “HorizScrollDelta” “-111” EndSection  

top annoying traps

sklearn is not sklearn If you came across complaint no module named sklearn and you are sure that you “installed” that with pip install sklearn. Sorry, sklearn is scikit-learn instead of sklearn. pip install scikit-learn should solve the problem. Dropbox is syncing all files except some Check if you own the file. It maybe belong…

import module from another folder

A simple hack to import a module from another folder   import sys # caution: path[0] is reserved for script path (or ” in REPL) sys.path.insert(1, ‘/path/to/application/app/folder’) import file