full-screen
ctrl + cmd + F
minimize current window
cmd + M
| from https://www.inksaver.co.za | |
| https://www.inksaver.co.za/en/blog/Reset-the-Toner-Life-End-Message-on-Your-Brother-Printer.php | |
| >>> | |
| So you’ve just replaced your Brother toner cartridge in your printer and the 'toner low' or 'replace toner' warning keeps popping up. You’ve tried everything. You’ve taken the toner cartridge out and checked everything is working and all the packaging has been removed. You’ve shaken the cartridge from side to side. You’ve even switched the printer on and off and nothing is making that irritating little message go away. There’s nothing in the user manual to tell you what to do. And worst of all, even though you know the toner cartridge is new, the printer still won’t let you print! | |
| Brother toner cartridges | |
| Relax. Most Brother toner printers need to be told you’ve replaced the toner cartridge. You’ll have to manually reset the counter and, luckily, this is fairly easy to do. We’ve put together a handy list of Brother toner printers and how to reset the toner count on them. |
https://docs.scala-lang.org/cheatsheets/
http://www.scala-lang.org/api/current/scala/Predef$.html
The Predef object provides definitions that are accessible in all Scala compilation units without explicit qualification. <<
| # install bluez-tools | |
| $ sudo apt-get install bluez-tools | |
| # list bt devices | |
| $ bt-device -l |
| # sbt version | |
| sbt sbt-version | |
| or | |
| sbt sbtVersion | |
| # get scala version from sbt | |
| $ sbt | |
| [project] $ scala-version |
| # uninstall java 9 on osx | |
| https://www.java.com/en/download/help/mac_uninstall_java.xml | |
| (confirm folder parths first) | |
| $ sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.jdk/ | |
| $ sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin | |
| $ sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane |
| NAVIGATION | |
| # navigate to symbol definition cmd + B | |
| # navigate backwards cmd + opt + left | |
| # navigate forwards cmd + opt + right | |
| # goto class cmd + O | |
| # goto file shift + cmd + O | |
| # goto symbol cmd + opt + O |
| >>> | |
| Registering an Application to a URI Scheme | |
| https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx | |
| To register an application to handle a particular URI scheme, add a new key, along with the appropriate subkeys and values, to HKEY_CLASSES_ROOT. The root key must match the URI scheme that is being added. For instance, to add an "alert:" scheme, add an alert key to HKEY_CLASSES_ROOT, as follows: | |
| HKEY_CLASSES_ROOT | |
| alert | |
| URL Protocol = "" |
| configure laptop lid-close power behaviour | |
| 1. edit systemd config file @ /etc/systemd/logind.conf | |
| 2. uncomment & edit line a required | |
| 3. restart machine |