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
{ | |
"@context": { | |
"adms": "http://www.w3.org/ns/adms#", | |
"cc": "http://creativecommons.org/ns#", | |
"cpsv": "http://purl.org/vocab/cpsv#", | |
"cv": "http://data.europa.eu/m8g/", | |
"dcat": "http://www.w3.org/ns/dcat#", | |
"dcatap": "http://data.europa.eu/r5r/", | |
"dcterms": "http://purl.org/dc/terms/", | |
"dqv": "http://www.w3.org/ns/dqv#", |
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
@prefix dcat: <http://www.w3.org/ns/dcat#> . | |
@prefix dc: <http://purl.org/dc/terms/> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | |
<http://www.fundacionctic.org/breg-data#another-catalog> | |
a dcat:Catalog ; | |
dc:description "Another catalog description" ; | |
dc:identifier "Another catalog unique ID" ; | |
dc:title "Another catalog title" ; |
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
<?xml version="1.0"?> | |
<!DOCTYPE rdf:RDF [ | |
<!ENTITY dct "http://purl.org/dc/terms/"> | |
<!ENTITY foaf "http://xmlns.com/foaf/0.1/"> | |
<!ENTITY dcat "http://www.w3.org/ns/dcat#"> | |
<!ENTITY adms "http://www.w3.org/ns/adms#"> | |
<!ENTITY vann "http://purl.org/vocab/vann/"> | |
<!ENTITY cc "http://creativecommons.org/ns#"> | |
<!ENTITY owl "http://www.w3.org/2002/07/owl#"> | |
<!ENTITY vcard "http://www.w3.org/2006/vcard/ns#"> |
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
#include <Adafruit_NeoPixel.h> | |
#include <Arduino.h> | |
#include <Automaton.h> | |
const uint16_t LED_NUM_01 = 30; | |
const uint16_t LED_PIN_01 = 7; | |
const uint16_t LED_NUM_02 = 30; | |
const uint16_t LED_PIN_02 = 8; | |
const uint8_t LED_BRIGHTNESS = 180; |
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
import asyncio | |
import datetime | |
import functools | |
import json | |
import logging | |
import pprint | |
import random | |
import time | |
from wotpy.wot.enums import DataType |
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
import json | |
import math | |
import pprint | |
from pymongo import MongoClient | |
MONGO_URL = "mongodb://devit.fundacionctic.org:27117" | |
LOG_SCALE = False | |
SIZE_THRESHOLD = 200 |
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
from subprocess import Popen, PIPE | |
import pprint | |
TABLE_ALTERNATE = "alternate" | |
TABLE_DOCKER = "docker" | |
RT_TABLE_ALTERNATE = "1 {}".format(TABLE_ALTERNATE) | |
RT_TABLE_DOCKER = "2 {}".format(TABLE_DOCKER) | |
HOST_NET = "10.38.0.0/19" |
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
import pprint | |
import random | |
import matplotlib.pyplot as plt | |
import networkx as nx | |
MAT_ROWS = 7 | |
MAT_COLS = 7 | |
MAT_SIZE = MAT_ROWS * MAT_COLS | |
MAT_FOLD_SIZE = 3 |
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
import multiprocessing | |
import queue | |
import random | |
import time | |
def process_loop(input_queue, output_queue): | |
print("Initializing process loop") | |
while True: |
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
import pprint | |
import random | |
import matplotlib.pyplot as plt | |
import networkx as nx | |
MAT_ROWS = 7 | |
MAT_COLS = 7 | |
MAT_SIZE = MAT_ROWS * MAT_COLS | |
MAT_FOLD_SIZE = 3 |