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
mysql> select * from german; | |
+----+-------+ | |
| id | word | | |
+----+-------+ | |
| 1 | hallo | | |
| 2 | welt | | |
+----+-------+ | |
2 rows in set (0.00 sec) | |
mysql> select * from english; |
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
mysql> create table language( | |
-> id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, | |
-> name VARCHAR(1000), | |
-> word VARCHAR(1000), | |
-> lang CHAR(5) | |
-> ); | |
Query OK, 0 rows affected (0.01 sec) | |
mysql> INSERT INTO language VALUES | |
-> (1,'HELLO','hallo','de_DE'), |
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
#anstelle von | |
def was_anderes(self): | |
if not hasattr(self,'variable'): | |
self.variable = new_variable() | |
#glaube ich, dass folgendes besser wäre: | |
def __init__(self): | |
self.variable = None |
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
# taken from https://wiki.python.org/moin/State%20Machine%20via%20Decorators | |
import types | |
import itertools | |
import logging | |
logging.basicConfig( | |
filename="gf_info.txt", | |
format = "%(levelname)-10s %(message)s", | |
level = logging.ERROR ) |
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
def generate_area(x,y, ignore): | |
""" generates a one dimensional representation of boolean values | |
the key part is that ignore contains a list of points that is set to false | |
""" | |
return [i not in ignore for i in range(x*y)] | |
def ignore_square(start, linelength): | |
""" generate a square of elements to ignore """ |
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
2021-10-01 13:59:01.451 tests.test_4taskrun.TestTaskRunner.test_runtime_memory.t:nop ERROR task nop ( Ln 3 Col 9) failed :: dir: "/tmp/miniwdl_test_taskrun_0uyaw6tp/20211001_135901_nop", error: "DockerException", message: "Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))" | |
2021-10-01 13:59:01.451 tests.test_4taskrun.TestTaskRunner.test_runtime_memory.t:nop ERROR task nop ( Ln 3 Col 9) failed :: dir: "/tmp/miniwdl_test_taskrun_0uyaw6tp/20211001_135901_nop", error: "DockerException", message: "Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))" | |
2021-10-01 13:58:57.995 tests.test_4taskrun.TestTaskRunner.test_errors.t:t ERROR task t ( Ln 3 Col 9) failed :: dir: "/tmp/miniwdl_test_taskrun_0y8msvie/20211001_135857_t", error: "DockerException", message: "Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))" | |
2021-10-01 13:58:5 |
OlderNewer