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
//Bibliotecas para o display com I2C | |
#include <LCD.h> | |
#include <LiquidCrystal.h> | |
#include <LiquidCrystal_I2C.h> | |
#include <LiquidCrystal_SR.h> | |
#include <LiquidCrystal_SR3W.h> | |
#include <Wire.h> | |
#include <Keypad.h> | |
#define lcdprint(x, y, text) lcd.setCursor(x, y); lcd.print(text) |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<% | |
Response.Write("Hello World!") | |
%> | |
</body> | |
</html> |
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
<?php | |
// Inclui a conexão | |
include_once('../../../../Connections/cartografia.php'); | |
// Criando a consulta ao Banco de dados | |
$resultado = mysql_query('SELECT * FROM markers ORDER BY id ASC'); | |
while($dados = mysql_fetch_array($resultado)) { | |
echo 'Nome: '.$dados['name'].', e-mail: '.$dados['type'].'<br />'; | |
echo "<script>"; |
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 types import FunctionType | |
import inspect | |
def extract_wrapped(decorated): | |
closure = (c.cell_contents for c in decorated.__closure__) | |
return next((c for c in closure if isinstance(c, FunctionType)), None) | |
inspect.getsource(extract_wrapped(your_func)) |