Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Stella Miranda stellamiranda

:octocat:
View GitHub Profile
View lab-01.MD
@stellamiranda
stellamiranda / actividad.md
Last active Nov 13, 2020
Actividad en clase
View actividad.md

Diseñando Twitter

Diseñemos un servicio de redes sociales similar a Twitter. Los usuarios del servicio podrán publicar tweets, seguir a otras personas y favoritos tweets.

Requerimientos funcionales

  1. Los usuarios deberían poder publicar nuevos tweets.
  2. Un usuario debería poder seguir a otros usuarios.
  3. Los usuarios deberían poder marcar los tweets como favoritos.
View Assignment-04.md

Assignment-04

FECHA DE ENTREGA:

Mayo 28, 2020 - 2:30 PM

VALOR:

20%

MODALIDAD DE ELABORACIÓN:

Grupal. Grupo del Entregable 01, 02 y 03

@stellamiranda
stellamiranda / rspec.yml
Last active Oct 16, 2020
Gihub Actions workflow to run rspec on simple rails app
View rspec.yml
env:
RUBY_VERSION: 2.7.1
name: Rails tests
on: [push,pull_request]
jobs:
rspec-test:
name: RSpec
runs-on: ubuntu-18.04
steps:
View Assignment-02.MD

Entregable

Funcionalidad Valor
Página inicial 0.3
Iniciar session 0.5
Cerrar session 0.2
Crear una cuenta 0.5
Confirmar - email 0.2
Recuperar contraseña 0.2
View keybase.md

Keybase proof

I hereby claim:

  • I am stellamiranda on github.
  • I am stella (https://keybase.io/stella) on keybase.
  • I have a public key ASCIeBQHG94CqMDle_YK1Yu782m2H6hXUP60iWsorLv7awo

To claim this, I am signing this object:

View Fix - Catalina MacOS
gem install mysql2 -v '0.5.2' -- --with-mysql-config=/usr/local/bin/mysql_config --srcdir=/usr/local/include/mysql/ --platform=ruby --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
View obi-wan
Food:
Twice at day.
Obi doesn't eat much some times, that is normal, ideally will eat 1/2 cup of food on the morning, half on the afternoon. But being realistic, he eats less that it, unless he has been at the office running all day.
Pee:
2 or 3 times at day, depending on activity and water drink. If he stays at home, he could be just doing it at morning and evening. If going to the office, he can drink more water based on more activity and needs to be taken out just for pee after lunch.
Poo:
View test.json
{
"Abkhazia": {
"cn_name": "",
"flag": "https://upload.wikimedia.org/wikipedia/commons/2/27/Flag_of_Abkhazia.svg",
"flag_thumb": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/27/Flag_of_Abkhazia.svg/200px-Flag_of_Abkhazia.svg.png"
},
"Afghanistan": {
"cn_name": "",
"flag": "https://upload.wikimedia.org/wikipedia/commons/9/9a/Flag_of_Afghanistan.svg",
"flag_thumb": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Flag_of_Afghanistan.svg/150px-Flag_of_Afghanistan.svg.png"
@stellamiranda
stellamiranda / kth_to_last_node.rb
Created Feb 28, 2018
You have a linked list ↴ and want to find the kth to last node.
View kth_to_last_node.rb
#Write a method kth_to_last_node() that takes an integer kk and the head_node of a singly-linked list, and returns the kkth to last node in the list.
def kth_to_last_node(k, head)
if k < 1
raise ArgumentError, "Impossible to find less than first to last node: #{k}"
end
# STEP 1: get the length of the list
# start at 1, not 0