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
docker run d -p 1025:1025 -p 8025:8025 --name mailhog mailhog/mailhog |
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
du -sh * | sort -hr | head -n10 |
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 "sshkit" | |
require "sshkit/dsl" | |
class Shell | |
include SSHKit::DSL | |
def initialize(server, component) | |
@server = server | |
@base_dir = "/Users/fernando/test/.scripts" | |
@script_name = generate_script_name |