Skip to content

Instantly share code, notes, and snippets.

View andfoy's full-sized avatar

Edgar Andrés Margffoy Tuay andfoy

View GitHub Profile
# -*- coding: utf-8 -*-
#
# Copyright © Spyder Project Contributors
# Licensed under the terms of the MIT License
#
"""Tests for the plugin."""
# Test library imports
# Third party imports
import numpy as np
from Cython.Build import cythonize
from setuptools import Extension, find_packages, setup
ext_modules = [
Extension(
'util.nms',
sources=['util/external/nms.pyx'],
include_dirs=[np.get_include()],
imgDir = 'BSR/BSDS500/data/images/test';
gtDir = 'BSR/BSDS500/data/groundTruth/test';
inDir = '<Folder that contains the .mat files>';
outDir = 'eval/test/<name_of_yout_method>';
mkdir(outDir);
nthresh = 99;
tic;
allBench_fast(imgDir, gtDir, inDir, outDir, nthresh);
toc;
# Enumerate all the Tornado servers here
upstream frontends {
server 127.0.0.1:8000;
}
server {
listen 80;
server_name webhook.margffoy-tuay.com;
# Allow file uploads
client_max_body_size 50M;
tamBuffer=4
numClientes=12
12
12
12
12
12
12
12
12
tamBuffer=4
numClientes=2
10
10
numServidores=7
tamBuffer=4
numClientes=6
7
7
7
7
7
7
numServidores=4
tamBuffer=4
numClientes=1
8
numServidores=1
@andfoy
andfoy / npm
Created September 20, 2016 20:16
sudo npm install -g node-red-contrib-mongodb2 && sudo npm install -g node-red-dashboard && sudo npm install -g node-red-node-arduino && sudo npm install -g node-red-node-mongodb && sudo npm install -g node-red-node-random
DECLARE
sql_stmt VARCHAR(1000);
csr SYS_REFCURSOR;
table_name VARCHAR(31);
n_cols DOUBLE PRECISION;
n_fks DOUBLE PRECISION;
n_rows DOUBLE PRECISION;
BEGIN
FOR x IN (SELECT INST FROM
(SELECT TABLE_NAME, 'SELECT b.TABLE_NAME NOMBRETABLA, NVL(NUMFK, 0), NUMCOLS, NUMFILAS FROM