This file contains hidden or 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
import java.util.Scanner; | |
public class Unit8Project | |
{ | |
public static void main (String[] args) | |
{ | |
String apassword1; | |
String apassword2; | |
Scanner keyboard = new Scanner(System.in); | |
System.out.print("Enter a password: "); | |
apassword1 = keyboard.nextLine(); |
This file contains hidden or 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
import java.util.Scanner; | |
public class Unit8Project | |
{ | |
public static void main (String[] args) | |
{ | |
String apassword1; | |
String apassword2; | |
Scanner keyboard = new Scanner(System.in); | |
boolean done = false; |
This file contains hidden or 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
- Alex Burkhart | |
- @Saterus | |
- neo.com | |
BASICS: | |
- REPL | |
- Ruby Classic: IRB | |
- ****gem install pry-plus**** |
This file contains hidden or 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
module EventuallyHelper | |
def eventually(options = {}) | |
timeout = options[:timeout] || 10 | |
interval = options[:interval] || 0.1 | |
time_limit = Time.now + timeout | |
loop do | |
begin | |
yield | |
rescue => error | |
end |