This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num_of_passengers = gets | |
if num_of_passengers != nil | |
num_of_passengers = num_of_passengers.chomp.to_i | |
else | |
exit(0) | |
end | |
seat_structure_raw_input = gets(nil) | |
if seat_structure_raw_input != nil | |
seat_structure_raw_input = seat_structure_raw_input.chomp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
# Basic settings: | |
# domain - The hostname to SSH to | |
# deploy_to - Path to deploy into | |
# repository - Git repo to clone from (needed by mina/git) | |
# user - Username in the server to SSH to (optional) |