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> | |
/***** CONSTANTES *****/ | |
/* | |
Las constantes dentro del programa (aquellos numeros que solo sirvan para producir OTROS numeros) | |
las defines con la siguiente sintaxis | |
#define <nombre de la constante> <valor> | |
::Consideraciones:: |
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 <iostream> | |
#include <stdio.h> | |
#include <stdlib.h> | |
using namespace std; | |
template <class T> | |
void read_input(T &var){ | |
while(! (cin>>var) ){ | |
printf(" ingrese un numero"); |
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
//valentina azocar ci 24753255 | |
#include <iostream> | |
#include <stdio.h> | |
#include <stdlib.h> | |
using namespace std; | |
template <typename T> | |
void read_input(T &var){ |
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 | |
class persona | |
{ | |
private $cedula; | |
private $nombre; | |
private $apellido; | |
function __construct($nombre,$apellido,$cedula) | |
{ | |
$this->nombre=$nombre; |
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 pyorient | |
from my_api import exceptions, config | |
class Binary(CDBCI): | |
client = None | |
_connected = False | |
def __init__(self, autoConnect = True, settings={}): | |
self._settings = config.db['binary'].copy() | |
self._settings.update(settings) |
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 | |
/** | |
* HTTP-Verb-Aware Controller | |
*/ | |
class MY_Controller extends CI_Controller { | |
public $viewData = array( ); | |
public function _remap( $method, $params ) { | |
$method = strtolower( $_SERVER[ 'REQUEST_METHOD' ] ) . '_' . $method; |
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 | |
/** | |
* JSON Controller | |
*/ | |
class JSON_Controller extends CI_Controller { | |
public function _remap( $method, $params ) { | |
// si esta extendiendo de alguna clase que tenga _remap declarado: | |
// $result = parent::_remap( $method, $params ); | |
// sino |
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
{ | |
"ci": "V-23683862", | |
"nb": "JOSE DANIEL GOMEZ RODRIGUEZ", | |
"cv": "LICEO BOLIVARIANO ANTONIO JOSE DE SUCRE", | |
"dir": "URBANIZACI\u00c3\u0093N CALLE CATEDRAL DERECHA CALLE NIQUITAO. IZQUIERDA CALLE MONTES. FRENTE CALLE GENERAL SALON CALLE GENERAL SALOM CUMANA CASA", | |
"stdo": "EDO. SUCRE", | |
"mcp": "CE. SUCRE", | |
"par": "PQ. SANTA INES", | |
"st": "", | |
"servicio": "Usted NO fue seleccionado para prestar el Servicio Electoral.", |
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
\documentclass[a4paper]{article} | |
\usepackage[english]{babel} | |
\usepackage[utf8x]{inputenc} | |
\usepackage{amsmath} | |
\usepackage{amssymb} | |
\usepackage{amsthm} | |
\newtheorem{teo}{Teorema}[section] | |
\begin{document} |
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 code import InteractiveConsole | |
import sys | |
import readline | |
import textwrap | |
sys.ps1 = "--> " | |
sys.ps2 = " " | |
class DiggiCLI(InteractiveConsole): | |
def raw_input(self, prompt): |
OlderNewer