- Install Bitwarden from App Store
- Install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Xcode Command Line Tools
-
xcode-select --install
-
/** | |
* This module is used at providing an easy way to override material-ui | |
* `shadows` properties. | |
* material-ui expects the shadows to be following a certain pattern. | |
* (source: https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/styles/shadows.js) | |
* This file is a slight adaptation (for colours) of the above material-ui source file. | |
* | |
* This module exports a `createShadows(hexColor: string): Array<string>` method | |
* that takes a hex color (presumably from the configuration) and returns an array | |
* of the 25 possible shadows matching the 25 elevations in material-ui. |
function ChunkyCache(cache, chunkSize){ | |
return { | |
put: function (key, value, timeout) { | |
var json = JSON.stringify(value); | |
var cSize = Math.floor(chunkSize / 2); | |
var chunks = []; | |
var index = 0; | |
while (index < json.length){ | |
cKey = key + "_" + index; | |
chunks.push(cKey); |