 arquitectura, hace que ahora sea más | |
difícil entender exactamente todos los puntos por los que pasa. | |
En esta charla, comentaré todos los puntos por los que avanza un request desde que sale del | |
browser hasta que llega convertido en un flamante response. |
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
Las madres saben mucho. Sus frases míticas son perlas de sabiduría popular que todo el mundo puede entender. | |
En esta charla, presentaré algunos principios de diseño de código (SOLID, encapsulación...) usando frases de madre y un enfoque fácil de entender para que puedas mejorar tus habilidades como desarrollador. | |
Algunas de las frases que usaré son: | |
* Si es que no estás a lo que tienes que estar. | |
* Mientras vivas en esta casa... (a.k.a. a ver cuando te independizas). | |
* Me da igual que lo hagas tú que tu hermana, pero cuando vuelva que esté hecho. | |
* No les llames tú, que hagan gasto ellos. | |
* No hables con desconocidos. |
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. git clone VUESTRA_URL_DEL_PROYECTO | |
2. copiais el proyecto a la carpeta que se acaba de crear | |
----- | |
3. git add * | |
4. git commit -m "proyecto vacío" | |
5. git push origin master | |
--- | |
Cada vez que queráis algo repetís 3,4,5 |
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
# Update System | |
# ------------------------------------------------------------------------------ | |
echo 'Updating System...' | |
sudo apt-get -y update | |
# Hardware | |
# ------------------------------------------------------------------------------ | |
echo 'Installing bumblebee' | |
sudo add-apt-repository -y ppa:bumblebee/stable && sudo apt-get update | |
sudo apt-get -y install bumblebee bumblebee-nvidia |
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
#%RAML 0.8 | |
title: Uber | |
version: v1 | |
baseUri: https://{apiMode}.uber.com/{version} | |
baseUriParameters: | |
apiMode: | |
description: In order to use the Sandbox environment set 'sandbox-api'. Otherwise set 'api'. | |
enum: [ sandbox-api, api ] | |
securitySchemes: | |
- oauth_2_0: !include securitySchemes/oauth_2_0.raml |
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
from google.appengine.ext import vendor | |
vendor.add('lib') | |
import json | |
import os | |
import webapp2 | |
#from oauth2client.contrib.appengine import AppAssertionCredentials | |
from httplib2 import Http |
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
{ | |
"config": { | |
"encoding":"FLAC", | |
"sample_rate": 16000, | |
"languageCode": "en-GB" | |
}, | |
"audio": { | |
"uri":"gs://formatinternet_misc/theresa_may_mp_extract.flac" | |
} | |
} |
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
#put this file on your locales directory where you have your yaml files | |
{ :es => { | |
:countries => { | |
:AC => "Isla de la Ascensión", | |
:AD => "Andorra", | |
:AE => "Emiratos Árabes Unidos", | |
:AF => "Afganistán", | |
:AG => "Antigua y Barbuda", |
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
#!/usr/bin/env python | |
# to debug dbus, try dbus-monitor "type='signal',sender='im.pidgin.purple.PurpleService',interface='im.pidgin.purple.PurpleInterface',member='ReceivedImMsg'" | |
import tkinter as tk | |
import tkinter.scrolledtext as tkst | |
from pydbus import SessionBus | |
from gi.repository import GObject | |
from gi.repository import GLib |