Qin Yu, Apr 2020
- Check if emacs installed:
$ emacs --version
By Qin Yu, last updated in Feb 2025. I hope this will save time for everyone.
When, for example, try to connect to the ASK4 network but the pop-up window doesn't come up:
go to signup.ask4.com in your browser, whose IP address can be found in the local network.
Cannot define function with control flow in Julia:
SYSTEM is a function that returns an integer result, so declare a variable:
integer iretand then change the call to:
iret = system(tmpline)The Fortran standard does not allow calling a function as a subroutine. Indeed, earlier versions of our compiler did allow this, under some conditions, but the restrictions were not enough to avoid possible bad results and, after long debate, we decided that as the number of cases where this was harmless was small enough it was simpler to just make it an error. The problem has to do with mismatched assumptions about where arguments and return values get placed.
- Go to the GitHub repo of MBeautifier and clone/download it to anywhere as a library/package for MATLAB.
- Add the root directory of MBeautifier to the MATLAB path, e.g. on MacOS:
- Add the folder
/path/to/MBeautifierto the beginning of the search path on a UNIX® system:
oldpath = path;
path('/path/to/MBeautifier',oldpath)- Perform formatting on the currently active page of MATLAB Editor. Command:
One possibility is that the keyboard setting is bad for the massive amount of shortcuts we are using. The system default input source is ABC - Extended, which causes ⌥+⇧+f to input a ̰ character. For example, in VS Code, to format a document, one uses ⌥+⇧+f, which inputs ̰ instead of executing the shortcut.
Just change the ABC - Extended input source to ABC.
When typing in Latex, I often desperately wonder what are those weird mathematics symbols called???
Go to the Detexify website and draw it!
p.s. it turned out to be in a GitHub repo: kirel/detexify.