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 <SoftwareServo.h> | |
//constantes | |
const int MAX_SERVOS = 2; | |
const int servoInput[MAX_SERVOS] = { 3,2 }; | |
const int sensorPerto = 500; | |
const int sensorLonge = 4500; | |
const int maxLeituraPorSensor = 5; | |
const int servoPosLonge[MAX_SERVOS] = {0,160 }; |
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 os | |
import sys | |
import base64 | |
from stat import S_ISREG | |
import itertools | |
if __name__ == "__main__": |
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
format PE console 4.0 | |
entry start | |
include 'win32a.inc' | |
section '.data' data readable writeable | |
_fmt db "%s",0 | |
num1 dd 0 | |
num2 dd 0 | |
res dd 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 <allegro5/allegro.h> | |
#include <allegro5/allegro_image.h> | |
#include <allegro5/allegro_primitives.h> | |
#include <allegro5/allegro_opengl.h> | |
#include <allegro5/allegro_audio.h> | |
#include <allegro5/allegro_acodec.h> | |
#include <allegro5/allegro_ttf.h> | |
#include <allegro5/allegro_native_dialog.h> | |
#include <cstdio> |
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 <allegro5/allegro.h> | |
#include <allegro5/allegro_acodec.h> | |
#include <allegro5/allegro_audio.h> | |
#include <allegro5/allegro_font.h> | |
#include <allegro5/allegro_image.h> | |
#include <allegro5/allegro_primitives.h> | |
#include <allegro5/allegro_ttf.h> | |
#include <allegro5/allegro_native_dialog.h> | |
#include <stdio.h> |
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
regex usado: ^([?|!])[\s](.+[aA-zZ0-9])[\s](.+[aA-zZ0-9])$ | |
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
[xdebug] | |
zend_extension=xdebug | |
xdebug.remote_enable=1 | |
xdebug.remote_port=9000 | |
xdebug.remote_autostart=1 | |
xdebug.remote_host=localhost | |
xdebug.remote_log="/tmp/xdebug.log" | |
xdebug.remote_connect_back=1 | |
xdebug.remote_handler=dbgp | |
xdebug.idekey="VSCODE" |
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
#!/usr/bin/python3.7 | |
import os | |
import sys | |
import json | |
import csv | |
def usage(): | |
print("=======================") | |
print("gen_tiles.py <file.csv>") | |
print("=======================") |
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 "include/engine/level/CB_Level.h" | |
#include "include/engine/CB_Debug.h" | |
#include <fstream> | |
CB_Level::CB_Level() | |
{ | |
map_tiles = new CB_Tile[ MAX_GRID_SIZE_W * MAX_GRID_SIZE_H ]; | |
InitFreshMap(); | |
} |
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
public function adicionar_curso($processo_id){ | |
$instituicao_id = $_SESSION['access_adm']['instituicao']; | |
//$processo_id = $_SESSION['access_adm']['processo']; | |
$cursos = $this->processoModel->listarCursosCadastradosEmProcesso($processo_id); | |
$processos = $this->processoModel->listarProcessos(); | |
$this->form_validation->set_rules('processos', 'Processos', 'required|trim|is_numeric'); | |
if($this->form_validation->run() == FALSE){ |
NewerOlder