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
| # Classifier | |
| y = [0;0;0;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0]; | |
| # Imagen | |
| x = [0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;1;1;1;0;0;0;0;1;1;1;0;0;0;0;0]; | |
| # 3 layers | |
| theta1 = (rand(400, 401)*2)-1; | |
| theta2 = (rand(400, 401)*2)-1; | |
| theta3 = (rand(27, 401)*2)-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
| <html> | |
| <head> | |
| <style type="text/css"> | |
| body { | |
| font-family: sans-serif; | |
| font-size: 14px; | |
| } | |
| </style> | |
| <title>Google Maps JavaScript API v3 Example: Places Autocomplete</title> |
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
| ACTIVITY_LENGUAGE_CHOICE = ( | |
| ('español', 'Español'), | |
| ('english', 'English'), | |
| ) | |
| class UserProfile(models.Model): | |
| # relations | |
| user = models.OneToOneField(User) |
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
| ################ LOGEO ##################### | |
| usshorario.ddns.net:8080/auth/login [POST] | |
| HEADER: | |
| Content-Type: application/json; charset=utf-8 | |
| BODY: | |
| { | |
| "username": "17.304.391-0", | |
| "password": "password" | |
| } |
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
| ! -------------Frame Relay------------- | |
| ! R1 | |
| int loopback 0 | |
| ip add 1.1.1.1 255.255.255.0 | |
| no shut | |
| int s0/0/0 | |
| enc frame | |
| no shut |
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
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| sufix_noun_singular_plural = { | |
| 'a': 'as', 'b': 'bes', 'c': 'cs', 'd': 'des', 'e': 'es', 'f': 'fs', | |
| 'g': 'gs', 'i': 'is', 'j': 'jes', 'k': 'ks', 'l': 'les', 'm': 'ms', | |
| 'n': 'nes', 'o': 'os', 'p': 'ps', 'r': 'res', 's': 'es', 't': 'ts', | |
| 'u': 'us', 'v': 's', 'x': 'xes', 'z': 'ces' | |
| } |
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
| # -*- coding: utf-8 -*- | |
| from PIL import Image | |
| from PIL import ImageFilter | |
| # Get an image | |
| image = Image.open('images/image.jpg') | |
| # Get the contour | |
| image = image.filter(ImageFilter.CONTOUR) |
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
| # views.py | |
| from itertools import izip_longest | |
| # ... | |
| jugadores = list(izip_longest(jugador_l, jugador_v, fillvalue=None)) | |
| # ... | |
| # template.html | |
| # ... | |
| {% for vs_jugadores in jugadores %} | |
| {% if vs_jugadores.0 %}{{ vs_jugadores.0 }}{% endif %} |
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
| mascara 25 = 255.255.255.128 | |
| mascara 29 = 255.255.255.248 | |
| # Configurar Vlan 30 y 40 en switch SW1 | |
| enable | |
| conf t | |
| vlan 30 | |
| name MKT | |
| vlan 40 | |
| name ING |
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
| [ | |
| { | |
| "classroom_number": "A405 ", | |
| "created": "2015-08-07T03:46:03.102790Z", | |
| "day": "LU", | |
| "id": 7, | |
| "journal": "BESPA", | |
| "modified": "2015-08-07T03:46:03.109032Z", | |
| "module": 1, | |
| "name": "INTELIGENCIA DE NEGOCIOS", |