
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Create and manage tmux and iTerm2 sessions easily. Fork of (Tmuxinator).
Note: while Terminitor has iTerm support, it relies on sending keypresses to iTerm. This project uses AppleScript and can, therefore, connect with iTerm on a deeper level. I also like tmuxinator's config format and it's nice to have one config that can be used on a Mac or a non-GUI'd machine.
$ gem install dkastner-tmuxinator
Note: This fork plays well with existing tmuxinator installs.
Then follow the instructions. You just have to drop a line in your ~/.bashrc file, similar to RVM if you've used that before:
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator
tmuxinator uses your shell's default editor for opening files. If you're not sure what that is type:
$ echo $EDITOR
For me that produces "vim" If you want to change your default editor simple put a line in ~/.bash_profile that changes it. Mine looks like this:
export EDITOR='vim'
It also uses $SHELL variable. which is always set by your shell.
$ tmuxinator new project_name
Create or edit your projects with this command, for editing you can also use tmuxinator open project_name
. new
aliased to o
,open
and n
. Your default editor ($EDITOR) is used to open the file. If this is a new project you will see this default config:
# ~/.tmuxinator/project_name.yml
# you can make as many tabs as you wish...
project_name: Tmuxinator
project_root: ~/code/rails_project
rvm: 1.9.2@rails_project
pre: sudo /etc/rc.d/mysqld start
tabs:
- editor:
layout: main-vertical
panes:
- vim
- #empty, will just run plain bash
- top
- shell: git pull
- database: rails db
- server: rails s
- logs: tail -f logs/development.log
- console: rails c
- capistrano:
- server: ssh me@myhost
If a tab contains multiple commands, they will be 'joined' together with '&&'. If you want to have your own default config, place it into $HOME/.tmuxinator/default.yml
The pre
command allows you to run anything before starting the tmux/iTerm session. Could be handy to make sure you database daemons are running. Multiple commands can be specified, just like for tabs.
you can define your own panes inside a window likes this:
- window_with_panes
layout: main-vertical
panes:
- vim
- #empty, will just run plain bash
- top
$ start_project_name
This will fire up tmux with all the tabs you configured.
$ iterm_project_name
This will fire up iTerm with all the tabs you configured.
After you create a project, you will have to open a new shell window. This is because tmuxinator adds an alias to bash (or any other shell you use, like zsh) to open tmux with the project config. You can reload your shell rc file instead of openning a new window like this, for instance in bash you could do this:
$ source ~/.bashrc
$ tmuxinator copy existing_project new_project
Copy an existing project. aliased to c
$ tmuxinator update_scripts
Re-create the tmux and iTerm scripts and aliases from the configs. Use this only if you edit your project configs outside of tmuxinator, i.e. not using "tmuxinator open xxx".
$ tmuxinator list
List all the projects you have configured. aliased to l
$ tmuxinator delete project_name
Remove a project
$ tmuxinator implode
Remove all tmuxinator configs, aliases and scripts. aliased to i
$ tmuxinator doctor
Examines your environment and identifies problems with your configuration
$ tmuxinator version
shows tmuxinator's version. aliased to v
$ tmuxinator help
shows tmuxinator's help. aliased to h
Copyright (c) 2010 Derek Kastner. See LICENSE.txt for further details.
FAQs
Unknown package
We found that dkastner-tmuxinator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.