heirarchy
- registry -- repo --- image ---- tag (version)
find name of docker servce in windows
sc queryex type= service state= all | find /i "docker"
get docker version
| 1. install putty (or minicom) | |
| $ sudo apt install putty | |
| 2. plug in usb-to-serial cable | |
| 3. to check which serial port has been crested, run dmesg pipe output to grep, filter to tty, note output | |
| (man dmesg => print or control the kernel ring buffer) | |
| $ dmesg | grep tty | |
| sample ouput: |
heirarchy
find name of docker servce in windows
sc queryex type= service state= all | find /i "docker"
get docker version
| THAI GREEN CURRY | |
| Ingredients | |
| 1 tbsp vegetable oil | |
| 2 tbsp green curry paste (according to taste) | |
| 1 tbsp soft dark brown sugar | |
| 1-2 thick stalks lemongrass, fat ends bashed with a rolling pin (optional) | |
| 750g skinless, boneless chicken, cut into chunks (use breast and/or leg meat) | |
| 6-8 lime leaves, torn into pieces (if unavailable, use the grated zest of 1 lime) |
| configure laptop lid-close power behaviour | |
| 1. edit systemd config file @ /etc/systemd/logind.conf | |
| 2. uncomment & edit line a required | |
| 3. restart machine |
| >>> | |
| 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 = "" |
| 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 |
| # 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 |
| # sbt version | |
| sbt sbt-version | |
| or | |
| sbt sbtVersion | |
| # get scala version from sbt | |
| $ sbt | |
| [project] $ scala-version |