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
| boolean autoTakeStepMode = false; | |
| boolean[] settings = {autoTakeStepMode}; | |
| String[] settingsMessages = {"Enable auto-take-step mode (y/n)?"}; | |
| String response = ""; | |
| for (int i = 0; i < settingsMessages.length; i++) { | |
| response = ui.getYesNoResponse(settingsMessages[i]); | |
| if (response.equals("y")) | |
| settings[i] = true; | |
| // autoTakeStepMode = true; | |
| else if (response.equals("n")) |
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
| /** | |
| * Remove '\n' and '\r' characters from string | |
| */ | |
| private String removeCRLF(String string) { | |
| return string.replace("\n", "").replace("\r", ""); | |
| } | |
| /** | |
| * Prints all possible guns the player can pick, gets user input, calls toLowerCase method | |
| * on user input, and returns it if it matches that of a valid gun. |
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
| j@j-desktop:~/Documents/_Github-Projects/turbo_palm_tree$ python3 test.py | |
| /usr/local/lib/python3.5/dist-packages/image_match-1.0.2-py3.5.egg/image_match/goldberg.py:402: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future | |
| POST http://localhost:9200/images/image [status:N/A request:0.000s] | |
| Traceback (most recent call last): | |
| File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 137, in _new_conn | |
| (self.host, self.port), self.timeout, **extra_kw) | |
| File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 91, in create_connection | |
| raise err | |
| File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 81, in create_connection | |
| sock.connect(sa) |
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
| Collecting cairocffi | |
| Downloading cairocffi-0.7.2.tar.gz (75kB) | |
| 100% |████████████████████████████████| 81kB 3.6MB/s | |
| Complete output from command python setup.py egg_info: | |
| Traceback (most recent call last): | |
| File "<string>", line 1, in <module> | |
| File "/tmp/pip-build-mxp3zsbs/cairocffi/setup.py", line 65, in <module> | |
| **cffi_args | |
| File "/usr/lib/python3.5/distutils/core.py", line 108, in setup | |
| _setup_distribution = dist = klass(attrs) |
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
| public class MyClass { | |
| public static void main(String[] args) { | |
| BigDecimal[] mathArray2 = mathStuff2(); | |
| System.out.println("mathStuff2 func return:"); | |
| for (BigDecimal num: mathArray2) { | |
| System.out.println(num); | |
| } | |
| public static BigDecimal[] mathStuff2() { |
NewerOlder