Skip to content

Commit

Permalink
!#5 Add: resources for project
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Sep 3, 2017
1 parent 1cbdcc6 commit 76015a9
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
59 changes: 59 additions & 0 deletions resource/etc/tmuxinator/slides-docker4devs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# ~/.tmuxinator/slides-docker4devs.yml
name: slides-docker4devs
root: <%= ENV["PROJECTS"] %>/slides/slides-docker4devs
tmux_options: -2
# Optional tmux socket
# socket_name: foo

# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
pre:
- make environment

# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247

# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf

# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu

# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: logs

# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false

# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t go-stringutil

windows:
- editor:
layout: even-horizontal
panes:
- editor:
- pyenv activate slides-docker4devs
- pwd:
- pyenv activate slides-docker4devs
- pwd:
- pyenv activate slides-docker4devs
- python:
layout: main-vertical
panes:
- python:
- pyenv activate slides-docker4devs
- databases:
layout: main-vertical
panes:
- ls:
- pyenv activate slides-docker4devs
- ls:
- pyenv activate slides-docker4devs
- docker:
layout: main-vertical
panes:
- ls:
- pyenv activate slides-docker4devs
- ls:
- pyenv activate slides-docker4devs
11 changes: 11 additions & 0 deletions resource/git/hooks/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# -*- coding: utf-8 -*-


ORIG_MSG_FILE="$1"
TEMP=`mktemp /tmp/git-XXXXX`

TICKETNO=`git branch | grep '^\*' | cut -b3- | sed 's/[a-z/]//g'`

(echo "!$TICKETNO"; cat "$ORIG_MSG_FILE") > "$TEMP"
cat "$TEMP" > "$ORIG_MSG_FILE"
Binary file added resource/jar/plantuml.jar
Binary file not shown.

0 comments on commit 76015a9

Please sign in to comment.