Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
--- | |
- name: Add Anaconda to Pool | |
hosts: pool | |
user: root | |
tasks: | |
- name: Check, if Anaconda is installed | |
stat: path=/opt/anaconda3/bin/conda | |
register: conda |
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
# Dockerfile | |
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y git python3-pip | |
RUN pip3 install -U pip | |
RUN pip3 install --user git+git://github.com/ASPP/pelita | |
ADD pelita_hidden_players /pelita-hidden-players |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import sys | |
import time | |
import numpy as np | |
import numpy.random as rn | |
def fftbench(size): | |
mat = rn.rand(size, size) + 1j * rn.randn(size, size) | |
start = time.time() |
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
import pandas as pd | |
# This needs to be exported from Pecunia (in that order!) | |
names = [ | |
'Datum', # Called 'Buchungsdatum' in Pecunia | |
'Wertstellung', # 'Valutadatum' | |
'Kategorien', | |
'Name', # 'Empfänger' | |
'Verwendungszweck', | |
'IBAN Empfänger', |
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
layout=""" | |
######## | |
# ###E0# | |
#1E # | |
######## | |
""" | |
str = str(create_layout(layout, food=[(1, 1)], bots=[(1, 2), (1, 2)], enemy=[(1, 1), (1, 1)])) | |
assert str == """ | |
######## |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.