Skip to content

Instantly share code, notes, and snippets.

💃
Nothing to do here. Go to https://gitlab.com/mayra-cabrera instead

Mayra Cabrera mayra-cabrera

💃
Nothing to do here. Go to https://gitlab.com/mayra-cabrera instead
Block or report user

Report or block mayra-cabrera

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mayra-cabrera
mayra-cabrera / management.md
Last active Jan 23, 2017
Mejorar la coordinación y administración de proyectos
View management.md

Que los entregables del Design Sprint sean:

  • Resumen del proyecto
  • Prototipo
  • User stories (para poder bajarlo a nivel ingeniera)
@mayra-cabrera
mayra-cabrera / bing_google_maps.md
Last active Jan 12, 2017
Bing vs Google Maps Examples
View bing_google_maps.md

Bing Example

Ventajas:

  • Permite hasta 100 íconos en el mapa

Desventajas:

  • No es posible agregar estilos a los mapas
  • No permite los íconos personalizados, tenemos que elegir entre los que Bing sugiere (https://msdn.microsoft.com/en-us/library/ff701719.aspx), en este caso se eligió el 57 por ser el más parecido a nuestro diseño.
  • No es una tecnología familiar
View coordinate_formats.md

Valid formats for a coordinate point

# Latitude example 
N43°38'19.39"
N43°38'19.39'
N43°38"19.39"
N43°38"19.39"
43°38'19.39"N
43°38'19.39'N
@mayra-cabrera
mayra-cabrera / comandos.md
Last active Aug 31, 2016
Taller Software Ágil Comandos
View comandos.md

### Pruebas Unitarias

Para entrar al container

$ docker-compose run ruby bash

Instalar rspec dentro del container

@mayra-cabrera
mayra-cabrera / distance_in_words.yml
Last active Jun 30, 2016
Distance in words spanish
View distance_in_words.yml
date:
abbr_day_names:
- dom
- lun
- mar
- mié
- jue
- vie
- sáb
abbr_month_names:
@mayra-cabrera
mayra-cabrera / es.yml
Created Jun 29, 2016
es & en basic examples
View es.yml
es:
author: "Autor"
books: "Libros"
code: "Código"
name: "Nombre"
sign_in: "Iniciar Sesión"
View question.md
VAL = 'Global'
 
module Foo
  VAL = 'Foo Local'
 
  class Bar
    def value1
      VAL
    end
@mayra-cabrera
mayra-cabrera / ruby_patterns.md
Last active Feb 23, 2016
Ruby patterns example
View ruby_patterns.md

Null Object Pattern

Definir una clase que se comporte de las diferentes formas que esperas

class GeneralComment
  def self.find comment_id
    @comment = Comment.find(comment_id) || MissingComment.new
  end
end
@mayra-cabrera
mayra-cabrera / go_meetup.md
Last active Feb 4, 2016
Resumen Go Meetup: Construyendo un API en Beego
View go_meetup.md
View forecast_attributes_example.rb
{:line_item=>
{:start_date_time=>{:date=>{:year=>2016, :month=>1, :day=>27}, :hour=>17, :minute=>57, :second=>0, :time_zone_id=>"America/Mexico_City"},
:end_date_time=>{:date=>{:year=>2016, :month=>1, :day=>28}, :hour=>23, :minute=>59, :second=>0, :time_zone_id=>"America/Mexico_City"},
:line_item_type=>"STANDARD",
:cost_type=>"CPM",
:delivery_rate_type=>"EVENLY",
:primary_goal=>{:goal_type=>"LIFETIME", :unit_type=>"IMPRESSIONS", :units=>10},
:creative_rotation_type=>"EVEN",
:frequency_caps=>[{:max_impressions=>3, :num_time_units=>24, :time_unit=>"HOUR"}],
:creative_placeholders=>[{:size=>{:width=>728, :height=>90, :is_aspect_ratio=>false}, :creative_size_type=>"PIXEL"}],
You can’t perform that action at this time.