This file contains hidden or 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
#line 3 "lex.yy.c" | |
#define YY_INT_ALIGNED short int | |
/* A lexical scanner generated by flex */ | |
#define FLEX_SCANNER | |
#define YY_FLEX_MAJOR_VERSION 2 | |
#define YY_FLEX_MINOR_VERSION 5 | |
#define YY_FLEX_SUBMINOR_VERSION 35 |
This file contains hidden or 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
%{ /∗ programa en f l e x para s imu lar un DFA ∗/ | |
%} | |
%x B C | |
%% | |
<INITIAL>0 { yymore ( ) ; BEGIN(B) ; } | |
<INITIAL>1 { yymore ( ) ; BEGIN(C) ; } | |
<INITIAL>\n { printf ( " No estás en un estado final\n " ) ; exit ( 1 ) ; } | |
<INITIAL>[^01] { printf ( " Sólo ceros y unos!\ n " ) ; exit ( 1 ) ; } | |
<B>0 { yymore ( ) ; BEGIN(C) ; } | |
<B>1 { yymore ( ) ; BEGIN(B) ; } |
This file contains hidden or 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
#!/bin/bash | |
# Variables para el Mes y el Año | |
export Month=$(LANG=es_MX.utf8 date --d now +%B) | |
export Year=$(LANG=es_MX.utf8 date --d now +%Y) | |
export Unit=$(cat /security/keys/Unit) | |
perl -MDigest::MD5 -e 'print Digest::MD5::md5_hex($ENV{Month}._.$ENV{Year}._Unidad_.$ENV{Unit});' |
This file contains hidden or 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 java.awt.Color; | |
import java.awt.Graphics2D; | |
import java.awt.geom.*; | |
import java.util.ArrayList; | |
public class Nodo { | |
double x, y; | |
private Point2D Origen; | |
Rectangle2D Cuadro; |
This file contains hidden or 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
/* Benemerita Universidad Autonoma de Puebla | |
* Facultad de Ciencias de la Computación | |
* | |
* Luis Angel Cerritos Ortiz | |
* cerros.mach@gmail.com | |
* Clase Pedorra que Conecta a mySQL desde PHP */ | |
<?php | |
class DB_MySQL { |