Skip to content

Instantly share code, notes, and snippets.

@korjjj
korjjj / terminal command
Last active February 19, 2020 01:55
GNS3 preferences terminal command
if tmux has-session -t gns3; then if ! tmux find-window %d; then tmux new-window -n %d "telnet %h %p"; fi; else xterm -e tmux new-session -s gns3 -n %d "telnet %h %p"; fi
@korjjj
korjjj / deploy.rb
Created August 20, 2013 05:02 — forked from kix/deploy.rb
set :application, "AppName"
set :repository, "git@github.com:path/toRepo.git"
set :deploy_to, "/app/appname"
set :deploy_via, :copy
set :stage_dir, "config/stages"
set :current_dir , "www"
set :default_stage, "dev"
set :stages, %w(dev testing prod)
set :use_sudo, false