type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
/** | |
* This short program will encrypt the user password | |
* and insert a new record into a mock database. | |
*/ | |
const Reader = require('fantasy-readers'); | |
const R = require('ramda'); | |
const crypto = require('crypto'); | |
// our mock database | |
const database = [ |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
(I'm enjoying doing these raw, barely edited writeups; I hope they're useful to you too)
This is my own writeup on feature flags; for a deep dive I'd recommend something like Martin Fowler's article (https://martinfowler.com/articles/feature-toggles.html).
So. Feature flags. The basic idea that you'll store configuration/values on a database/service somewhere, and by changing those values, you can change the user experience/features for a user on the fly.
Let's say that you're building a new feature, called 'new-button' which changes the color of buttons, which is currently red, to blue. Then you'd change code that looks like this -
A collection of links to the "Master the JavaScript Interview" series of medium stories by Eric Elliott.
A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.
Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.
This a collection of interesting links found in The Imposter's Handbook by Rob Conery.
Content:
First up, let's make Sublime Text 2 available from the command line in terminal, by creating a link to subl
which is the launcher from terminal:
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
(added bonus of this approach is when you upgrade to ST3 or change text editor, you can just redirect the symlink).
If there's any chance that bash
doesn't check usr/local/bin
then use [Launch Sublime Text 2 from Mac OSX Terminal] for more detailed instructions on how to make this happen.
* Titles subject to change
React | Angular |
---|---|
00 Introducing Advanced React Component Patterns | 00 Introducing Advanced Angular Component Patterns |
01 Build a Toggle Component (source) | 01 Build a Toggle Component (stackblitz) |
02 Write Compound Components (source) | [02 Write Compound Components](ht |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |