Skip to content

Instantly share code, notes, and snippets.

@arzzzen
arzzzen / .vimrc
Last active January 9, 2017 02:55
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-airline/vim-airline'
alias gn='git number --column'
alias ga='git number add'
alias gc='git commit -m'
alias tmux='tmux -2'
alias mount_nicrp='sshfs root@nicrp.ru:/usr/share/nginx/www/ /home/arsen/mnt/nicrp/'
# If this is an xterm set more declarative titles
# "dir: last_cmd" and "actual_cmd" during execution
# If you want to exclude a cmd from being printed see line 156
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:/home/arsen/.composer/vendor/bin:$PATH"
source /home/arsen/.rvm/scripts/rvm
export NVM_DIR="/home/arsen/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# We use preexec and precmd hook functions for Bash
# If you have anything that's using the Debug Trap or PROMPT_COMMAND
# change it to use preexec or precmd
# See also https://github.com/rcaloras/bash-preexec
# If not running interactively, don't do anything
case $- in
import { Component, createElement } from 'react'
import storeShape from 'react-redux/lib/utils/storeShape'
import wrapActionCreators from 'react-redux/lib/utils/wrapActionCreators'
import warning from 'react-redux/lib/utils/warning'
import isPlainObject from 'lodash/isPlainObject'
import hoistStatics from 'react-redux/node_modules/hoist-non-react-statics'
import invariant from 'react-redux/node_modules/invariant'
function shallowEqual(objA, objB) {
if (objA === objB) {
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
http://stackoverflow.com/questions/14676981/sublime-text-url-handler-for-ubuntu
@arzzzen
arzzzen / designer.html
Last active August 29, 2015 14:14
designer
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;