Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| which mongod | |
| /usr/local/bin/mongod | |
| Set up launchctl to auto start mongod: | |
| ln -sfv /usr/local/opt/mongodb/homebrew.mxcl.mongodb.plist ~/Library/LaunchAgents | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Versions | |
| Version 2 - this time to make use of a feature in docker-compose that isn’t available in the version 3 specification. | |
| Version 3 - is more suited towards use in production than version 2, which has more development friendly features. | |
| # docker-compose | |
| docker-compose start | |
| docker-compose ps | |
| docker-compose up -d --build search | |
| docker-compose down search |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Spit commits | |
| git reset HEAD~ | |
| # Exit merge | |
| git reset --hard HEAD | |
| git pull --strategy=theirs remote_branch | |
| git fetch origin | |
| git reset --hard origin | |
| # Reset to specific branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Known issues | |
| 1. runAll.sh is not run -> run runAll.sh :) | |
| 2. Apache Jena - lock | |
| delete lockfiles under ./fdk/data | |
| 3. nginx start to late | |
| Make sure nginx start last. | |
| # Install Java8 and/or Maven |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install java8 (Java SE Development Kit 8u211) | |
| Java 8 is not in brew! | |
| https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | |
| extgjs@brreg.no/4325dfgSFGds | |
| # Uninstall java11 | |
| brew cask uninstall java11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Ref | |
| https://hackernoon.com/a-better-way-to-develop-node-js-with-docker-cd29d3a0093 | |
| # Developing libs with npm link | |
| In lib packaged run: | |
| npm link | |
| In main proj run: | |
| npm link mylib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://blog.logrocket.com/choosing-between-babel-and-typescript-4ed1ad563e41/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Center content | |
| my-auto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| h1 - 2.8rem (62px) | |
| p - 1.6rem (16px) | |
| <span> | |
| display: inline; /* the default for span */ | |
| html { | |
| font-size: 62.5%; | |
| } | |
| body { |
OlderNewer