start new:
tmux
start new with session name:
tmux new -s myname
module.exports = function (wallaby) { | |
// Babel, jest-cli and some other modules may be located under | |
// react-scripts/node_modules, so need to let node.js know about it | |
var path = require('path'); | |
process.env.NODE_PATH += | |
path.delimiter + | |
path.join(__dirname, 'node_modules') + | |
path.delimiter + | |
path.join(__dirname, 'node_modules/react-scripts/node_modules'); |
[alias] | |
# branches list | |
b = branch -vv | |
# branch name | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
# checkout | |
c = checkout |
/** | |
* Lodash version | |
*/ | |
import {assign, each} from 'lodash'; | |
export default class ResourceLookupController { | |
constructor() { | |
each(arguments, (o, i) => assign(this, {[this.constructor.$inject[i]] : o})); | |
this.name = 'resource-lookup'; | |
} |
angular.module('myMdl', []).config(['$httpProvider', function($httpProvider) { | |
$httpProvider.responseInterceptors.push([ | |
'$q', '$templateCache', 'activeProfile', | |
function($q, $templateCache, activeProfile) { | |
// Keep track which HTML templates have already been modified. | |
var modifiedTemplates = {}; | |
// Tests if there are any keep/omit attributes. | |
var HAS_FLAGS_EXP = /data-(keep|omit)/; |
[user] | |
name = sptq | |
email = [email protected] | |
# ===[ALIAS-START]=== | |
# | |
[alias] | |
c = checkout |
" Init | |
" {{{ | |
runtime bundle/vim-pathogen/autoload/pathogen.vim | |
call pathogen#infect() | |
call pathogen#helptags() | |
set nocompatible | |
syntax on | |
set encoding=utf-8 |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |