const config = {
type: Phaser.AUTO,
width: 800,
height: 600,
scene: {
-
Verify the default Java version in terminal by running the command:
java -version
-
Download the appropriate JDK from Oracle website for Mac OS
-
After installation completes,
cd
into/usr/libexec
from a terminal window -
From the
libexec
directory, verify all installed Java versions by running the command:./java_home -V
-
Open your shell config file
- zsh & vscode users, run:
code ~/.zshrc
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
version: "3.3" | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: somewordpress |
I hereby claim:
- I am melsoriano on github.
- I am mellanie (https://keybase.io/mellanie) on keybase.
- I have a public key ASD8b4X7QFQHL2oCfmmXVg2R5TVvdHANSFbczZwIoEiXPwo
To claim this, I am signing this object:
##Memoize Me
We are going to be building an in-memory cache to improve performance and extend the getElementById()
and querySelector()
functions of the DOM. Querying the DOM for elements can be an inefficient operation and if we are finding elements in the DOM repeatedly we would like to improve performance but we also don't want to clutter our codebase with many variables to hold references to the various elements we will use and to keep things a bit more dynamic.
##Your Challenge Write a module that anyone can add to their project and call your module's functions instead of the native DOM functions.
- Use good naming conventions for the module as well as the methods you're exposing. This is subjective to you but put yourself in someone elses shoes of what would make sense to them.
- Use memoization to cache elements if they have not been retrieved before from the DOM and return the element just as the above functions would do normally by calling them directly.
- If the element has been
h scroll left | |
j scroll down | |
k scroll up | |
l scroll right | |
gg scroll to top of the page | |
G scroll to bottom of the page | |
f activate link hints mode to open in current tab | |
F activate link hints mode to open in new tab | |
r reload |