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 matplotlib.pyplot as plt | |
print('Ingrese la cantidad de numeros a generar') | |
cantidad=int(input()) | |
print('Digite el rango inferior') | |
inferior=int(input()) | |
print('Digite el rango superior') | |
superior=int(input()) | |
Xi=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
// step 1 install java | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer | |
sudo npm install java --save | |
// step 2 using | |
var java = require("java"); | |
var jarfile = "jarfileName.jar"; | |
java.classpath.push(jarPath); |
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
W = [4, 67, 21, 54, 11] | |
X1 =[21, 23, 30, 25, 33.9, 34.9, 35, 35.3, 32, 37] | |
X2 =[120, 122, 140, 90, 98, 149, 150, 160, 110, 180] | |
X3 =[190, 215, 240, 202, 120, 260, 85, 300, 305, 290] | |
X4 =[90, 119, 170, 100, 126, 179, 194, 200, 300, 240] | |
X5 =[1, 0, 0, 1, 1, 0, 1, 0, 0, 0] | |
salidaEsperada = [-1, -1, 1, -1, -1, 1, 1, 1, 1, 1] | |
bias = -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
1.mkdir: Para crear carpetas | |
Ejemplo: mkdir src/utils | |
2.touch: Para crear Archivos | |
Ejemplo: touch src/utils/file.ts |
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
*En el programa de node.js command console | |
npm install -g @nestjs/cli | |
npm i -g @nestjs/cli | |
nest new project-name | |
link de nest: https://docs.nestjs.com | |
*En vscode hacer esto en el archivo package.json | |
npm i --save typeorm-model-generator | |
npm i -g npx | |
npm start | |
se oprime la tecla Ctrl + c y despues se oprime S |
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
Añade la url de mi repositorio como upstream remote url | |
git remote add upstream https://github.com/CarlosOrtiz9901/Morelac.git | |
Este es una manera de decirle a git que otra versión de este proyecto existe en esa url y nosotros estamos llamando a su upstream. | |
git fetch upstream | |
Aquí estamos trayendo todos los cambios en mi fork (upstream remote) | |
git rebase upstream/master | |
Aquí tú estas aplicando todos los cambios anteriores en master branch. Si tú haces push en master branch ahora, tu fork también tendrá los cambios. |
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
feat: (new feature for the user, not a new feature for build script) | |
fix: (bug fix for the user, not a fix to a build script) | |
docs: (changes to the documentation) | |
style: (formatting, missing semi colons, etc; no production code change) | |
refactor: (refactoring production code, eg. renaming a variable) | |
test: (adding missing tests, refactoring tests; no production code change) | |
chore: (updating grunt tasks etc; no production code change) |