I hereby claim:
- I am artivilla on github.
- I am artivilla (https://keybase.io/artivilla) on keybase.
- I have a public key ASDv4ViN3g_0ACPsa2QlA1riaTgY0WntJ3w-Dbog2fe68Ao
To claim this, I am signing this object:
Array mutations returning a new array | |
Adding item to an array (list, item) | |
return [...list, item]; | |
Remove item from index (list, index) | |
return list | |
.slice(0,index).concat(list.slice(index+1)); | |
return [...list.slice(0, index), |
Refs: https://gist.github.com/hofmannsven/6814451 | |
Remotes | |
Show tracked / untracked info for local branches | |
$git remote -vv | |
Clean up traked info for remote branches | |
$git remote prune <remote> | |
To update your local branch with remote |
Engagement | |
User engagement levels can vary depending on the app or service. | |
It could vary from daily to monthly visits, but it also relates to the depth and breadth of usage across the various touch points. | |
DAU/MAU | |
Daily active users/ Monthly active users. This metric is used to measure the depth of engagement of a company's users. | |
Example: While the monthly user count was enormous, the DAU over MAU revealed that most of those users only log in sporadically. | |
Mobile Retention Rates | |
~80% of users are lost in the first month. |
## Managing tags | |
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
I hereby claim:
To claim this, I am signing this object:
Useful Resources to learn: A Beginner-Friendly Introduction to Containers, VMs and Docker An Introduction to Docker Differences between Oracle mysql and mysql: Oracle and MySQL Compared
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="promise bin fun"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
{"lastUpload":"2021-07-21T23:17:55.269Z","extensionVersion":"v3.4.3"} |
``` | |
// generate random stars in the scene | |
function addStar() { | |
const geo = new THREE.SphereGeometry(0.25, 24, 24) | |
const mat = new THREE.MeshStandardMaterial({color: 0xffffff}) // standard responds to lights in the scene | |
const s = new THREE.Mesh(geo, mat) | |
const [x,y,z] = Array(3).fill().map(() => THREE.MathUtils.randFloatSpread(100)) // numbers between 0-100 | |
s.position.set(x,y,z) | |
scene.add(s) | |
} |