Skip to content

Instantly share code, notes, and snippets.

@rockchalkwushock
rockchalkwushock / BookingForm.js
Last active May 30, 2022 09:29
Using redux-form with next.js
import React, { Component } from 'react'
import { Field, reduxForm } from 'redux-form'
import PropType from 'prop-types'
import { messages } from '../../lib' // ignore pertains to `react-intl`
import validate from './validate'
import Input from './Input'
import TextArea from './TextArea'
class BookingForm extends Component {
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a