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
os: linux | |
dist: bionic | |
language: python | |
python: | |
- '3.7' | |
- '3.8' | |
cache: | |
pip: true |
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 requests | |
FORM_LINK = 'YOUR FORM LINK' | |
OPTION = 'OPTION YOU WANT' | |
FORM_ID = 'YOUR ID (check in headers of form submission)' | |
data = { | |
f'entry{FORM_ID}': OPTION, | |
'fvv': 1, | |
'pageHistory': 0, |
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 TOTAL 1000 | |
#define THREADS 10 | |
long value = 0; | |
int test() { |
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
''' | |
Created this for a school project. It works for both, matrices with even or odd orders. | |
''' | |
def iterate(mat): | |
order = len(mat) | |
cycles = order // 2 | |
# odd |
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
# Config for EDUROAM at UFSC | |
[service_eduroam] | |
Type=wifi | |
Name=eduroam | |
EAP=peap | |
CACertFile=/etc/ssl/certs/ca-certificates.crt | |
Phase2=MSCHAPV2 | |
Identity=**** # UFSC email | |
Passphrase=**** # UFSC password |
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
-1.0 200 0 0 | |
-0.3 255 40 0 | |
-0.1 255 150 0 | |
0.1 255 240 0 | |
0.3 0 230 0 | |
0.5 0 190 0 | |
1.0 0 130 0 | |
nv 0 0 0 0 |
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 flask import Flask, request, jsonify | |
app = Flask(__name__) | |
@app.route('/ping', methods=['GET']) | |
def ping(): | |
return "pong" |
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
ID DA IES | SIGLA DA IES | MATRICULADOS | |
---|---|---|---|
673 | UNIGRAN | 24206 | |
322 | UNIP | 431410 | |
3333 | FTEC | 3801 | |
671 | ANHANGUERA | 157576 | |
1 | UFMT | 20881 | |
1028 | UEMS | 7454 | |
1041 | UNIVATES | 8150 | |
1042 | UP - POSITIVO | 26549 | |
1043 | UNIARARAS | 12925 |
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
class Router(object): | |
def __init__(self): | |
super(Router, self).__init__() | |
self.handlers = {} | |
def method(self, name: str): | |
def wrapper(func: callable): | |
self.add_handler(name, func) | |
def wrapped(*args, **kwargs): | |
return func(*args, **kwargs) |
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
{ | |
"01CCV": [ | |
-180, | |
-73.0646329437, | |
180, | |
178.4323118931 | |
], | |
"01CDH": [ | |
-180, | |
-83.835333895, |
OlderNewer