I hereby claim:
- I am disintegrator on github.
- I am disintegrator (https://keybase.io/disintegrator) on keybase.
- I have a public key whose fingerprint is B27D E9C9 E08C A86E F46B 84FA F60F 7D8E 4BAD 4281
To claim this, I am signing this object:
export type ActionType = string; | |
export interface Action<T extends ActionType> { | |
type: T; | |
} | |
export interface BasicAction<T extends ActionType, P> extends Action<T> { | |
payload: P; | |
} |
import axios, { AxiosRequestConfig, AxiosResponse } from 'axios'; | |
import { Observable } from 'rxjs'; | |
const fromRequest = (request: AxiosRequestConfig) => | |
new Observable<AxiosResponse>( | |
(o) => { | |
const source = axios.CancelToken.source(); | |
o.add(() => source.cancel('Operation canceled by the user.')); |
I hereby claim:
To claim this, I am signing this object:
import * as ra from 'redux-actions' | |
export const {createAction} = ra | |
export function createAsyncAction(name, worker) { | |
const request = `${name}_REQUEST` | |
const success = `${name}_SUCCESS` | |
const fail = `${name}_FAIL` | |
const stages = { | |
request: createAction(request), | |
success: createAction(success), |
This design must be aware of the OAuth2 thread models and mitigation strategies as described in the following resources:
A host of vulnerabilities can be removed by pinning redirect_uri
, scope
, response_type
(read: allowed grants for each client) variables in client settings when registering clients (apps).
alias ssl=openssl | |
ssl genrsa -aes256 -passout pass:x -out server.pass.key 2048 | |
ssl rsa -passin pass:x -in server.pass.key -out server.key | |
rm server.pass.key | |
ssl req -sha256 -new -key server.key -out server.csr | |
ssl x509 -sha256 -req -days 365 -in server.csr -signkey server.key -out server.crt |
brew install boot2docker
eval $(boot2docker shellinit)
boot2docker up
sudo pip install -U docker-compose
# put the docker-compose.yml file in a directory e.g. ~/Work/docker/cassandra
cd ~/Work/docker/cassandra
docker-compose up
set-option -g prefix C-a | |
unbind-key C-a | |
bind-key C-a send-prefix | |
set -g base-index 1 | |
set-window-option -g pane-base-index 1 | |
set-option -g renumber-windows on | |
# vi is good | |
setw -g mode-keys vi | |
bind-key -t vi-copy v begin-selection |
set nocompatible | |
syntax on | |
filetype off | |
set colorcolumn=80 | |
set ignorecase | |
set laststatus=2 | |
set noshowmode | |
set hlsearch | |
set cul |