adition = 3 + 5 # Adición
substraction = 10 - 5 # Sustracción
multiplication = 3 * 5 # Multiplicación
division = 30 / 6 # División
exponent = 2 ** 3 # Exponente- Usa pipenv para instalar los paquetes (no mas pip y virtualenv separados)
- Usa pipenv para instalar los paquetes (no mas pip y virtualenv separados)
- ES6
- Functional Programming
- https://blog.daftcode.pl/get-functional-3eaceb76258f
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 angular from 'angular'; | |
| import UIkit from 'uikit'; | |
| import template from 'app/components/menumobile/menumobile.pug'; | |
| const MenuMobileComponent = { | |
| bindings: { | |
| user: '=', | |
| }, | |
| controller: class MenuMobileController { | |
| static $inject = ['$rootScope', '$scope']; |
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
| .= .- := =:= __ | |
| == != === !== =/= | |
| <-< <<- <-- <- <-> -> --> ->> >-> | |
| <=< <<= <== <=> => ==> =>> >=> | |
| >>= >>- >- <~> -< -<< =<< | |
| <~~ <~ ~~ ~> ~~> | |
| <<< << <= <> >= >> >>> | |
| <|||<|| <| <|> |> ||> |||> |
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
| Profile config | |
| username: ubuntu | |
| server: localhost/127.0.0.1 or <public_network_ip> (Vagrantfile) | |
| ssh: 22 or <custom_port_ssh> | |
| initial directory: /vagrant or /home/<any_user_in_vagrant> | |
| authentication method: | |
| private key file: | |
| <vangrat_folder>/.vagrant/machines/default/virtualbox/private_key | |
| remote server command: sudo -i nuclide-start-server |
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 os | |
| import sys | |
| path = '/home/{mi usuario}/default' | |
| if path not in sys.path: | |
| sys.path.append(path) | |
| from django.core.wsgi import get_wsgi_application | |
| os.environ.setdefault("DJANGO_SETTINGS_MODULE", "default.settings") |
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
| django-admin.py startproject default |
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
| pip install django |