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
print("Hello, world!") |
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
<!DOCTYPE html> | |
<!--[if IE 9]><html class="ie9 login-pf"><![endif]--> | |
<html class='login-pf rcue-login' lang='en'> | |
<head> | |
<title> | |
ManageIQ»: Login« | |
</title> | |
<link rel="shortcut icon" type="image/x-icon" href="/assets/favicon-6ca95f7b93eeb006088db7dd238353e62eb9ad976446654600ad6d42e2d62ae2.ico" /> | |
<link rel="stylesheet" media="screen" href="/assets/c3/c3.self-8395dac21d80c3e587facff99c7a06d6c89dce22afec2d95e6258cc0c0aec4bb.css?body=1" /> |
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
#!/usr/bin/env ruby | |
# make sure you have gem 'rubocop-git' in your Gemfile | |
require 'readline' | |
def input(prompt="", newline=false) | |
prompt += "\n" if newline | |
Readline.readline(prompt, true).squeeze(" ").strip | |
end |