(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
{ | |
"threads": 2, | |
"coin": "pirl", | |
"name": "main", | |
"proxy": { | |
"enabled": true, | |
"listen": "0.0.0.0:8888", | |
"limitHeadersSize": 1024, | |
"limitBodySize": 256, |
FROM ubuntu | |
RUN apt-get update && \ | |
apt-get -y install wget \ | |
apt-utils \ | |
apt-transport-https \ | |
git \ | |
default-jdk \ | |
ant |
h scroll left | |
j scroll down | |
k scroll up | |
l scroll right | |
gg scroll to top of the page | |
G scroll to bottom of the page | |
f activate link hints mode to open in current tab | |
F activate link hints mode to open in new tab | |
r reload |
class Subscriber < ActiveRecord::Base | |
include ActiveModel::Model | |
attr_accessor :email | |
def subscribed? | |
SendpulseClient::Email.get(email).is_a? Array | |
end | |
def subscribe!(book_id = nil) |
import React, { Component, PropTypes } from 'react' | |
import { connect } from 'react-redux' | |
import { reduxForm } from 'redux-form' | |
import { Input, ButtonInput } from 'react-bootstrap' | |
import { search, setCustomPhones, setCustomPhonesLocale } from '../actions/followUp' | |
class QuestionsForm extends Component { | |
static propTypes = { | |
questions: PropTypes.arrayOf(PropTypes.object).isRequired, | |
fields: PropTypes.object.isRequired, |
Normally the installation of MySQL can be achieved with a single command, which executes a script provided by MacMiniVault :
bash <(curl -Ls http://git.io/eUx7rg)
However, at the time of writing the script is not compatible with OS X El Capitan (10.11)
An alternative to the aforementioned installation script is installing MySQL using Homebrew. This gist assumes you already have Homebrew installed, if not first read the article "Homebrew and El Capitan"
Make sure Homebrew has the latest formulae, so run brew update
first
call plug#begin('~/.vim/plugged') | |
function! DoRemote(arg) | |
UpdateRemotePlugins | |
endfunction | |
Plug 'Shougo/deoplete.nvim', { 'do': function('DoRemote') } | |
Plug 'https://github.com/altercation/vim-colors-solarized.git' | |
Plug 'Raimondi/delimitMate' |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/poctek/.oh-my-zsh | |
export EDITOR=nvim | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home | |
export CLASSPATH=$CLASSPATH:$JUNIT_HOME/junit4.10.jar:. | |
export TERMINFO="$HOME/.terminfo" | |
# FZF default command | |
FZF_DEFAULT_COMMAND='ag -g ""' | |
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" |
call plug#begin('~/.vim/plugged') | |
function! DoRemote(arg) | |
UpdateRemotePlugins | |
endfunction | |
Plug 'Shougo/deoplete.nvim', { 'do': function('DoRemote') } | |
Plug 'https://github.com/altercation/vim-colors-solarized.git' | |
Plug 'Raimondi/delimitMate' |