I downloaded Matlab R2013a on mac OSX 10.9 from the university isd page. And after installation key page, it asks me enter the full path of license file . I tried looking archieve, bin, license.txt. But no no there is nowhere like license.lic ??
October 25, 2022 : spam-folder Controlling Google Spam FolderDo too many of your valid messages end up in your Spam box in Gmail?The following may mitigate that situation.In Gmail spam folder, select a message that should never be in there. - Click on its checkbox. - Click on the More icon (vertical dots) on top and select Filter Messages Like These. - Click create filter. - Click on Never send it to spam - Click on Create filter.Done.
April 20, 2022 : shelltips Shell tipsIn no particular order, here are a few random shell tips. You may need tomodify them for your own circumstances. - Suppose you wish to make sure everyone could access and read the files in the folder foofolder. Here are couple of ways of doing that. o A quick dirty solution which is not entirely desirable is to do chmod -R a+rx foofolder o A more precise cleaner solution is to do chmod -R a+r foofolder find foofolder -type d -exec chmod a+x \; The find command finds all folders in foofolder and make each one accessible by all. - To do a loop in bash, follow these examples. o for i in web* ; do tar czf $i.tgz $i; done o for i in f1 f2 f3 f4 ; do echo $i ; gzip $i ; done o for i in 5..12 ; do mv web$i web$i0 ; done - To do a loop in tcsh, follow this example. > foreach i ( *.data ) foreach? tar czf $i.tgz $i foreach? end - To sort the lines in a file by a particular field. The default separator is spaces. Here are a few examples. Example 1. sort -rn -k2 filename This sort numerically in reverse order by field 2 using the default separator which is spaces. Example 2. sort -n -k3 -t: filename This sort numerically by field 3 using the separator :. - To clear all your history, do history -c - To turn off color in the command ls, do ls --color=none - To turn on/off line number in less, less -N / -n or interactively, -N/-n - cat -n filename will display line numbers. - To turn off autoindent in vi/vim, do in vi, :set paste In paste mode, vi/vim won't autoindent when you insert text. - To turn on numbering in vi/vim, do in vi, :set number or :set nonumber - To capture just the stderr (without stdout), add 2>&1 1>/dev/null to the end of the command. - On case-sensitive filesystem, to find all instances of filenames that differ by case only, do find . sort -f uniq -i -D - When running dd, no progress is reported. To get a sense of its progress, do Ctl + t or kill -INFO in BSD type unix or kill -USR1 in Linux.
April 15, 2022 : mactipsSome small macOS tipsIn no particular order, here are a few random Mac tips. - To copy files or folders from one location to another in Finder, you can use cmd + c and cmd + v at the destination (the usual copy and paste shortcuts for text. - To move files or folders from one location to another in Finder, use cmd + option + v at the destination folder. - If you want a macos app to just paste some text without the extra adornments of the source, do cmd + option + shift + v - If you want a Terminal at a particular folder in Finder, do right click on that folder and under Services, select New Terminal at Folder. If you don't see that service, do system preferences > keyboard > shortcuts > services > in Files and Folders, click on New Terminal at Folder. - If you do cmd + c on a selected file/folder, then cmd + v into a Terminal or a text field will print the path to that file/folder. - If you do a lot of connections into CNS or Psych machines, you may want to add cns.nyu.edu and/or psych.nyu.edu to your search domains. You may then use the shortname (leave out cns.nyu.edu or psych.nyu.edu) of the hosts when you do ssh or screenshare from Terminal or a GUI app. To add, do System Pref > Network > Advanced... > DNS - You may open a screenshare session via the Finder's "Connect to server". But you may also do this in Terminal as well via the command open vnc://remotehost or open vnc://user@remotehost
April 12, 2021 : unidentifiedUnidentified Developer ProblemIf you have a package or app that cannot be opened due to an errorthat says it is from an unidentified developer and you are certain ofthe validity of the package, then you may override the warning viaany one of the following methods. The availability of these methodsmay vary with the version of macOS or app. - Right-click on package or app > open. You will get a unidentified developerwarning and you are asked whether you are sure you wish to open it or cancel.Click on open. Note that this does not work on a symlink and so do it onthe original file. - System pref > security. You should see the package or app is from an unidentified developer. Click on open anyway. - The reason for the security warning is due to a quarantine tag picked upwhen you downloaded the file. You could delete that tag via the command lineas follows. xattr -d com.apple.quarantine downloaded-file
April 12, 2021 : bluetooth-mini Bluetooth issue on M1 mac miniIf your bluetooth keyboard or mouse is acting erratically, try resettingyour bluetooth. You can do this by doing option + shift click on Bluetooth menu item > select reset bluetooth module.
April 10, 2021 : googledrive Google Drive File Stream is now Google Drive for desktop Starting with version 45, Google Drive File Stream has been renamed toGoogle Drive desktop. This is a prelude to Google Backup and Sync merginginto Google Drive desktop later in 2021.Google Drive for desktop release notesGoogle Backup and SyncUnified GFS and Backup and SyncUpcoming changes to Google Drive sync clients
February 14, 2021 : dotfilesSpecial mex error on catalina onlyIf you see an error when doing mex compiling that contains xcodebuild: error: SDK "macosx10.15.4" cannot be locatedThis is simply because SDK should not have minor version numbers.The following mathworks page will give the fix for the issue. error is only seen on catalina for matlab 2020a and 2020b.
January 10, 2021 : screenshare How to break screenshareDoing the following a few times will break screenshare.Do vnc://us...@neural.cns.nyu.eduand then login as userB instead at the loginwindow seems to confuse screenshare after a few times. This does not happen very often as most users onlyhave one account on a remote machine.The confusion of screenshare is manifested by the inabilityof screenshare to complete any further vnc connections. Doing bootoutand bootstrap of screenshare does not help. All other serviceswill work fine. The only way to fix screenshare at this state isto restart the machine.
December 5, 2020 : damagedmacOS installer damaged?If your Install macOS app throws an error saying it is damaged and cannotbe used, one of the following remedy should fix this issue. This alsois applicable for bootable images created from one of these installers.The problem appears to be related to an expired certificate within theinstaller app. 1. Move the following file in the Install macOS app to some place else. macos install.app/Contents/ShareSupport/InstallInfo.plistDo this in your Finder or in Terminal. This seems to work most of the time. 2. Back date the system clock. Then run the Install macOS app. You can setthe system clock in System Pref > Date and Time or you can do in Terminalas root, date 1010101018 to set the clock back to October 10, 2018. This may not work for Mojave but works well for Sierra. 3. Delete your current installer app and re-download it. See the links belowfor a direct download from Apple. This however is unlikely to work unless you have a very old installer app. Very recent Install macOS may not work either.For reference see -install-macos-application-damaged-cant-be-used-error-mac/
November 15, 2020 : bootablemac Making bootable install images / volumes for Macs There are times a bootable image or volume would be helpful.Here are some instructions to make such bootable volumes say on aportable usb drive. You will need a spare volume (partition) andthe OS Install app. The spare volume will be wiped by this process.In each case, you need to download a copy of the Install macOS app that isappropriate for the macOS you are interested in. Do the following in Terminal as root (e.g. you may do sudo bash). - Go to the folder containing the downloaded install app. Then - cd "Install macOS.app/Contents/Resources", where you replace the name Install macOS.app with the name of the your macOS installation app.For Mojave or above, do ./createinstallmedia --volume /Volumes/name-of-boot-volumeFor High Sierra or below, do ./createinstallmedia --volume /Volumes/name-of-boot-volume --applicationpath "/path to/Install macOS app"For El Capitan or below, see legacy bootable install imagesExamples=========Mojave/Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Mojave Sierra/Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Sierra --applicationpath /Applications/Install\ macOS\ Sierra.appNotes====== - If your boot volume throws an error saying it is damaged, then see abovenotes. I believe solution #1 is most likely to work i.e. move the filemacos install.app/Contents/ShareSupport/InstallInfo.plist elsewhere andrun the install macos again. - The late 12/2020 Sierra installer has a very strange bug where createinstallmedia throws an error saying the target volume "...is not a valid volume mount point". The fix is to modify the Info.plistso that the CFBundleShortVersionString key has value 12.6.03 ratherthan 12.6.06.
September 30, 2020 Turn off macos zsh reminderIf you are annoyed by the constant bash reminder in Apple Terminal regardingthe default shell is now zsh, add the following to your .bash_profile export BASH_SILENCE_DEPRECATION_WARNING=1
August 30, 2020 : videoZoom camera issue - fix for MacUnder macOS, the way most applications (such as FaceTime, Zoom) talk tothe video camera is via the VDCAssistant process which is part of theApple CoreMedia IO framework. Usually when an app such as Zoom fails atthe video level, it is probably due to a wedged VDCAssistant process.So if you can't get the Zoom app video to work, don't panic (yet) - trythe following simple fix.Potential ways to fix: - You could just restart your Mac. It may take more than one restart. - A less drastic method is to relaunch the VDCAssistant process. To do this you could use Activities Monitor (View > all processes) and look for the VDCAssistant process which is owned by root and kill it. Alternatively, in Terminal, you could do sudo killall VDCAssistant. Either way, the VDCAssistant process will be restarted and should be unwedged.
7fc3f7cf58