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
| <?php | |
| class Estudiante{ | |
| public $nombre=""; | |
| public $matricula=""; | |
| public $carrera=""; | |
| public $indice=0.0; | |
| function __construct($nombre,$matricula,$carrera,$indice){ | |
| $this->nombre=$nombre; | |
| $this->matricula=$matricula; |
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
| <script> | |
| var Z; | |
| var I=[1,2]; // Producto | |
| var J=["f","m"]; // Mes | |
| var K=[1,2]; // Planta | |
| var L=[1,2]; // Proceso | |
| var M=[1,2]; // Region | |
| // Demanda del producto i, en el mes j, en la region m |
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
| from time import sleep | |
| import RPi.GPIO as GPIO | |
| GPIO.setup(13, GPIO.OUT) | |
| GPIO.setup(15, GPIO.OUT) | |
| GPIO.setup(16, GPIO.OUT) | |
| while 1: | |
| GPIO.output(13, False) | |
| sleep(1) | |
| GPIO.output(13, True) | |
| sleep(1) |
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
| [H[J[1;31m | |
| ___ _ | |
| / __`\\ ___ /`/ | |
| / /_/ / _ __ /`[1;32m _ [1;31m`\\ / / __ _ _ __ __ | |
| / _ ,-'/`,`\\ /`__>/ [1;32m |_|[1;31m // .`\\/._\\ /`_>/`_>/ / / / | |
| /_/ \\_\\ \\__,_>_\\ \\ / ,___,'/ ^ /\\__>/_/ /_/ \\_`` / | |
| <____// / [1;32m| |[1;31m `'~'` _____] | | |
| / / [1;32m|_|[1;31m <_______/ | |
| /_/ |
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 -xe | |
| # Configuring git to show colors in console | |
| git config --global color.ui true | |
| # Add aliases for basic git commands | |
| git config --global alias.cp cherry-pick | |
| git config --global alias.all 'add --all' | |
| git config --global alias.st 'status' | |
| git config --global alias.sts 'status -s' |
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
| syntax enable | |
| filetype plugin indent on | |
| colorscheme kolor | |
| set history=700 " Sets how many lines of history VIM has to remember | |
| set autoread " Set to auto read when a file is changed from the outside |
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
| /*Definicion*/ | |
| #ifndef READER_H | |
| #define READER_H | |
| #include <iostream> | |
| #include "string.h" | |
| typedef unsigned int uint; | |
| using namespace std; | |
| class Reader{ | |
| public: |