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 operator | |
class Operator(object): | |
'''Chaineable and lazy operations''' | |
def __init__(self, value, *args): | |
self._value = value | |
self._args = args |
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
FROM python:3.6 | |
# variables de entorno | |
ENV DJANGO_SETTINGS_MODULE "project.settings.production" | |
ENV SECRET_KEY "##########################################" | |
WORKDIR /app |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <omp.h> | |
#define PARENT_TID 0 | |
int main() { | |
int tid; | |
#pragma omp parallel | |
{ |