Skip to content

Instantly share code, notes, and snippets.

View erikbgithub's full-sized avatar

Erik Bernoth erikbgithub

View GitHub Profile
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
@erikbgithub
erikbgithub / generate_chips.py
Created August 12, 2016 21:57
how I would do it
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 """
# 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 )
#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
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'),
mysql> select * from german;
+----+-------+
| id | word |
+----+-------+
| 1 | hallo |
| 2 | welt |
+----+-------+
2 rows in set (0.00 sec)
mysql> select * from english;
![center](/erikb85/master-thesis/raw/logo-1/planning/logo.png) This is an image

Hi !

#container { height:100px; line-height:100px;

import sys
import os
import inspect
#enable importing from one path up
sys.path.append(os.path.abspath(os.path.dirname(inspect.getfile(inspect.currentframe())))+'/..')
c0419bt_.pfb -bitstream-courier 10 pitchhelvetica-medium-r-normal--0-0-0-0-m-0-adobe-standard
c0419bt_.pfb -bitstream-courier 10 pitchhelvetica-medium-r-normal--0-0-0-0-m-0-ascii-0
c0419bt_.pfb -bitstream-courier 10 pitchhelvetica-medium-r-normal--0-0-0-0-m-0-iso10646-1
c0419bt_.pfb -bitstream-courier 10 pitchhelvetica-medium-r-normal--0-0-0-0-m-0-iso8859-1
c0582bt_.pfb -bitstream-courier 10 pitchhelvetica-medium-i-normal--0-0-0-0-m-0-adobe-standard
c0582bt_.pfb -bitstream-courier 10 pitchhelvetica-medium-i-normal--0-0-0-0-m-0-ascii-0
c0582bt_.pfb -bitstream-courier 10 pitchhelvetica-medium-i-normal--0-0-0-0-m-0-iso10646-1
c0582bt_.pfb -bitstream-courier 10 pitchhelvetica-medium-i-normal--0-0-0-0-m-0-iso8859-1
c0583bt_.pfb -bitstream-courier 10 pitchhelvetica-bold-r-normal--0-11-0-0-m-0-adobe-standard
c0583bt_.pfb -bitstream-courier 10 pitchhelvetica-bold-r-normal--0-11-0-0-m-0-ascii-0